Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5109/0.5109, allocations: 90.91 MB / 99.34 MB, free: 2.172 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 221.5 MB / 343.2 MB, free: 1.555 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009795/0.0009799, allocations: 98.03 kB / 415.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.844e-05/1.858e-05, allocations: 4 kB / 494.6 MB, free: 52.28 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1426, allocations: 72.3 MB / 0.5536 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4867/0.6294, allocations: 102.1 MB / 0.6533 GB, free: 7.938 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/0.6297, allocations: 84.25 kB / 0.6534 GB, free: 7.887 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008614/0.6383, allocations: 2.874 MB / 0.6562 GB, free: 5.461 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.6384, allocations: 0 / 0.6562 GB, free: 5.461 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.6384, allocations: 0 / 0.6562 GB, free: 5.461 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003255/0.6387, allocations: 366.3 kB / 0.6565 GB, free: 5.062 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.6388, allocations: 12.03 kB / 0.6566 GB, free: 5.051 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003411/0.6391, allocations: 30.8 kB / 0.6566 GB, free: 5.023 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.6392, allocations: 159.1 kB / 0.6567 GB, free: 4.828 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.6393, allocations: 0 / 0.6567 GB, free: 4.828 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.6393, allocations: 4 kB / 0.6567 GB, free: 4.824 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.058e-05/0.6394, allocations: 18.48 kB / 0.6568 GB, free: 4.812 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.724e-05/0.6395, allocations: 53.59 kB / 0.6568 GB, free: 4.758 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.6395, allocations: 4 kB / 0.6568 GB, free: 4.754 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.6395, allocations: 0 / 0.6568 GB, free: 4.754 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.6395, allocations: 3.953 kB / 0.6568 GB, free: 4.75 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001567/0.6397, allocations: 137.5 kB / 0.657 GB, free: 4.582 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.6399, allocations: 49.55 kB / 0.657 GB, free: 4.531 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.117e-05/0.6399, allocations: 26.81 kB / 0.657 GB, free: 4.508 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.6399, allocations: 0 / 0.657 GB, free: 4.508 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.64, allocations: 37.75 kB / 0.6571 GB, free: 4.465 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.64, allocations: 0 / 0.6571 GB, free: 4.465 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.001551/0.6415, allocations: 419.3 kB / 0.6575 GB, free: 4.043 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.6416, allocations: 55.34 kB / 0.6575 GB, free: 3.977 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.588e-05/0.6416, allocations: 92 kB / 0.6576 GB, free: 3.883 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.6417, allocations: 30.64 kB / 0.6576 GB, free: 3.848 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.042e-05/0.6417, allocations: 84.12 kB / 0.6577 GB, free: 3.762 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.6418, allocations: 18.91 kB / 0.6577 GB, free: 3.746 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.228e-05/0.6418, allocations: 0 / 0.6577 GB, free: 3.746 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.6419, allocations: 322.2 kB / 0.658 GB, free: 3.426 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.598e-05/0.6419, allocations: 22.73 kB / 0.6581 GB, free: 3.41 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.414e-05/0.642, allocations: 30.3 kB / 0.6581 GB, free: 3.391 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.512e-05/0.642, allocations: 34.94 kB / 0.6581 GB, free: 3.367 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.642, allocations: 0 / 0.6581 GB, free: 3.367 MB / 458.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001707/0.6422, allocations: 106.4 kB / 0.6582 GB, free: 3.273 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.6422, allocations: 9.188 kB / 0.6582 GB, free: 3.266 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.6423, allocations: 0 / 0.6582 GB, free: 3.266 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.6423, allocations: 4 kB / 0.6582 GB, free: 3.262 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/0.6425, allocations: 19.97 kB / 0.6583 GB, free: 3.242 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.6425, allocations: 0 / 0.6583 GB, free: 3.242 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.6427, allocations: 11.98 kB / 0.6583 GB, free: 3.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.6427, allocations: 11.8 kB / 0.6583 GB, free: 3.223 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.888e-05/0.6428, allocations: 104.9 kB / 0.6584 GB, free: 3.113 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001643/0.6429, allocations: 102.7 kB / 0.6585 GB, free: 3.023 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.6e-05/0.643, allocations: 4 kB / 0.6585 GB, free: 3.02 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.679e-05/0.643, allocations: 11.91 kB / 0.6585 GB, free: 3.016 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.643, allocations: 4 kB / 0.6585 GB, free: 3.012 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.6431, allocations: 0 / 0.6585 GB, free: 3.012 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.6431, allocations: 3.953 kB / 0.6585 GB, free: 3.008 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.6432, allocations: 163.3 kB / 0.6587 GB, free: 2.816 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.676e-06/0.6432, allocations: 4.125 kB / 0.6587 GB, free: 2.812 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002189/0.6434, allocations: 23.97 kB / 0.6587 GB, free: 2.789 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.6435, allocations: 0 / 0.6587 GB, free: 2.789 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.6435, allocations: 7.984 kB / 0.6587 GB, free: 2.781 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.6435, allocations: 4 kB / 0.6587 GB, free: 2.777 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.6435, allocations: 0 / 0.6587 GB, free: 2.777 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.6438, allocations: 165.5 kB / 0.6588 GB, free: 2.633 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.334e-05/0.6438, allocations: 84.95 kB / 0.6589 GB, free: 2.531 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.6439, allocations: 0 / 0.6589 GB, free: 2.531 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.644, allocations: 12.02 kB / 0.6589 GB, free: 2.52 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.909e-05/0.6441, allocations: 8.062 kB / 0.6589 GB, free: 2.512 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.6441, allocations: 3.984 kB / 0.659 GB, free: 2.508 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.763e-05/0.6441, allocations: 79.28 kB / 0.659 GB, free: 2.43 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6441, allocations: 0 / 0.659 GB, free: 2.43 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002553/0.6444, allocations: 38.17 kB / 0.6591 GB, free: 2.395 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006141/0.645, allocations: 0.7264 MB / 0.6598 GB, free: 1.672 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001446/0.6452, allocations: 70.03 kB / 0.6598 GB, free: 1.625 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6452, allocations: 0 / 0.6598 GB, free: 1.625 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.217e-05/0.6453, allocations: 37.53 kB / 0.6599 GB, free: 1.598 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000148/0.6454, allocations: 4 kB / 0.6599 GB, free: 1.594 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006001/0.646, allocations: 160.9 kB / 0.66 GB, free: 1.406 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.6462, allocations: 0.6846 MB / 0.6607 GB, free: 0.6953 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002399/0.6465, allocations: 29.36 kB / 0.6607 GB, free: 0.668 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.496e-05/0.6466, allocations: 22.59 kB / 0.6607 GB, free: 0.6484 MB / 458.7 MB Notification: Performance of SimCode: time 2.71e-07/0.6466, allocations: 0 / 0.6607 GB, free: 0.6484 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02133/0.6679, allocations: 1.927 MB / 0.6626 GB, free: 14.75 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003411/0.6683, allocations: 199.2 kB / 0.6628 GB, free: 14.55 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.587/2.255, allocations: 4 kB / 0.6628 GB, free: 14.55 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)