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.001013/0.001013, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6824/0.6824, allocations: 90.91 MB / 99.34 MB, free: 2.188 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.584/1.584, allocations: 221.5 MB / 343.2 MB, free: 1.551 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.000954/0.0009539, allocations: 91.95 kB / 415.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.037e-05/2.03e-05, allocations: 6.625 kB / 494.6 MB, free: 52.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1522, allocations: 72.31 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5574/0.7097, allocations: 101.3 MB / 0.6525 GB, free: 8.723 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/0.71, allocations: 76.8 kB / 0.6526 GB, free: 8.684 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002883/0.7129, allocations: 0.9834 MB / 0.6535 GB, free: 7.805 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.713, allocations: 0 / 0.6535 GB, free: 7.805 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.713, allocations: 4 kB / 0.6535 GB, free: 7.801 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.0003891/0.7134, allocations: 346.3 kB / 0.6539 GB, free: 7.422 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.7134, allocations: 12.03 kB / 0.6539 GB, free: 7.41 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.7136, allocations: 7.938 kB / 0.6539 GB, free: 7.402 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.7137, allocations: 167 kB / 0.654 GB, free: 7.199 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.7137, allocations: 0 / 0.654 GB, free: 7.199 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.7137, allocations: 0 / 0.654 GB, free: 7.199 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7e-05/0.7138, allocations: 11.88 kB / 0.6541 GB, free: 7.191 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.587e-05/0.7139, allocations: 37.06 kB / 0.6541 GB, free: 7.152 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.7139, allocations: 0 / 0.6541 GB, free: 7.152 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.7139, allocations: 0 / 0.6541 GB, free: 7.152 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.7139, allocations: 7.953 kB / 0.6541 GB, free: 7.145 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003424/0.7143, allocations: 224.7 kB / 0.6543 GB, free: 6.895 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.747e-05/0.7144, allocations: 25.89 kB / 0.6543 GB, free: 6.863 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.28e-05/0.7144, allocations: 8.859 kB / 0.6543 GB, free: 6.852 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.887e-05/0.7144, allocations: 4.031 kB / 0.6543 GB, free: 6.848 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.7145, allocations: 38.56 kB / 0.6544 GB, free: 6.801 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 2.655e-06/0.7145, allocations: 0 / 0.6544 GB, free: 6.801 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001507/0.7146, allocations: 40.06 kB / 0.6544 GB, free: 6.762 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.7147, allocations: 55.36 kB / 0.6545 GB, free: 6.695 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.435e-05/0.7147, allocations: 92.5 kB / 0.6546 GB, free: 6.602 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.7148, allocations: 25.7 kB / 0.6546 GB, free: 6.57 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.325e-05/0.7148, allocations: 91.97 kB / 0.6547 GB, free: 6.477 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.517e-05/0.7148, allocations: 8.375 kB / 0.6547 GB, free: 6.473 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/0.7149, allocations: 4.031 kB / 0.6547 GB, free: 6.469 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.715, allocations: 310.8 kB / 0.655 GB, free: 6.156 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.758e-05/0.715, allocations: 11.12 kB / 0.655 GB, free: 6.148 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.919e-06/0.715, allocations: 0 / 0.655 GB, free: 6.148 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.963e-05/0.715, allocations: 6.625 kB / 0.655 GB, free: 6.145 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.7151, allocations: 0 / 0.655 GB, free: 6.145 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.676e-05/0.7151, allocations: 44.91 kB / 0.655 GB, free: 6.098 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.7152, allocations: 8 kB / 0.6551 GB, free: 6.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.7152, allocations: 0 / 0.6551 GB, free: 6.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.7152, allocations: 8.031 kB / 0.6551 GB, free: 6.082 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.747e-05/0.7153, allocations: 11.98 kB / 0.6551 GB, free: 6.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.7153, allocations: 0 / 0.6551 GB, free: 6.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.872e-05/0.7154, allocations: 11.95 kB / 0.6551 GB, free: 6.059 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.7154, allocations: 1.312 kB / 0.6551 GB, free: 6.059 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 (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.354e-05/0.7155, allocations: 101 kB / 0.6552 GB, free: 5.953 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.822e-05/0.7155, allocations: 53.06 kB / 0.6552 GB, free: 5.898 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.129e-05/0.7156, allocations: 0 / 0.6552 GB, free: 5.898 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001261/0.7157, allocations: 52.25 kB / 0.6553 GB, free: 5.848 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.7157, allocations: 240 / 0.6553 GB, free: 5.848 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.7157, allocations: 11.88 kB / 0.6553 GB, free: 5.836 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.7157, allocations: 3.984 kB / 0.6553 GB, free: 5.832 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/0.7159, allocations: 133.6 kB / 0.6554 GB, free: 5.668 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.7159, allocations: 0 / 0.6554 GB, free: 5.668 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.508e-05/0.716, allocations: 20.02 kB / 0.6554 GB, free: 5.648 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.716, allocations: 3 kB / 0.6554 GB, free: 5.648 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.716, allocations: 0 / 0.6554 GB, free: 5.648 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.716, allocations: 0 / 0.6554 GB, free: 5.648 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.87e-06/0.716, allocations: 3.938 kB / 0.6554 GB, free: 5.645 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.7162, allocations: 146.7 kB / 0.6556 GB, free: 5.492 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.036e-05/0.7162, allocations: 77.11 kB / 0.6557 GB, free: 5.398 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.7162, allocations: 4 kB / 0.6557 GB, free: 5.395 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.693e-05/0.7163, allocations: 11.98 kB / 0.6557 GB, free: 5.383 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.7164, allocations: 4 kB / 0.6557 GB, free: 5.379 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.7164, allocations: 0 / 0.6557 GB, free: 5.379 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.383e-05/0.7164, allocations: 75.28 kB / 0.6558 GB, free: 5.305 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7164, allocations: 4 kB / 0.6558 GB, free: 5.301 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002002/0.7166, allocations: 4 kB / 0.6558 GB, free: 5.297 MB / 458.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 () * 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.0005454/0.7172, allocations: 0.6797 MB / 0.6564 GB, free: 4.598 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.103e-05/0.7173, allocations: 14.31 kB / 0.6564 GB, free: 4.59 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7173, allocations: 0 / 0.6564 GB, free: 4.59 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.512e-05/0.7173, allocations: 11.12 kB / 0.6564 GB, free: 4.582 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.7176, allocations: 0 / 0.6564 GB, free: 4.582 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004029/0.718, allocations: 88.72 kB / 0.6565 GB, free: 4.461 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.7183, allocations: 0.6846 MB / 0.6572 GB, free: 3.75 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.227e-05/0.7183, allocations: 3.984 kB / 0.6572 GB, free: 3.746 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.295e-05/0.7184, allocations: 7.438 kB / 0.6572 GB, free: 3.738 MB / 458.7 MB Notification: Performance of SimCode: time 2.4e-07/0.7184, allocations: 3.938 kB / 0.6572 GB, free: 3.734 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02195/0.7403, allocations: 0.7755 MB / 0.658 GB, free: 2.98 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002561/0.7407, allocations: 160.4 kB / 0.6581 GB, free: 2.785 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.554/2.295, allocations: 0 / 0.6581 GB, free: 2.785 MB / 458.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)