Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7934/0.7934, allocations: 127.4 MB / 134.9 MB, free: 3.457 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001428/0.001428, allocations: 166.8 kB / 164.6 MB, free: 11.61 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.916/1.916, allocations: 205.2 MB / 399.5 MB, free: 13.53 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009548/0.0009547, allocations: 89.23 kB / 476.7 MB, free: 1.457 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.294e-05/2.326e-05, allocations: 2.969 kB / 0.5467 GB, free: 95.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1758, allocations: 76.77 MB / 0.6216 GB, free: 42.98 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.9/12.07, allocations: 4.565 GB / 5.187 GB, free: 78.34 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004118/12.07, allocations: 87.16 kB / 5.187 GB, free: 78.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.08244/12.16, allocations: 44.84 MB / 5.231 GB, free: 39.93 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.893e-06/12.16, allocations: 0 / 5.231 GB, free: 39.93 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.805e-06/12.16, allocations: 0 / 5.231 GB, free: 39.93 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003012/12.16, allocations: 338.5 kB / 5.231 GB, free: 39.55 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/12.16, allocations: 8.031 kB / 5.231 GB, free: 39.55 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000206/12.16, allocations: 23.98 kB / 5.231 GB, free: 39.52 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/12.16, allocations: 171 kB / 5.231 GB, free: 39.32 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.809e-05/12.16, allocations: 29.66 kB / 5.231 GB, free: 39.28 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/12.16, allocations: 0 / 5.231 GB, free: 39.28 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.224e-05/12.16, allocations: 19.98 kB / 5.231 GB, free: 39.26 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.656e-05/12.16, allocations: 41.69 kB / 5.231 GB, free: 39.21 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/12.16, allocations: 0 / 5.231 GB, free: 39.21 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/12.16, allocations: 4 kB / 5.231 GB, free: 39.21 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/12.16, allocations: 7.984 kB / 5.231 GB, free: 39.2 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003463/12.16, allocations: 237.4 kB / 5.232 GB, free: 38.93 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 3.67e-05/12.16, allocations: 18.52 kB / 5.232 GB, free: 38.91 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.021e-05/12.16, allocations: 8.922 kB / 5.232 GB, free: 38.89 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.873e-06/12.16, allocations: 0.5625 kB / 5.232 GB, free: 38.89 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/12.16, allocations: 34.56 kB / 5.232 GB, free: 38.85 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/12.16, allocations: 0 / 5.232 GB, free: 38.85 MB / 0.6511 GB Notification: Performance of matching and sorting (n=1): time 0.0001267/12.16, allocations: 33.69 kB / 5.232 GB, free: 38.81 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.953e-05/12.16, allocations: 51.41 kB / 5.232 GB, free: 38.75 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.507e-05/12.16, allocations: 97 kB / 5.232 GB, free: 38.65 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/12.16, allocations: 29.64 kB / 5.232 GB, free: 38.61 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.489e-05/12.16, allocations: 84.05 kB / 5.232 GB, free: 38.53 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.305e-06/12.16, allocations: 7.906 kB / 5.232 GB, free: 38.52 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-06/12.16, allocations: 4.031 kB / 5.232 GB, free: 38.52 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.479e-05/12.16, allocations: 319.2 kB / 5.232 GB, free: 38.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.193e-05/12.16, allocations: 3.938 kB / 5.232 GB, free: 38.19 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.276e-05/12.16, allocations: 22.58 kB / 5.232 GB, free: 38.16 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.917e-05/12.16, allocations: 4 kB / 5.232 GB, free: 38.16 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/12.16, allocations: 7.953 kB / 5.232 GB, free: 38.15 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.993e-05/12.16, allocations: 53.56 kB / 5.232 GB, free: 38.09 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/12.16, allocations: 9.875 kB / 5.232 GB, free: 38.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/12.16, allocations: 0 / 5.232 GB, free: 38.08 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/12.16, allocations: 0 / 5.232 GB, free: 38.08 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.164e-05/12.16, allocations: 7.984 kB / 5.232 GB, free: 38.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/12.16, allocations: 4 kB / 5.232 GB, free: 38.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.646e-05/12.16, allocations: 3.938 kB / 5.232 GB, free: 38.07 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/12.16, allocations: 4 kB / 5.232 GB, free: 38.06 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.517e-05/12.16, allocations: 111 kB / 5.232 GB, free: 37.95 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.173e-05/12.16, allocations: 37.59 kB / 5.233 GB, free: 37.91 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/12.16, allocations: 4 kB / 5.233 GB, free: 37.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.125e-05/12.16, allocations: 3.75 kB / 5.233 GB, free: 37.9 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/12.16, allocations: 3.984 kB / 5.233 GB, free: 37.9 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/12.16, allocations: 0 / 5.233 GB, free: 37.9 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/12.16, allocations: 288 / 5.233 GB, free: 37.9 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/12.16, allocations: 331.2 kB / 5.233 GB, free: 37.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/12.16, allocations: 0 / 5.233 GB, free: 37.53 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.148e-05/12.16, allocations: 0 / 5.233 GB, free: 37.53 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/12.16, allocations: 7.984 kB / 5.233 GB, free: 37.52 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/12.16, allocations: 0 / 5.233 GB, free: 37.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/12.16, allocations: 0 / 5.233 GB, free: 37.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/12.16, allocations: 0 / 5.233 GB, free: 37.52 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.822e-05/12.16, allocations: 61.02 kB / 5.233 GB, free: 37.44 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 2.426e-05/12.16, allocations: 89.17 kB / 5.233 GB, free: 37.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/12.16, allocations: 4 kB / 5.233 GB, free: 37.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.519e-05/12.16, allocations: 0 / 5.233 GB, free: 37.33 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.145e-05/12.16, allocations: 0 / 5.233 GB, free: 37.33 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/12.16, allocations: 4 kB / 5.233 GB, free: 37.33 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 2.839e-05/12.16, allocations: 87.27 kB / 5.233 GB, free: 37.24 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/12.16, allocations: 0 / 5.233 GB, free: 37.24 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002872/12.16, allocations: 28 kB / 5.233 GB, free: 37.21 MB / 0.6511 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 (1): * Single equations (assignments): 1 * 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.0008189/12.16, allocations: 1.141 MB / 5.234 GB, free: 36.05 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.254e-05/12.16, allocations: 15.94 kB / 5.234 GB, free: 36.03 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/12.16, allocations: 7.938 kB / 5.234 GB, free: 36.02 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.699e-06/12.16, allocations: 0 / 5.234 GB, free: 36.02 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/12.16, allocations: 15.92 kB / 5.234 GB, free: 36.01 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002576/12.16, allocations: 86.09 kB / 5.234 GB, free: 35.89 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/12.16, allocations: 0.6768 MB / 5.235 GB, free: 35.18 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.548e-05/12.16, allocations: 12.23 kB / 5.235 GB, free: 35.17 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.761e-05/12.16, allocations: 7.438 kB / 5.235 GB, free: 35.16 MB / 0.6511 GB Notification: Performance of SimCode: time 2.6e-07/12.16, allocations: 0 / 5.235 GB, free: 35.16 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02511/12.19, allocations: 5.381 MB / 5.24 GB, free: 29.79 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/12.19, allocations: 179.9 kB / 5.24 GB, free: 29.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.762/13.95, allocations: 4 kB / 5.24 GB, free: 29.59 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)