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: translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001261/0.001261, allocations: 109 kB / 16.53 MB, free: 6.266 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.001258/0.001258, allocations: 192.3 kB / 17.44 MB, free: 5.887 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.345/1.345, allocations: 222.9 MB / 241.1 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7127/0.7127, allocations: 115.3 MB / 406.6 MB, free: 6.469 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 63.91 kB / 493.6 MB, free: 0.8594 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3626, allocations: 76.17 MB / 0.5564 GB, free: 35.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1577/0.5203, allocations: 145.6 MB / 0.6985 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001238/0.5204, allocations: 51.86 kB / 0.6986 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.55e-05/0.5205, allocations: 4 kB / 0.6986 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.756e-05/0.5206, allocations: 0 / 0.6986 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.082e-05/0.5207, allocations: 11.91 kB / 0.6986 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000397/0.5211, allocations: 100.5 kB / 0.6987 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.414e-05/0.5212, allocations: 63.77 kB / 0.6988 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.216e-05/0.5212, allocations: 0 / 0.6988 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.43e-05/0.5213, allocations: 15.97 kB / 0.6988 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.036e-05/0.5213, allocations: 12 kB / 0.6988 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.5213, allocations: 0 / 0.6988 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000268/0.5216, allocations: 83.72 kB / 0.6989 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.775e-05/0.5217, allocations: 11.92 kB / 0.6989 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.796e-05/0.5217, allocations: 8 kB / 0.6989 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.5218, allocations: 53.89 kB / 0.6989 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.5218, allocations: 0 / 0.6989 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.184e-06/0.5219, allocations: 4 kB / 0.6989 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.5219, allocations: 0 / 0.6989 GB, free: 2.238 MB / 0.5294 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.0003737/0.5222, allocations: 335.5 kB / 0.6993 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.5223, allocations: 11.97 kB / 0.6993 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002209/0.5225, allocations: 20.83 kB / 0.6993 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.5226, allocations: 160.4 kB / 0.6995 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.608e-05/0.5227, allocations: 37.62 kB / 0.6995 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.5227, allocations: 0 / 0.6995 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.5228, allocations: 49.62 kB / 0.6995 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.5228, allocations: 4 kB / 0.6995 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.5229, allocations: 3.984 kB / 0.6995 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.5229, allocations: 0 / 0.6995 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.366e-05/0.5229, allocations: 19.98 kB / 0.6996 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003619/0.5233, allocations: 256.9 kB / 0.6998 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.739e-05/0.5234, allocations: 26.58 kB / 0.6998 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.436e-05/0.5234, allocations: 4.859 kB / 0.6998 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.498e-06/0.5234, allocations: 0 / 0.6998 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.5234, allocations: 34.56 kB / 0.6999 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.5234, allocations: 3.938 kB / 0.6999 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001225/0.5236, allocations: 41.69 kB / 0.6999 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.5236, allocations: 55.34 kB / 0.7 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.813e-05/0.5237, allocations: 110 kB / 0.7001 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.5237, allocations: 25.7 kB / 0.7001 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.73e-05/0.5238, allocations: 95.83 kB / 0.7002 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.51e-06/0.5238, allocations: 4 kB / 0.7002 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.5238, allocations: 13.72 kB / 0.7002 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.5239, allocations: 318.8 kB / 0.7005 GB, free: 428 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.773e-05/0.524, allocations: 8 kB / 0.7005 GB, free: 420 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.593e-05/0.524, allocations: 22.56 kB / 0.7005 GB, free: 388 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.904e-05/0.524, allocations: 34.56 kB / 0.7006 GB, free: 344 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.5241, allocations: 3.938 kB / 0.7006 GB, free: 340 kB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.001e-05/0.5241, allocations: 53.55 kB / 0.7006 GB, free: 280 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.5242, allocations: 5.719 kB / 0.7006 GB, free: 276 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.5242, allocations: 3.984 kB / 0.7006 GB, free: 272 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.5242, allocations: 8.094 kB / 0.7006 GB, free: 264 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.226e-05/0.5242, allocations: 4 kB / 0.7006 GB, free: 260 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.5243, allocations: 3.938 kB / 0.7006 GB, free: 256 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.6e-05/0.5243, allocations: 7.938 kB / 0.7007 GB, free: 248 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-06/0.5243, allocations: 0 / 0.7007 GB, free: 248 kB / 0.5294 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 8.444e-05/0.5244, allocations: 113.8 kB / 0.7008 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.5244, allocations: 0 / 0.7008 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.337e-05/0.5244, allocations: 3.125 kB / 0.7008 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.5245, allocations: 4 kB / 0.7008 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.5245, allocations: 11.92 kB / 0.7008 GB, free: 108 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-06/0.5245, allocations: 0 / 0.7008 GB, free: 108 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003125/0.5248, allocations: 342.7 kB / 0.7011 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.5248, allocations: 0 / 0.7011 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.776e-05/0.5248, allocations: 0 / 0.7011 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.5249, allocations: 3.938 kB / 0.7011 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.5249, allocations: 4 kB / 0.7011 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.5249, allocations: 0 / 0.7011 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.5249, allocations: 32 / 0.7011 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.886e-05/0.525, allocations: 61.12 kB / 0.7012 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.626e-05/0.525, allocations: 88.95 kB / 0.7013 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.5251, allocations: 0 / 0.7013 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.402e-05/0.5252, allocations: 4.234 kB / 0.7013 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.588e-06/0.5252, allocations: 7.938 kB / 0.7013 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.5252, allocations: 4 kB / 0.7013 GB, free: 15.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.431e-05/0.5252, allocations: 87.31 kB / 0.7014 GB, free: 15.42 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5252, allocations: 0 / 0.7014 GB, free: 15.42 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001977/0.5254, allocations: 11.94 kB / 0.7014 GB, free: 15.41 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 8.593e-05/0.5255, allocations: 95.25 kB / 0.7015 GB, free: 15.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.064e-05/0.5256, allocations: 15.98 kB / 0.7015 GB, free: 15.29 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5256, allocations: 0 / 0.7015 GB, free: 15.29 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.837e-06/0.5256, allocations: 7.938 kB / 0.7015 GB, free: 15.28 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.5259, allocations: 10.36 kB / 0.7015 GB, free: 15.27 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002491/0.5261, allocations: 153.9 kB / 0.7016 GB, free: 15.09 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.5264, allocations: 0.677 MB / 0.7023 GB, free: 14.39 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.001e-05/0.5264, allocations: 7.438 kB / 0.7023 GB, free: 14.38 MB / 0.545 GB Notification: Performance of SimCode: time 4.1e-07/0.5264, allocations: 0 / 0.7023 GB, free: 14.38 MB / 0.545 GB Notification: Performance of Templates: time 0.001713/0.5281, allocations: 0.5591 MB / 0.7029 GB, free: 13.83 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (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 & ./IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)