Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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: "" <> buildModelFMU(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 104.2 kB / 16.27 MB, free: 6.41 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.001141/0.001141, allocations: 186.7 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.236/1.236, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8129/0.8129, allocations: 122.9 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 67.89 kB / 0.4912 GB, free: 7.367 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3004, allocations: 77.93 MB / 0.5673 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1418/0.4422, allocations: 147.8 MB / 0.7116 GB, free: 6.496 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001427/0.4424, allocations: 55.86 kB / 0.7117 GB, free: 6.441 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.755e-05/0.4424, allocations: 0 / 0.7117 GB, free: 6.441 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.687e-05/0.4425, allocations: 7.938 kB / 0.7117 GB, free: 6.434 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.195e-05/0.4427, allocations: 11.91 kB / 0.7117 GB, free: 6.422 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004654/0.4431, allocations: 109.2 kB / 0.7118 GB, free: 6.32 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.182e-05/0.4432, allocations: 39.84 kB / 0.7119 GB, free: 6.281 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.738e-05/0.4433, allocations: 0 / 0.7119 GB, free: 6.281 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.36e-05/0.4433, allocations: 19.92 kB / 0.7119 GB, free: 6.262 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.229e-05/0.4434, allocations: 11.98 kB / 0.7119 GB, free: 6.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.4434, allocations: 4 kB / 0.7119 GB, free: 6.246 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002728/0.4437, allocations: 79.73 kB / 0.712 GB, free: 6.168 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.576e-05/0.4438, allocations: 15.97 kB / 0.712 GB, free: 6.152 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.246e-05/0.4438, allocations: 15.92 kB / 0.712 GB, free: 6.137 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.444, allocations: 70.05 kB / 0.7121 GB, free: 6.07 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.444, allocations: 0 / 0.7121 GB, free: 6.07 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.262e-06/0.444, allocations: 3.938 kB / 0.7121 GB, free: 6.066 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.814e-06/0.444, allocations: 0 / 0.7121 GB, free: 6.066 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.0003634/0.4444, allocations: 347.4 kB / 0.7124 GB, free: 5.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.4444, allocations: 12.62 kB / 0.7124 GB, free: 5.668 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.305e-05/0.4444, allocations: 30.75 kB / 0.7124 GB, free: 5.629 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002249/0.4447, allocations: 16.92 kB / 0.7125 GB, free: 5.613 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.4448, allocations: 172.1 kB / 0.7126 GB, free: 5.406 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.436e-05/0.4449, allocations: 25.7 kB / 0.7126 GB, free: 5.375 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/0.4449, allocations: 0 / 0.7126 GB, free: 5.375 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.445, allocations: 49.67 kB / 0.7127 GB, free: 5.32 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.445, allocations: 4 kB / 0.7127 GB, free: 5.316 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.445, allocations: 0 / 0.7127 GB, free: 5.316 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/0.4451, allocations: 4 kB / 0.7127 GB, free: 5.312 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.776e-05/0.4451, allocations: 23.91 kB / 0.7127 GB, free: 5.289 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003847/0.4455, allocations: 256.9 kB / 0.713 GB, free: 4.988 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.767e-05/0.4456, allocations: 18.58 kB / 0.713 GB, free: 4.961 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.807e-05/0.4456, allocations: 12.86 kB / 0.713 GB, free: 4.945 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.641e-06/0.4456, allocations: 0 / 0.713 GB, free: 4.945 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.4456, allocations: 30.56 kB / 0.713 GB, free: 4.906 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.4456, allocations: 0 / 0.713 GB, free: 4.906 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001293/0.4458, allocations: 41.61 kB / 0.7131 GB, free: 4.859 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.4458, allocations: 59.33 kB / 0.7131 GB, free: 4.789 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.484e-05/0.4459, allocations: 105.9 kB / 0.7132 GB, free: 4.676 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.4459, allocations: 29.83 kB / 0.7133 GB, free: 4.641 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.748e-05/0.446, allocations: 99.97 kB / 0.7134 GB, free: 4.539 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.883e-06/0.446, allocations: 3.906 kB / 0.7134 GB, free: 4.535 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.446, allocations: 17.66 kB / 0.7134 GB, free: 4.512 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.933e-05/0.4461, allocations: 314.8 kB / 0.7137 GB, free: 4.195 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.613e-05/0.4461, allocations: 4 kB / 0.7137 GB, free: 4.191 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.758e-05/0.4462, allocations: 22.56 kB / 0.7137 GB, free: 4.16 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.379e-05/0.4462, allocations: 34.52 kB / 0.7137 GB, free: 4.117 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4462, allocations: 0 / 0.7137 GB, free: 4.117 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.201e-05/0.4463, allocations: 53.62 kB / 0.7138 GB, free: 4.059 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.4463, allocations: 4 kB / 0.7138 GB, free: 4.055 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.4463, allocations: 4 kB / 0.7138 GB, free: 4.051 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.4464, allocations: 4.094 kB / 0.7138 GB, free: 4.047 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.161e-05/0.4464, allocations: 11.94 kB / 0.7138 GB, free: 4.035 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.4464, allocations: 7.984 kB / 0.7138 GB, free: 4.027 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.916e-05/0.4465, allocations: 3.938 kB / 0.7138 GB, free: 4.023 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.4465, allocations: 0 / 0.7138 GB, free: 4.023 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.649e-05/0.4466, allocations: 109.8 kB / 0.7139 GB, free: 3.906 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.4466, allocations: 0 / 0.7139 GB, free: 3.906 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.555e-05/0.4466, allocations: 11.06 kB / 0.7139 GB, free: 3.898 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.4466, allocations: 3.938 kB / 0.7139 GB, free: 3.895 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.4466, allocations: 4 kB / 0.7139 GB, free: 3.891 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.4466, allocations: 0 / 0.7139 GB, free: 3.891 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/0.4469, allocations: 350.7 kB / 0.7143 GB, free: 3.488 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4469, allocations: 0 / 0.7143 GB, free: 3.488 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.735e-05/0.4469, allocations: 7.938 kB / 0.7143 GB, free: 3.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.4469, allocations: 0 / 0.7143 GB, free: 3.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.4469, allocations: 0 / 0.7143 GB, free: 3.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4469, allocations: 3.938 kB / 0.7143 GB, free: 3.477 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4469, allocations: 0 / 0.7143 GB, free: 3.477 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.494e-05/0.447, allocations: 61.16 kB / 0.7143 GB, free: 3.398 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.296e-05/0.4471, allocations: 85.05 kB / 0.7144 GB, free: 3.297 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.4471, allocations: 0 / 0.7144 GB, free: 3.297 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.551e-05/0.4472, allocations: 4 kB / 0.7144 GB, free: 3.293 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.069e-05/0.4472, allocations: 0 / 0.7144 GB, free: 3.293 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.4472, allocations: 0 / 0.7144 GB, free: 3.293 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.119e-05/0.4472, allocations: 87.52 kB / 0.7145 GB, free: 3.207 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4472, allocations: 4.031 kB / 0.7145 GB, free: 3.203 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002001/0.4474, allocations: 12 kB / 0.7145 GB, free: 3.191 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002885/0.4477, allocations: 0.6006 MB / 0.7151 GB, free: 2.562 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.168e-05/0.4478, allocations: 12.16 kB / 0.7151 GB, free: 2.551 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4478, allocations: 0 / 0.7151 GB, free: 2.551 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.296e-06/0.4478, allocations: 7.938 kB / 0.7151 GB, free: 2.543 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.448, allocations: 0 / 0.7151 GB, free: 2.543 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000333/0.4484, allocations: 148.1 kB / 0.7153 GB, free: 2.355 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.4486, allocations: 0.6729 MB / 0.7159 GB, free: 1.656 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.652e-05/0.4487, allocations: 16.19 kB / 0.7159 GB, free: 1.641 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.97e-05/0.4487, allocations: 15.44 kB / 0.716 GB, free: 1.625 MB / 0.545 GB Notification: Performance of SimCode: time 2.71e-07/0.4487, allocations: 0 / 0.716 GB, free: 1.625 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.4691, allocations: 1.342 MB / 0.7173 GB, free: 444 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.874/10.34, allocations: 9.406 kB / 0.7173 GB, free: 440 kB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)