Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",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.00103/0.00103, allocations: 173.7 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7838/0.7838, allocations: 133.6 MB / 141.6 MB, free: 2.875 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 221.5 MB / 395.5 MB, free: 10.77 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008494/0.0008494, allocations: 96.16 kB / 478.2 MB, free: 1.281 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.66e-05/2.664e-05, allocations: 4 kB / 0.5536 GB, free: 8.914 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5086/0.5087, allocations: 82.3 MB / 0.6339 GB, free: 40.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.154/0.6628, allocations: 111.6 MB / 0.7429 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/0.6631, allocations: 87.94 kB / 0.743 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.006013/0.6691, allocations: 1.801 MB / 0.7447 GB, free: 9.184 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.156e-06/0.6691, allocations: 0 / 0.7447 GB, free: 9.184 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.6692, allocations: 3.938 kB / 0.7447 GB, free: 9.18 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003281/0.6695, allocations: 342.5 kB / 0.7451 GB, free: 8.801 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.6695, allocations: 8.031 kB / 0.7451 GB, free: 8.793 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000363/0.6699, allocations: 27.97 kB / 0.7451 GB, free: 8.766 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.6701, allocations: 170.9 kB / 0.7453 GB, free: 8.559 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.6701, allocations: 0 / 0.7453 GB, free: 8.559 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.6701, allocations: 0 / 0.7453 GB, free: 8.559 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.221e-05/0.6702, allocations: 12 kB / 0.7453 GB, free: 8.547 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.949e-05/0.6703, allocations: 41.67 kB / 0.7453 GB, free: 8.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-06/0.6703, allocations: 0 / 0.7453 GB, free: 8.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.6703, allocations: 3.938 kB / 0.7453 GB, free: 8.496 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.6703, allocations: 4 kB / 0.7453 GB, free: 8.492 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001748/0.6705, allocations: 138.2 kB / 0.7454 GB, free: 8.32 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.062e-05/0.6706, allocations: 30.59 kB / 0.7455 GB, free: 8.281 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.113e-05/0.6706, allocations: 12.92 kB / 0.7455 GB, free: 8.266 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.6706, allocations: 4 kB / 0.7455 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.6707, allocations: 30.56 kB / 0.7455 GB, free: 8.223 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.6707, allocations: 4 kB / 0.7455 GB, free: 8.219 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001655/0.6709, allocations: 49.67 kB / 0.7456 GB, free: 8.164 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.6709, allocations: 51.41 kB / 0.7456 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.086e-05/0.671, allocations: 100.9 kB / 0.7457 GB, free: 7.996 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.671, allocations: 25.7 kB / 0.7457 GB, free: 7.965 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.071e-05/0.671, allocations: 80.14 kB / 0.7458 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.6711, allocations: 7.844 kB / 0.7458 GB, free: 7.875 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.6711, allocations: 0 / 0.7458 GB, free: 7.875 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.6712, allocations: 318.9 kB / 0.7461 GB, free: 7.555 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.899e-05/0.6712, allocations: 8 kB / 0.7461 GB, free: 7.547 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.649e-05/0.6712, allocations: 4 kB / 0.7461 GB, free: 7.543 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.494e-05/0.6713, allocations: 15.92 kB / 0.7462 GB, free: 7.527 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.6713, allocations: 0 / 0.7462 GB, free: 7.527 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.177e-05/0.6714, allocations: 53.64 kB / 0.7462 GB, free: 7.469 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.6714, allocations: 5.875 kB / 0.7462 GB, free: 7.465 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.6714, allocations: 0 / 0.7462 GB, free: 7.465 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.6714, allocations: 0 / 0.7462 GB, free: 7.465 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.6715, allocations: 12.08 kB / 0.7462 GB, free: 7.453 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.6715, allocations: 4 kB / 0.7462 GB, free: 7.449 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.383e-05/0.6716, allocations: 3.938 kB / 0.7462 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.6716, allocations: 0 / 0.7462 GB, free: 7.445 MB / 0.5261 GB 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 (2): * Single equations (assignments): 2 * 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.611e-05/0.6717, allocations: 112.9 kB / 0.7463 GB, free: 7.328 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.822e-05/0.6718, allocations: 53.64 kB / 0.7464 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.644e-06/0.6718, allocations: 0 / 0.7464 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.291e-05/0.6718, allocations: 11.78 kB / 0.7464 GB, free: 7.262 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.6718, allocations: 4 kB / 0.7464 GB, free: 7.258 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.6719, allocations: 0 / 0.7464 GB, free: 7.258 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.6719, allocations: 0 / 0.7464 GB, free: 7.258 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.877e-05/0.672, allocations: 138.1 kB / 0.7465 GB, free: 7.086 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.672, allocations: 3.984 kB / 0.7465 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.108e-05/0.6721, allocations: 4 kB / 0.7465 GB, free: 7.078 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.6721, allocations: 0 / 0.7465 GB, free: 7.078 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.6721, allocations: 3.984 kB / 0.7465 GB, free: 7.074 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.6721, allocations: 0 / 0.7465 GB, free: 7.074 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.6721, allocations: 8 kB / 0.7466 GB, free: 7.066 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.6722, allocations: 73.06 kB / 0.7466 GB, free: 6.977 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.551e-05/0.6723, allocations: 85.05 kB / 0.7467 GB, free: 6.875 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.6723, allocations: 4 kB / 0.7467 GB, free: 6.871 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.778e-05/0.6724, allocations: 0 / 0.7467 GB, free: 6.871 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.519e-05/0.6724, allocations: 3.984 kB / 0.7467 GB, free: 6.867 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.6724, allocations: 8.031 kB / 0.7467 GB, free: 6.859 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.905e-05/0.6724, allocations: 79.28 kB / 0.7468 GB, free: 6.781 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6724, allocations: 0 / 0.7468 GB, free: 6.781 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001987/0.6726, allocations: 12 kB / 0.7468 GB, free: 6.77 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0004407/0.6731, allocations: 0.6319 MB / 0.7474 GB, free: 6.105 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8.743e-05/0.6732, allocations: 27.92 kB / 0.7475 GB, free: 6.078 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.6732, allocations: 3.938 kB / 0.7475 GB, free: 6.074 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.955e-05/0.6732, allocations: 4 kB / 0.7475 GB, free: 6.07 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.6734, allocations: 8 kB / 0.7475 GB, free: 6.062 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003247/0.6737, allocations: 93.62 kB / 0.7476 GB, free: 5.934 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/0.6739, allocations: 0.6768 MB / 0.7482 GB, free: 5.23 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 8.721e-05/0.674, allocations: 16.06 kB / 0.7482 GB, free: 5.215 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.919e-05/0.6741, allocations: 11.42 kB / 0.7482 GB, free: 5.203 MB / 0.5261 GB Notification: Performance of SimCode: time 2.51e-07/0.6741, allocations: 0 / 0.7482 GB, free: 5.203 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01825/0.6923, allocations: 1.04 MB / 0.7493 GB, free: 4.176 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002021/0.6926, allocations: 156.1 kB / 0.7494 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.439/2.132, allocations: 1.094 kB / 0.7494 GB, free: 3.984 MB / 0.5261 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)