Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.006037/0.006037, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.00128/0.00128, allocations: 186.8 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 205.1 MB / 222.5 MB, free: 4.379 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.517/1.517, allocations: 251.7 MB / 0.5094 GB, free: 3.059 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001764/0.001764, allocations: 66.09 kB / 0.7258 GB, free: 9.023 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2347, allocations: 104.7 MB / 0.828 GB, free: 212 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.7398/0.9745, allocations: 147.8 MB / 0.9724 GB, free: 8.684 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000216/0.9748, allocations: 51.3 kB / 0.9725 GB, free: 8.664 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.755e-05/0.9749, allocations: 1 kB / 0.9725 GB, free: 8.664 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001762/0.9751, allocations: 3.938 kB / 0.9725 GB, free: 8.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000118/0.9752, allocations: 12.95 kB / 0.9725 GB, free: 8.652 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006803/0.9759, allocations: 97.23 kB / 0.9726 GB, free: 8.625 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.9761, allocations: 40.3 kB / 0.9726 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.385e-05/0.9761, allocations: 1.969 kB / 0.9726 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.823e-05/0.9762, allocations: 11.69 kB / 0.9726 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.9763, allocations: 18.8 kB / 0.9727 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.9763, allocations: 1.031 kB / 0.9727 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003507/0.9767, allocations: 83.56 kB / 0.9727 GB, free: 8.586 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.825e-05/0.9768, allocations: 15.73 kB / 0.9727 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.28e-05/0.9768, allocations: 6.062 kB / 0.9728 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002092/0.977, allocations: 73.11 kB / 0.9728 GB, free: 8.566 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.9771, allocations: 1.406 kB / 0.9728 GB, free: 8.566 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.714e-06/0.9771, allocations: 0 / 0.9728 GB, free: 8.566 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.9771, allocations: 0 / 0.9728 GB, free: 8.566 MB / 0.7325 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.0005321/0.9776, allocations: 342.3 kB / 0.9732 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.9777, allocations: 9.281 kB / 0.9732 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002922/0.978, allocations: 17.16 kB / 0.9732 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.9781, allocations: 161.9 kB / 0.9733 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.23e-05/0.9782, allocations: 37.44 kB / 0.9734 GB, free: 7.977 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.9783, allocations: 4.906 kB / 0.9734 GB, free: 7.977 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.9785, allocations: 41.3 kB / 0.9734 GB, free: 7.945 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.9785, allocations: 6.391 kB / 0.9734 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.9785, allocations: 3.312 kB / 0.9734 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.329e-05/0.9785, allocations: 2.438 kB / 0.9734 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.576e-05/0.9786, allocations: 17.75 kB / 0.9734 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005399/0.9792, allocations: 260.4 kB / 0.9737 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.211e-05/0.9792, allocations: 23.42 kB / 0.9737 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.516e-05/0.9793, allocations: 6.234 kB / 0.9737 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.866e-06/0.9793, allocations: 0 / 0.9737 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.9793, allocations: 39.28 kB / 0.9738 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 4.268e-06/0.9793, allocations: 3.984 kB / 0.9738 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0002504/0.9796, allocations: 36.55 kB / 0.9738 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.9797, allocations: 54.86 kB / 0.9738 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.9798, allocations: 107.3 kB / 0.9739 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.9799, allocations: 30.83 kB / 0.974 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.954e-05/0.98, allocations: 95.02 kB / 0.9741 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.208e-05/0.98, allocations: 5.281 kB / 0.9741 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.066e-05/0.98, allocations: 15.91 kB / 0.9741 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.9802, allocations: 314.6 kB / 0.9744 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.366e-05/0.9802, allocations: 3.656 kB / 0.9744 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.288e-05/0.9803, allocations: 25.05 kB / 0.9744 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.471e-05/0.9804, allocations: 40.7 kB / 0.9745 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.9804, allocations: 0 / 0.9745 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001229/0.9805, allocations: 51.55 kB / 0.9745 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.9805, allocations: 6.25 kB / 0.9745 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.9806, allocations: 0 / 0.9745 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.9806, allocations: 5.469 kB / 0.9745 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-05/0.9807, allocations: 12.72 kB / 0.9745 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.9807, allocations: 3.938 kB / 0.9745 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.059e-05/0.9808, allocations: 8.844 kB / 0.9745 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.9808, allocations: 2.594 kB / 0.9745 GB, free: 6.824 MB / 0.7325 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 0.0001058/0.9809, allocations: 112.5 kB / 0.9746 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.683e-05/0.981, allocations: 1.5 kB / 0.9746 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.747e-05/0.981, allocations: 6.641 kB / 0.9747 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.981, allocations: 1.531 kB / 0.9747 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.981, allocations: 7.938 kB / 0.9747 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.981, allocations: 0 / 0.9747 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002797/0.9813, allocations: 342.9 kB / 0.975 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.9813, allocations: 2.438 kB / 0.975 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.394e-05/0.9814, allocations: 1.406 kB / 0.975 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.9814, allocations: 3.938 kB / 0.975 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-06/0.9814, allocations: 1.375 kB / 0.975 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.9814, allocations: 0 / 0.975 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.9814, allocations: 32 / 0.975 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.723e-05/0.9815, allocations: 69.45 kB / 0.9751 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.288e-05/0.9815, allocations: 77.67 kB / 0.9751 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.9815, allocations: 7.969 kB / 0.9751 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.249e-05/0.9816, allocations: 2.656 kB / 0.9752 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.205e-05/0.9816, allocations: 0 / 0.9752 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-06/0.9816, allocations: 1.094 kB / 0.9752 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.895e-05/0.9817, allocations: 90 kB / 0.9752 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9817, allocations: 3.938 kB / 0.9752 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001842/0.9819, allocations: 6.688 kB / 0.9752 GB, free: 6.062 MB / 0.7325 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.0001044/0.982, allocations: 99.69 kB / 0.9753 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.782e-05/0.9821, allocations: 15.75 kB / 0.9754 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.9821, allocations: 0 / 0.9754 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.332e-06/0.9821, allocations: 4.578 kB / 0.9754 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.9824, allocations: 10.34 kB / 0.9754 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002894/0.9827, allocations: 116.5 kB / 0.9755 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.9831, allocations: 0.6761 MB / 0.9761 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.311e-05/0.9831, allocations: 5.094 kB / 0.9761 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.218e-05/0.9832, allocations: 8.5 kB / 0.9762 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of SimCode: time 4.628e-06/0.9832, allocations: 4 kB / 0.9762 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of Templates: time 0.003122/0.9864, allocations: 477.7 kB / 0.9766 GB, free: 5.117 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)