Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.Examples.SaturationPressureLiquid,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.001859/0.001859, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7377/0.7377, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 221.3 MB / 400.4 MB, free: 5.82 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 97.03 kB / 483.3 MB, free: 5.844 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.375e-05/4.387e-05, allocations: 3.062 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1894, allocations: 82.3 MB / 0.6405 GB, free: 7.742 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7136/0.903, allocations: 111.7 MB / 0.7496 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/0.9033, allocations: 69.56 kB / 0.7497 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.003612/0.907, allocations: 0.9882 MB / 0.7506 GB, free: 27.72 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.094e-06/0.907, allocations: 0 / 0.7506 GB, free: 27.72 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.907, allocations: 0 / 0.7506 GB, free: 27.72 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003925/0.9074, allocations: 346.8 kB / 0.7509 GB, free: 27.37 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.9075, allocations: 12.55 kB / 0.751 GB, free: 27.37 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.404e-05/0.9075, allocations: 34.5 kB / 0.751 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.9076, allocations: 10.69 kB / 0.751 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.9078, allocations: 167 kB / 0.7512 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.9078, allocations: 0 / 0.7512 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.9078, allocations: 0 / 0.7512 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.9079, allocations: 39.69 kB / 0.7512 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.908, allocations: 0 / 0.7512 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.908, allocations: 7.562 kB / 0.7512 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.908, allocations: 1.859 kB / 0.7512 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.583e-05/0.9081, allocations: 14.3 kB / 0.7512 GB, free: 27.08 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004194/0.9085, allocations: 246.1 kB / 0.7515 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.511e-05/0.9086, allocations: 28.27 kB / 0.7515 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.868e-05/0.9086, allocations: 12.48 kB / 0.7515 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.9086, allocations: 4 kB / 0.7515 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.9087, allocations: 30.56 kB / 0.7515 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/0.9087, allocations: 0 / 0.7515 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001765/0.9088, allocations: 48.05 kB / 0.7516 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.9089, allocations: 51.41 kB / 0.7516 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.08e-05/0.909, allocations: 88.88 kB / 0.7517 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.909, allocations: 29.58 kB / 0.7517 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.342e-05/0.9091, allocations: 88.11 kB / 0.7518 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.9091, allocations: 10.38 kB / 0.7518 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-06/0.9091, allocations: 0 / 0.7518 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.9092, allocations: 318.1 kB / 0.7521 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.28e-05/0.9093, allocations: 3.844 kB / 0.7521 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.79e-05/0.9094, allocations: 10.88 kB / 0.7521 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.399e-05/0.9094, allocations: 0 / 0.7521 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.9094, allocations: 0 / 0.7521 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.404e-05/0.9095, allocations: 54.95 kB / 0.7522 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.9095, allocations: 3.844 kB / 0.7522 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.9095, allocations: 3.844 kB / 0.7522 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.9095, allocations: 0 / 0.7522 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.9097, allocations: 10.45 kB / 0.7522 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.9097, allocations: 0 / 0.7522 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.589e-05/0.9098, allocations: 13.48 kB / 0.7522 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.647e-06/0.9098, allocations: 2.672 kB / 0.7522 GB, free: 26.07 MB / 0.5105 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.91e-05/0.9099, allocations: 109 kB / 0.7523 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/0.9099, allocations: 3.844 kB / 0.7523 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.9101, allocations: 52.58 kB / 0.7524 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.9101, allocations: 3.844 kB / 0.7524 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.9101, allocations: 0 / 0.7524 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.9101, allocations: 0 / 0.7524 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.9103, allocations: 167.7 kB / 0.7526 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.9103, allocations: 0 / 0.7526 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.904e-05/0.9104, allocations: 22.08 kB / 0.7526 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.9104, allocations: 0 / 0.7526 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.9104, allocations: 240 / 0.7526 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.9104, allocations: 2.812 kB / 0.7526 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.9104, allocations: 0 / 0.7526 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.9106, allocations: 147.9 kB / 0.7527 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.116e-05/0.9106, allocations: 81.02 kB / 0.7528 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.9106, allocations: 4 kB / 0.7528 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.874e-05/0.9107, allocations: 11.33 kB / 0.7528 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.9108, allocations: 2.672 kB / 0.7528 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.9108, allocations: 3.781 kB / 0.7528 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.308e-05/0.9108, allocations: 86.44 kB / 0.7529 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9108, allocations: 0 / 0.7529 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002185/0.9111, allocations: 3.844 kB / 0.7529 GB, free: 25.4 MB / 0.5105 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 (3): * Single equations (assignments): 3 * 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.0004333/0.9115, allocations: 0.6762 MB / 0.7536 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.339e-05/0.9116, allocations: 13.73 kB / 0.7536 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.9116, allocations: 0 / 0.7536 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.586e-05/0.9116, allocations: 19.25 kB / 0.7536 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.9118, allocations: 3.75 kB / 0.7536 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003117/0.9121, allocations: 94.69 kB / 0.7537 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.9124, allocations: 0.6817 MB / 0.7544 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.251e-05/0.9124, allocations: 3.844 kB / 0.7544 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.565e-05/0.9124, allocations: 7.438 kB / 0.7544 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of SimCode: time 3.31e-07/0.9125, allocations: 0 / 0.7544 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01111/0.9236, allocations: 1.089 MB / 0.7554 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000151/0.9238, allocations: 167.1 kB / 0.7556 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.582/2.505, allocations: 2.531 kB / 0.7556 GB, free: 23.55 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)