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/ModelicaServices 4.0.0+maint.om/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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 99.39 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.04/1.04, allocations: 143.3 MB / 434.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003194/0.0003194, allocations: 8 kB / 0.5158 GB, free: 11.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1692, allocations: 83.41 MB / 0.5973 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.3773/0.5466, allocations: 124.9 MB / 0.7192 GB, free: 7.797 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002317/0.5469, allocations: 128.3 kB / 0.7194 GB, free: 7.711 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.009e-05/0.5469, allocations: 0 / 0.7194 GB, free: 7.711 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.547, allocations: 9.844 kB / 0.7194 GB, free: 7.703 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.709e-05/0.5471, allocations: 2.312 kB / 0.7194 GB, free: 7.703 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003953/0.5475, allocations: 88.34 kB / 0.7195 GB, free: 7.656 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.303e-05/0.5475, allocations: 18.53 kB / 0.7195 GB, free: 7.648 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.641e-05/0.5476, allocations: 1.875 kB / 0.7195 GB, free: 7.648 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.231e-05/0.5476, allocations: 17.16 kB / 0.7195 GB, free: 7.641 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.37e-05/0.5477, allocations: 10.17 kB / 0.7195 GB, free: 7.637 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.5477, allocations: 1.188 kB / 0.7195 GB, free: 7.637 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002256/0.5479, allocations: 49.92 kB / 0.7196 GB, free: 7.617 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.713e-05/0.548, allocations: 9.484 kB / 0.7196 GB, free: 7.613 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.459e-05/0.548, allocations: 28.83 kB / 0.7196 GB, free: 7.582 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.5481, allocations: 34.58 kB / 0.7196 GB, free: 7.578 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.5481, allocations: 0 / 0.7196 GB, free: 7.578 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5481, allocations: 0 / 0.7196 GB, free: 7.578 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.5481, allocations: 1 kB / 0.7196 GB, free: 7.578 MB / 0.545 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.0003523/0.5485, allocations: 329.6 kB / 0.7199 GB, free: 7.223 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.5485, allocations: 9.656 kB / 0.72 GB, free: 7.223 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002524/0.5488, allocations: 24.98 kB / 0.72 GB, free: 7.219 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.5489, allocations: 166 kB / 0.7201 GB, free: 7.02 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.836e-05/0.549, allocations: 28.7 kB / 0.7202 GB, free: 6.988 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.549, allocations: 1.156 kB / 0.7202 GB, free: 6.988 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.5492, allocations: 46.16 kB / 0.7202 GB, free: 6.953 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.5492, allocations: 0 / 0.7202 GB, free: 6.953 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.5492, allocations: 1.531 kB / 0.7202 GB, free: 6.953 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.5493, allocations: 6.188 kB / 0.7202 GB, free: 6.953 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.91e-05/0.5493, allocations: 22.22 kB / 0.7202 GB, free: 6.945 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000398/0.5497, allocations: 265 kB / 0.7205 GB, free: 6.664 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.628e-05/0.5498, allocations: 17.34 kB / 0.7205 GB, free: 6.641 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.651e-06/0.5498, allocations: 0 / 0.7205 GB, free: 6.641 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.5498, allocations: 40.47 kB / 0.7205 GB, free: 6.594 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.5498, allocations: 0.9688 kB / 0.7205 GB, free: 6.594 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001299/0.55, allocations: 36.98 kB / 0.7206 GB, free: 6.559 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.55, allocations: 55.36 kB / 0.7206 GB, free: 6.492 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.238e-05/0.5501, allocations: 109.7 kB / 0.7207 GB, free: 6.387 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.5501, allocations: 27.14 kB / 0.7208 GB, free: 6.355 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.385e-05/0.5502, allocations: 90.12 kB / 0.7208 GB, free: 6.266 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.743e-06/0.5502, allocations: 5.344 kB / 0.7209 GB, free: 6.262 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/0.5502, allocations: 128 / 0.7209 GB, free: 6.262 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.5503, allocations: 317.3 kB / 0.7212 GB, free: 5.945 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.529e-05/0.5503, allocations: 3.203 kB / 0.7212 GB, free: 5.945 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.074e-05/0.5504, allocations: 28.88 kB / 0.7212 GB, free: 5.914 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.512e-05/0.5504, allocations: 6.453 kB / 0.7212 GB, free: 5.914 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5504, allocations: 1.312 kB / 0.7212 GB, free: 5.914 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.902e-05/0.5505, allocations: 60.06 kB / 0.7212 GB, free: 5.867 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.5505, allocations: 5.25 kB / 0.7213 GB, free: 5.867 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.5505, allocations: 0.9062 kB / 0.7213 GB, free: 5.867 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.5506, allocations: 1.156 kB / 0.7213 GB, free: 5.867 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.666e-05/0.5506, allocations: 13.81 kB / 0.7213 GB, free: 5.863 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.5506, allocations: 1.719 kB / 0.7213 GB, free: 5.863 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.574e-05/0.5507, allocations: 10.27 kB / 0.7213 GB, free: 5.855 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.5507, allocations: 1.828 kB / 0.7213 GB, free: 5.855 MB / 0.545 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 () * Number of clocked 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 8.384e-05/0.5508, allocations: 112.9 kB / 0.7214 GB, free: 5.738 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.5508, allocations: 2.219 kB / 0.7214 GB, free: 5.738 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.903e-05/0.5509, allocations: 4.969 kB / 0.7214 GB, free: 5.738 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.5509, allocations: 0.75 kB / 0.7214 GB, free: 5.738 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.5509, allocations: 1.719 kB / 0.7214 GB, free: 5.738 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.5509, allocations: 0 / 0.7214 GB, free: 5.738 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002588/0.5511, allocations: 348.7 kB / 0.7217 GB, free: 5.352 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.5512, allocations: 4.5 kB / 0.7217 GB, free: 5.348 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.649e-05/0.5512, allocations: 7.109 kB / 0.7217 GB, free: 5.344 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.5512, allocations: 0 / 0.7217 GB, free: 5.344 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.5512, allocations: 3.938 kB / 0.7217 GB, free: 5.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.5512, allocations: 2.734 kB / 0.7218 GB, free: 5.34 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.5512, allocations: 3.953 kB / 0.7218 GB, free: 5.336 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.07e-05/0.5513, allocations: 52.62 kB / 0.7218 GB, free: 5.273 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.719e-05/0.5513, allocations: 83.06 kB / 0.7219 GB, free: 5.176 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.5514, allocations: 7.391 kB / 0.7219 GB, free: 5.172 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.492e-05/0.5515, allocations: 8.266 kB / 0.7219 GB, free: 5.168 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.651e-05/0.5515, allocations: 5.656 kB / 0.7219 GB, free: 5.164 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.5515, allocations: 0 / 0.7219 GB, free: 5.164 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.163e-05/0.5515, allocations: 82.69 kB / 0.722 GB, free: 5.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5515, allocations: 0 / 0.722 GB, free: 5.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001962/0.5517, allocations: 6.938 kB / 0.722 GB, free: 5.09 MB / 0.545 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 () * Number of clocked 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.0001066/0.5519, allocations: 101.9 kB / 0.7221 GB, free: 5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.115e-05/0.5519, allocations: 17.02 kB / 0.7221 GB, free: 4.992 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5519, allocations: 1.312 kB / 0.7221 GB, free: 4.992 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.52e-06/0.552, allocations: 1.281 kB / 0.7221 GB, free: 4.992 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.5521, allocations: 5.734 kB / 0.7221 GB, free: 4.992 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002465/0.5524, allocations: 120.2 kB / 0.7222 GB, free: 4.883 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.5526, allocations: 0.6788 MB / 0.7229 GB, free: 4.188 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.94e-05/0.5527, allocations: 9.109 kB / 0.7229 GB, free: 4.184 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.996e-05/0.5527, allocations: 9.531 kB / 0.7229 GB, free: 4.176 MB / 0.545 GB Notification: Performance of SimCode: time 2.71e-07/0.5527, allocations: 0 / 0.7229 GB, free: 4.176 MB / 0.545 GB Notification: Performance of Templates: time 0.002422/0.5551, allocations: 474.3 kB / 0.7234 GB, free: 4.137 MB / 0.545 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (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 & ./BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: