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/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: 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/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 189.2 kB / 16.63 MB, free: 5.141 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4669/0.4669, allocations: 87.51 MB / 104.9 MB, free: 13 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 349.1 MB, free: 2.77 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 105.9 kB / 420 MB, free: 8.52 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 47.92 kB / 0.4891 GB, free: 7.734 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3504, allocations: 70.06 MB / 0.5575 GB, free: 44.65 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.169/0.5195, allocations: 145.6 MB / 0.6997 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0001439/0.5197, allocations: 51.8 kB / 0.6997 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.779e-05/0.5197, allocations: 0 / 0.6997 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.5198, allocations: 4 kB / 0.6997 GB, free: 11.03 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.25e-05/0.5199, allocations: 15.91 kB / 0.6997 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004357/0.5204, allocations: 99.66 kB / 0.6998 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 9.739e-05/0.5205, allocations: 59.83 kB / 0.6999 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.668e-05/0.5205, allocations: 4 kB / 0.6999 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 3.963e-05/0.5206, allocations: 15.97 kB / 0.6999 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 7.533e-05/0.5207, allocations: 12 kB / 0.6999 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.5207, allocations: 0 / 0.6999 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002666/0.5209, allocations: 87.66 kB / 0.7 GB, free: 10.74 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.753e-05/0.521, allocations: 7.984 kB / 0.7 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.187e-05/0.521, allocations: 15.97 kB / 0.7 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.5212, allocations: 65.97 kB / 0.7001 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.5212, allocations: 0 / 0.7001 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.22e-07/0.5212, allocations: 4 kB / 0.7001 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.5212, allocations: 0 / 0.7001 GB, free: 10.65 MB / 0.5105 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.000444/0.5217, allocations: 347.4 kB / 0.7004 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.5217, allocations: 8.031 kB / 0.7004 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002359/0.522, allocations: 16.92 kB / 0.7004 GB, free: 10.24 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.5221, allocations: 160.4 kB / 0.7006 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.829e-05/0.5222, allocations: 41.58 kB / 0.7006 GB, free: 10 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.5223, allocations: 0 / 0.7006 GB, free: 10 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.5224, allocations: 49.67 kB / 0.7007 GB, free: 9.945 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.5224, allocations: 0 / 0.7007 GB, free: 9.945 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.5224, allocations: 0 / 0.7007 GB, free: 9.945 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.5225, allocations: 0 / 0.7007 GB, free: 9.945 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.644e-05/0.5225, allocations: 19.98 kB / 0.7007 GB, free: 9.926 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004506/0.523, allocations: 268.8 kB / 0.701 GB, free: 9.613 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.944e-05/0.5231, allocations: 30.45 kB / 0.701 GB, free: 9.574 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.321e-05/0.5231, allocations: 4.859 kB / 0.701 GB, free: 9.566 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.383e-06/0.5231, allocations: 3.938 kB / 0.701 GB, free: 9.562 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/0.5231, allocations: 34.55 kB / 0.701 GB, free: 9.52 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.5232, allocations: 0 / 0.701 GB, free: 9.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001476/0.5233, allocations: 37.77 kB / 0.7011 GB, free: 9.477 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.5234, allocations: 59.28 kB / 0.7011 GB, free: 9.406 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.5235, allocations: 109.8 kB / 0.7012 GB, free: 9.289 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.5235, allocations: 25.7 kB / 0.7012 GB, free: 9.258 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.092e-05/0.5236, allocations: 91.98 kB / 0.7013 GB, free: 9.164 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.658e-06/0.5236, allocations: 7.906 kB / 0.7013 GB, free: 9.156 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.5236, allocations: 17.72 kB / 0.7014 GB, free: 9.133 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.5238, allocations: 314.8 kB / 0.7017 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.686e-05/0.5238, allocations: 8.125 kB / 0.7017 GB, free: 8.809 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.494e-05/0.5238, allocations: 22.58 kB / 0.7017 GB, free: 8.777 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.246e-05/0.5239, allocations: 30.5 kB / 0.7017 GB, free: 8.738 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.5239, allocations: 0 / 0.7017 GB, free: 8.738 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.292e-05/0.524, allocations: 61.62 kB / 0.7018 GB, free: 8.672 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.524, allocations: 4 kB / 0.7018 GB, free: 8.668 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.524, allocations: 0 / 0.7018 GB, free: 8.668 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.524, allocations: 4.094 kB / 0.7018 GB, free: 8.664 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.377e-05/0.5241, allocations: 7.984 kB / 0.7018 GB, free: 8.656 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.5241, allocations: 3.938 kB / 0.7018 GB, free: 8.652 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.73e-05/0.5242, allocations: 4 kB / 0.7018 GB, free: 8.648 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-06/0.5242, allocations: 0 / 0.7018 GB, free: 8.648 MB / 0.5105 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.524e-05/0.5243, allocations: 109.8 kB / 0.7019 GB, free: 8.531 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.742e-05/0.5243, allocations: 8 kB / 0.7019 GB, free: 8.523 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.206e-05/0.5243, allocations: 15.11 kB / 0.7019 GB, free: 8.512 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.5243, allocations: 0 / 0.7019 GB, free: 8.512 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.5243, allocations: 3.938 kB / 0.7019 GB, free: 8.508 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.5243, allocations: 0 / 0.7019 GB, free: 8.508 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002503/0.5246, allocations: 342.7 kB / 0.7023 GB, free: 8.113 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.5246, allocations: 0 / 0.7023 GB, free: 8.113 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.23e-05/0.5246, allocations: 0 / 0.7023 GB, free: 8.113 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.5246, allocations: 11.97 kB / 0.7023 GB, free: 8.102 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.5247, allocations: 3.938 kB / 0.7023 GB, free: 8.098 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.5247, allocations: 0 / 0.7023 GB, free: 8.098 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5247, allocations: 0 / 0.7023 GB, free: 8.098 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/0.525, allocations: 0.6044 MB / 0.7029 GB, free: 7.434 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.919e-05/0.525, allocations: 77.11 kB / 0.7029 GB, free: 7.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.525, allocations: 4.031 kB / 0.7029 GB, free: 7.336 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.077e-05/0.5251, allocations: 4 kB / 0.7029 GB, free: 7.332 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.378e-05/0.5251, allocations: 7.984 kB / 0.703 GB, free: 7.324 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-06/0.5251, allocations: 0 / 0.703 GB, free: 7.324 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.934e-05/0.5252, allocations: 87.47 kB / 0.703 GB, free: 7.238 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1e-07/0.5252, allocations: 4 kB / 0.703 GB, free: 7.234 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003195/0.5255, allocations: 4 kB / 0.703 GB, free: 7.23 MB / 0.5105 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 9.431e-05/0.5256, allocations: 99.19 kB / 0.7031 GB, free: 7.125 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.928e-05/0.5257, allocations: 27.92 kB / 0.7032 GB, free: 7.098 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.5257, allocations: 0 / 0.7032 GB, free: 7.098 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.839e-06/0.5257, allocations: 0 / 0.7032 GB, free: 7.098 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.526, allocations: 5.828 kB / 0.7032 GB, free: 7.094 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003584/0.5263, allocations: 219.2 kB / 0.7034 GB, free: 6.84 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.5266, allocations: 0.6812 MB / 0.704 GB, free: 6.133 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.183e-05/0.5266, allocations: 4 kB / 0.704 GB, free: 6.129 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.977e-05/0.5267, allocations: 15.38 kB / 0.7041 GB, free: 6.113 MB / 0.5105 GB Notification: Performance of SimCode: time 2.21e-07/0.5267, allocations: 0 / 0.7041 GB, free: 6.113 MB / 0.5105 GB Notification: Performance of Templates: time 0.002054/0.5287, allocations: 496.9 kB / 0.7045 GB, free: 5.637 MB / 0.5105 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)