Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.Examples.SaturationPressureLiquid,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IBPSA_latest_IBPSA_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.001567/0.001566, allocations: 182.8 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5125/0.5125, allocations: 91.97 MB / 108.5 MB, free: 13.06 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 223.1 MB / 354.3 MB, free: 12.22 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009822/0.000982, allocations: 100.3 kB / 427.4 MB, free: 3.93 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003285/0.0003285, allocations: 8 kB / 0.4983 GB, free: 42.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1591, allocations: 72.32 MB / 0.5689 GB, free: 1.82 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4786/0.6377, allocations: 102 MB / 0.6685 GB, free: 2.41 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/0.638, allocations: 79.95 kB / 0.6686 GB, free: 2.332 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003109/0.6412, allocations: 0.9955 MB / 0.6696 GB, free: 1.348 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.6412, allocations: 0 / 0.6696 GB, free: 1.348 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.6412, allocations: 0 / 0.6696 GB, free: 1.348 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004077/0.6416, allocations: 355.8 kB / 0.6699 GB, free: 0.9531 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.6417, allocations: 8.031 kB / 0.6699 GB, free: 0.9453 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.245e-05/0.6417, allocations: 30.56 kB / 0.6699 GB, free: 0.9062 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.6418, allocations: 11.95 kB / 0.6699 GB, free: 0.8945 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.642, allocations: 159.1 kB / 0.6701 GB, free: 0.6992 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.642, allocations: 4 kB / 0.6701 GB, free: 0.6953 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.642, allocations: 4 kB / 0.6701 GB, free: 0.6914 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.6422, allocations: 53.67 kB / 0.6702 GB, free: 0.6328 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.6422, allocations: 3.984 kB / 0.6702 GB, free: 0.6289 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.6422, allocations: 0 / 0.6702 GB, free: 0.6289 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.6423, allocations: 4 kB / 0.6702 GB, free: 0.625 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001797/0.6424, allocations: 46 kB / 0.6702 GB, free: 0.582 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004526/0.6429, allocations: 256.8 kB / 0.6705 GB, free: 288 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.6431, allocations: 42.62 kB / 0.6705 GB, free: 236 kB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.6431, allocations: 4 kB / 0.6705 GB, free: 232 kB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.6431, allocations: 30.56 kB / 0.6705 GB, free: 192 kB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.6431, allocations: 0 / 0.6705 GB, free: 192 kB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004087/0.6435, allocations: 105.5 kB / 0.6706 GB, free: 80 kB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/0.6436, allocations: 55.34 kB / 0.6707 GB, free: 12 kB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.916e-05/0.6437, allocations: 97.12 kB / 0.6708 GB, free: 15.91 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.6438, allocations: 29.83 kB / 0.6708 GB, free: 15.88 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.275e-05/0.6438, allocations: 84.14 kB / 0.6709 GB, free: 15.79 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.6439, allocations: 3.906 kB / 0.6709 GB, free: 15.79 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.6439, allocations: 0 / 0.6709 GB, free: 15.79 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.6441, allocations: 310.8 kB / 0.6712 GB, free: 15.47 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.396e-05/0.6442, allocations: 23.98 kB / 0.6712 GB, free: 15.45 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.086e-05/0.6443, allocations: 23.97 kB / 0.6712 GB, free: 15.43 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.812e-05/0.6444, allocations: 23.98 kB / 0.6713 GB, free: 15.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.6444, allocations: 0 / 0.6713 GB, free: 15.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002327/0.6446, allocations: 81.66 kB / 0.6713 GB, free: 15.32 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.6446, allocations: 7.938 kB / 0.6713 GB, free: 15.31 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.6446, allocations: 4 kB / 0.6713 GB, free: 15.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.6447, allocations: 4.031 kB / 0.6713 GB, free: 15.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.6448, allocations: 11.98 kB / 0.6714 GB, free: 15.29 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.6448, allocations: 3.953 kB / 0.6714 GB, free: 15.29 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.791e-05/0.6449, allocations: 12.03 kB / 0.6714 GB, free: 15.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.6449, allocations: 0 / 0.6714 GB, free: 15.27 MB / 474.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 () * Number of clocked 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 9.541e-05/0.645, allocations: 109.8 kB / 0.6715 GB, free: 15.16 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.645, allocations: 7.984 kB / 0.6715 GB, free: 15.15 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002893/0.6453, allocations: 84.78 kB / 0.6716 GB, free: 15.06 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.6453, allocations: 0 / 0.6716 GB, free: 15.06 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.6453, allocations: 7.875 kB / 0.6716 GB, free: 15.06 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.6454, allocations: 3.953 kB / 0.6716 GB, free: 15.05 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.6456, allocations: 165.6 kB / 0.6717 GB, free: 14.84 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.6456, allocations: 0 / 0.6717 GB, free: 14.84 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.375e-05/0.6457, allocations: 11.98 kB / 0.6717 GB, free: 14.83 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.6457, allocations: 4 kB / 0.6717 GB, free: 14.83 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.6457, allocations: 0 / 0.6717 GB, free: 14.83 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.6457, allocations: 0 / 0.6717 GB, free: 14.83 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.6457, allocations: 4 kB / 0.6718 GB, free: 14.82 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.646, allocations: 175.5 kB / 0.6719 GB, free: 14.64 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.208e-05/0.6461, allocations: 81.11 kB / 0.672 GB, free: 14.54 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.6461, allocations: 0 / 0.672 GB, free: 14.54 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.592e-05/0.6462, allocations: 7.984 kB / 0.672 GB, free: 14.53 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/0.6462, allocations: 4 kB / 0.672 GB, free: 14.53 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.6462, allocations: 0 / 0.672 GB, free: 14.53 MB / 474.7 MB Notification: Performance of sorting global known variables: time 5.438e-05/0.6463, allocations: 87.27 kB / 0.6721 GB, free: 14.44 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6463, allocations: 3.938 kB / 0.6721 GB, free: 14.44 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002069/0.6465, allocations: 8 kB / 0.6721 GB, free: 14.43 MB / 474.7 MB 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 () * Number of clocked 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.0006766/0.6472, allocations: 0.7085 MB / 0.6728 GB, free: 13.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002252/0.6474, allocations: 51.95 kB / 0.6728 GB, free: 13.64 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.6474, allocations: 0 / 0.6728 GB, free: 13.64 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 9.115e-05/0.6475, allocations: 27.98 kB / 0.6729 GB, free: 13.62 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.6478, allocations: 10.73 kB / 0.6729 GB, free: 13.61 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004695/0.6482, allocations: 162.7 kB / 0.673 GB, free: 13.41 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.6486, allocations: 0.6809 MB / 0.6737 GB, free: 12.7 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 3.583e-05/0.6486, allocations: 7.984 kB / 0.6737 GB, free: 12.69 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.078e-05/0.6487, allocations: 7.438 kB / 0.6737 GB, free: 12.68 MB / 474.7 MB Notification: Performance of SimCode: time 3.3e-07/0.6487, allocations: 0 / 0.6737 GB, free: 12.68 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01179/0.6605, allocations: 1.066 MB / 0.6748 GB, free: 11.77 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/0.6607, allocations: 198.3 kB / 0.6749 GB, free: 11.52 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.598/2.258, allocations: 6.953 kB / 0.675 GB, free: 11.52 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)