Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8727/0.8727, allocations: 141.8 MB / 149.3 MB, free: 9.207 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00175/0.00175, allocations: 192.6 kB / 182.2 MB, free: 9.434 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.617/1.617, allocations: 221.5 MB / 436.4 MB, free: 13.3 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.001106/0.001106, allocations: 109.5 kB / 0.5074 GB, free: 10.13 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001878/0.001878, allocations: 277.5 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.98e-05/1.982e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4824/0.4824, allocations: 82.78 MB / 0.7575 GB, free: 31.96 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1485/0.631, allocations: 108.4 MB / 0.8633 GB, free: 3.469 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/0.6313, allocations: 79.95 kB / 0.8634 GB, free: 3.391 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002906/0.6342, allocations: 0.984 MB / 0.8643 GB, free: 2.41 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.704e-06/0.6342, allocations: 0 / 0.8643 GB, free: 2.41 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.6342, allocations: 0 / 0.8643 GB, free: 2.41 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003579/0.6346, allocations: 350.5 kB / 0.8647 GB, free: 2.023 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.6347, allocations: 8.031 kB / 0.8647 GB, free: 2.016 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.6348, allocations: 4 kB / 0.8647 GB, free: 2.012 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.6349, allocations: 163.1 kB / 0.8648 GB, free: 1.812 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.6349, allocations: 3.953 kB / 0.8648 GB, free: 1.809 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.6349, allocations: 4 kB / 0.8648 GB, free: 1.805 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.876e-05/0.635, allocations: 8 kB / 0.8648 GB, free: 1.797 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.692e-05/0.6351, allocations: 37.62 kB / 0.8649 GB, free: 1.754 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.6351, allocations: 0 / 0.8649 GB, free: 1.754 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.6351, allocations: 4 kB / 0.8649 GB, free: 1.75 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.6351, allocations: 3.938 kB / 0.8649 GB, free: 1.746 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003301/0.6355, allocations: 233.4 kB / 0.8651 GB, free: 1.48 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.736e-05/0.6355, allocations: 26.56 kB / 0.8651 GB, free: 1.445 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.571e-05/0.6356, allocations: 12.92 kB / 0.8651 GB, free: 1.43 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.6356, allocations: 0 / 0.8651 GB, free: 1.43 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.6356, allocations: 38.56 kB / 0.8652 GB, free: 1.383 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.6356, allocations: 3.938 kB / 0.8652 GB, free: 1.379 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.000147/0.6358, allocations: 37.69 kB / 0.8652 GB, free: 1.336 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.6358, allocations: 55.41 kB / 0.8653 GB, free: 1.27 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.229e-05/0.6359, allocations: 89 kB / 0.8654 GB, free: 1.176 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.6359, allocations: 29.7 kB / 0.8654 GB, free: 1.141 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.388e-05/0.636, allocations: 84.08 kB / 0.8655 GB, free: 1.055 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.636, allocations: 7.906 kB / 0.8655 GB, free: 1.047 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.636, allocations: 4.031 kB / 0.8655 GB, free: 1.043 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.6361, allocations: 314.8 kB / 0.8658 GB, free: 0.7266 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.506e-05/0.6362, allocations: 4 kB / 0.8658 GB, free: 0.7227 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.295e-05/0.6362, allocations: 8 kB / 0.8658 GB, free: 0.7148 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.652e-05/0.6362, allocations: 0 / 0.8658 GB, free: 0.7148 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6362, allocations: 4 kB / 0.8658 GB, free: 0.7109 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.248e-05/0.6363, allocations: 45.59 kB / 0.8658 GB, free: 0.6602 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.6363, allocations: 4 kB / 0.8658 GB, free: 0.6562 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.6363, allocations: 4.094 kB / 0.8658 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.6363, allocations: 3.938 kB / 0.8658 GB, free: 0.6484 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.311e-05/0.6364, allocations: 15.98 kB / 0.8659 GB, free: 0.6328 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.6364, allocations: 0 / 0.8659 GB, free: 0.6328 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.35e-05/0.6365, allocations: 7.984 kB / 0.8659 GB, free: 0.625 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.6365, allocations: 0 / 0.8659 GB, free: 0.625 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 6.592e-05/0.6366, allocations: 105 kB / 0.866 GB, free: 0.5156 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.169e-05/0.6367, allocations: 53.55 kB / 0.866 GB, free: 468 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.89e-05/0.6367, allocations: 0 / 0.866 GB, free: 468 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.6368, allocations: 57.38 kB / 0.8661 GB, free: 408 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.6368, allocations: 0 / 0.8661 GB, free: 408 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.6368, allocations: 0 / 0.8661 GB, free: 408 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.6368, allocations: 0 / 0.8661 GB, free: 408 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.637, allocations: 138.2 kB / 0.8662 GB, free: 232 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.637, allocations: 3.953 kB / 0.8662 GB, free: 228 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.079e-05/0.6371, allocations: 12.03 kB / 0.8662 GB, free: 216 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.6371, allocations: 0 / 0.8662 GB, free: 216 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.6371, allocations: 4 kB / 0.8662 GB, free: 212 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.6371, allocations: 0 / 0.8662 GB, free: 212 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.6371, allocations: 7.984 kB / 0.8662 GB, free: 204 kB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.6372, allocations: 131.6 kB / 0.8664 GB, free: 56 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.61e-05/0.6373, allocations: 92.89 kB / 0.8664 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.6373, allocations: 3.938 kB / 0.8664 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.182e-05/0.6374, allocations: 12 kB / 0.8665 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.6375, allocations: 3.984 kB / 0.8665 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.6375, allocations: 0 / 0.8665 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.518e-05/0.6375, allocations: 83.28 kB / 0.8665 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6375, allocations: 0 / 0.8665 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001936/0.6377, allocations: 4 kB / 0.8665 GB, free: 15.84 MB / 0.5417 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.0003536/0.6381, allocations: 0.6739 MB / 0.8672 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.09e-05/0.6382, allocations: 19.97 kB / 0.8672 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6382, allocations: 0 / 0.8672 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.411e-05/0.6382, allocations: 15.94 kB / 0.8672 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/0.6384, allocations: 1.031 kB / 0.8672 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003243/0.6387, allocations: 95.42 kB / 0.8673 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.6389, allocations: 0.6807 MB / 0.868 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.194e-05/0.639, allocations: 4 kB / 0.868 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.036e-05/0.639, allocations: 11.44 kB / 0.868 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of SimCode: time 2.31e-07/0.639, allocations: 0 / 0.868 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01823/0.6573, allocations: 0.7727 MB / 0.8688 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/0.6576, allocations: 176.2 kB / 0.8689 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.56/2.218, allocations: 0 / 0.8689 GB, free: 13.29 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)