Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.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.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",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.001022/0.001022, 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.5015/0.5015, allocations: 90.91 MB / 99.34 MB, free: 2.184 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.532/1.532, allocations: 221.5 MB / 343.2 MB, free: 1.574 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.0009123/0.0009123, allocations: 95.88 kB / 415.9 MB, free: 11.13 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.966e-05/1.969e-05, allocations: 0 / 494.6 MB, free: 52.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1569, allocations: 72.31 MB / 0.5536 GB, free: 12.22 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.195/1.352, allocations: 340.7 MB / 0.8863 GB, free: 159.7 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/1.352, allocations: 67.97 kB / 0.8864 GB, free: 159.6 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02381/1.376, allocations: 13.21 MB / 0.8993 GB, free: 146.3 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.342e-06/1.376, allocations: 4 kB / 0.8993 GB, free: 146.3 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.351e-06/1.376, allocations: 0 / 0.8993 GB, free: 146.3 MB / 0.5886 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.0002501/1.376, allocations: 331.1 kB / 0.8996 GB, free: 146 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/1.376, allocations: 8.031 kB / 0.8996 GB, free: 146 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.417e-05/1.377, allocations: 7.906 kB / 0.8996 GB, free: 145.9 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.504e-05/1.377, allocations: 159.1 kB / 0.8998 GB, free: 145.8 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.636e-05/1.377, allocations: 25.7 kB / 0.8998 GB, free: 145.7 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/1.377, allocations: 4 kB / 0.8998 GB, free: 145.7 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.822e-05/1.377, allocations: 19.98 kB / 0.8998 GB, free: 145.7 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.323e-05/1.377, allocations: 37.62 kB / 0.8998 GB, free: 145.7 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/1.377, allocations: 3.984 kB / 0.8998 GB, free: 145.6 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/1.377, allocations: 7.891 kB / 0.8999 GB, free: 145.6 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/1.377, allocations: 4 kB / 0.8999 GB, free: 145.6 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003679/1.377, allocations: 310.6 kB / 0.9002 GB, free: 145.3 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.293e-05/1.377, allocations: 18.58 kB / 0.9002 GB, free: 145.2 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.519e-05/1.377, allocations: 8.859 kB / 0.9002 GB, free: 145.2 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.803e-05/1.377, allocations: 85.17 kB / 0.9003 GB, free: 145.1 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/1.377, allocations: 34.56 kB / 0.9003 GB, free: 145.1 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.983e-06/1.378, allocations: 4 kB / 0.9003 GB, free: 145.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001833/1.378, allocations: 41.58 kB / 0.9003 GB, free: 145 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.828e-05/1.378, allocations: 51.41 kB / 0.9004 GB, free: 145 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.145e-05/1.378, allocations: 96.94 kB / 0.9005 GB, free: 144.9 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/1.378, allocations: 29.73 kB / 0.9005 GB, free: 144.8 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.164e-05/1.378, allocations: 92.03 kB / 0.9006 GB, free: 144.8 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.98e-06/1.378, allocations: 3.906 kB / 0.9006 GB, free: 144.7 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/1.378, allocations: 0 / 0.9006 GB, free: 144.7 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.473e-05/1.378, allocations: 310.8 kB / 0.9009 GB, free: 144.4 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.258e-05/1.378, allocations: 8 kB / 0.9009 GB, free: 144.4 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.835e-05/1.378, allocations: 13.72 kB / 0.9009 GB, free: 144.4 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.146e-05/1.378, allocations: 11.98 kB / 0.9009 GB, free: 144.4 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.378, allocations: 0 / 0.9009 GB, free: 144.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.981e-05/1.378, allocations: 53.62 kB / 0.901 GB, free: 144.3 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/1.378, allocations: 4 kB / 0.901 GB, free: 144.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/1.378, allocations: 0 / 0.901 GB, free: 144.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/1.378, allocations: 0 / 0.901 GB, free: 144.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.824e-05/1.378, allocations: 7.953 kB / 0.901 GB, free: 144.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/1.378, allocations: 4 kB / 0.901 GB, free: 144.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/1.378, allocations: 0 / 0.901 GB, free: 144.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/1.378, allocations: 4.062 kB / 0.901 GB, free: 144.3 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 5.483e-05/1.378, allocations: 105 kB / 0.9011 GB, free: 144.2 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.003e-05/1.378, allocations: 37.62 kB / 0.9011 GB, free: 144.2 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/1.378, allocations: 4 kB / 0.9011 GB, free: 144.2 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.209e-05/1.379, allocations: 125.4 kB / 0.9013 GB, free: 144 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.702e-05/1.379, allocations: 180.3 kB / 0.9014 GB, free: 143.8 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-05/1.379, allocations: 184.2 kB / 0.9016 GB, free: 143.7 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.887e-05/1.379, allocations: 176.3 kB / 0.9018 GB, free: 143.5 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/1.379, allocations: 385.7 kB / 0.9021 GB, free: 143.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.915e-05/1.379, allocations: 101 kB / 0.9022 GB, free: 142.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.579e-05/1.379, allocations: 104.9 kB / 0.9023 GB, free: 142.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.884e-05/1.379, allocations: 192.2 kB / 0.9025 GB, free: 142.6 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.911e-05/1.379, allocations: 180.2 kB / 0.9027 GB, free: 142.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-05/1.379, allocations: 176.3 kB / 0.9029 GB, free: 142.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.011e-05/1.379, allocations: 184.2 kB / 0.903 GB, free: 142.1 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.602e-05/1.379, allocations: 307.9 kB / 0.9033 GB, free: 141.8 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.092e-05/1.379, allocations: 190 kB / 0.9035 GB, free: 141.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.487e-05/1.379, allocations: 176.3 kB / 0.9037 GB, free: 141.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/1.379, allocations: 109 kB / 0.9038 GB, free: 141.3 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/1.379, allocations: 188.1 kB / 0.904 GB, free: 141.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/1.379, allocations: 101 kB / 0.9041 GB, free: 141 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.996e-05/1.379, allocations: 91.28 kB / 0.9041 GB, free: 140.9 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.2e-07/1.379, allocations: 0 / 0.9041 GB, free: 140.9 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002601/1.38, allocations: 19.94 kB / 0.9042 GB, free: 140.9 MB / 0.5886 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 (0): * Single equations (assignments): 0 * 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.0003233/1.38, allocations: 0.8381 MB / 0.905 GB, free: 140 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.725e-05/1.38, allocations: 15.92 kB / 0.905 GB, free: 140 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/1.38, allocations: 0 / 0.905 GB, free: 140 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/1.38, allocations: 0 / 0.905 GB, free: 140 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/1.38, allocations: 0.5303 MB / 0.9055 GB, free: 139.4 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002886/1.381, allocations: 160.9 kB / 0.9057 GB, free: 139.2 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/1.381, allocations: 0.6806 MB / 0.9063 GB, free: 138.5 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.535e-05/1.381, allocations: 5.312 kB / 0.9063 GB, free: 138.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.774e-05/1.381, allocations: 15.44 kB / 0.9064 GB, free: 138.5 MB / 0.5886 GB Notification: Performance of SimCode: time 1.222e-06/1.381, allocations: 0 / 0.9064 GB, free: 138.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0229/1.404, allocations: 1.122 MB / 0.9074 GB, free: 137.4 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002285/1.404, allocations: 143.5 kB / 0.9076 GB, free: 137.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.512/2.916, allocations: 0 / 0.9076 GB, free: 137.2 MB / 0.5886 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)