Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0009871/0.0009871, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001006/0.001006, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.376/1.376, allocations: 205.1 MB / 222 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.631/1.631, allocations: 292.2 MB / 0.5484 GB, free: 13.66 MB / 462.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.001602/0.001602, allocations: 68.14 kB / 0.6708 GB, free: 26.59 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.278, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6341/0.9121, allocations: 145.6 MB / 0.9248 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001546/0.9123, allocations: 42.91 kB / 0.9249 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.456e-05/0.9124, allocations: 0.6875 kB / 0.9249 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001482/0.9125, allocations: 6.375 kB / 0.9249 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.667e-05/0.9127, allocations: 12.69 kB / 0.9249 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004311/0.9131, allocations: 94.09 kB / 0.925 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.9132, allocations: 53 kB / 0.925 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.317e-05/0.9133, allocations: 1.094 kB / 0.925 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.55e-05/0.9133, allocations: 16.09 kB / 0.925 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.208e-05/0.9134, allocations: 13.17 kB / 0.9251 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.9135, allocations: 4.094 kB / 0.9251 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003509/0.9138, allocations: 79.3 kB / 0.9251 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.185e-05/0.9139, allocations: 10.73 kB / 0.9252 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.743e-05/0.914, allocations: 12.5 kB / 0.9252 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.9142, allocations: 71.34 kB / 0.9252 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.9142, allocations: 2.906 kB / 0.9252 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.934e-06/0.9142, allocations: 1.156 kB / 0.9252 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.9142, allocations: 1.203 kB / 0.9252 GB, free: 6.078 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.0007684/0.915, allocations: 336 kB / 0.9256 GB, free: 21.72 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.9151, allocations: 9.5 kB / 0.9256 GB, free: 21.72 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002658/0.9153, allocations: 27.97 kB / 0.9256 GB, free: 21.71 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.9155, allocations: 161.3 kB / 0.9257 GB, free: 21.52 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.964e-05/0.9155, allocations: 31.2 kB / 0.9258 GB, free: 21.48 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.9156, allocations: 4.422 kB / 0.9258 GB, free: 21.48 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.9157, allocations: 47.2 kB / 0.9258 GB, free: 21.45 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.9158, allocations: 6.844 kB / 0.9258 GB, free: 21.45 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.9158, allocations: 3.781 kB / 0.9258 GB, free: 21.45 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.9158, allocations: 6.062 kB / 0.9258 GB, free: 21.45 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.953e-05/0.9159, allocations: 17.02 kB / 0.9259 GB, free: 21.45 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/0.9162, allocations: 259.2 kB / 0.9261 GB, free: 21.18 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 3.834e-05/0.9163, allocations: 20.11 kB / 0.9261 GB, free: 21.16 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.8e-05/0.9163, allocations: 10.58 kB / 0.9261 GB, free: 21.15 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 9.828e-06/0.9163, allocations: 0 / 0.9261 GB, free: 21.15 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.9164, allocations: 36.5 kB / 0.9262 GB, free: 21.11 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.9164, allocations: 0 / 0.9262 GB, free: 21.11 MB / 0.7481 GB Notification: Performance of matching and sorting (n=1): time 0.0001528/0.9165, allocations: 39.92 kB / 0.9262 GB, free: 21.07 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.9166, allocations: 52.5 kB / 0.9263 GB, free: 21.01 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.37e-05/0.9167, allocations: 109.7 kB / 0.9264 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.9167, allocations: 25.7 kB / 0.9264 GB, free: 20.88 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 4.939e-05/0.9167, allocations: 98.92 kB / 0.9265 GB, free: 20.79 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.39e-06/0.9168, allocations: 0.9688 kB / 0.9265 GB, free: 20.79 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.9168, allocations: 21.34 kB / 0.9265 GB, free: 20.77 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 8.971e-05/0.9169, allocations: 316.1 kB / 0.9268 GB, free: 20.45 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/0.9169, allocations: 3.125 kB / 0.9268 GB, free: 20.45 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.401e-05/0.9169, allocations: 25.83 kB / 0.9268 GB, free: 20.43 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.746e-05/0.917, allocations: 34.92 kB / 0.9269 GB, free: 20.4 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.917, allocations: 0 / 0.9269 GB, free: 20.4 MB / 0.7481 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.595e-05/0.9171, allocations: 59.28 kB / 0.9269 GB, free: 20.37 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.9171, allocations: 5.531 kB / 0.9269 GB, free: 20.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.9171, allocations: 0.9375 kB / 0.9269 GB, free: 20.37 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.9171, allocations: 1.125 kB / 0.9269 GB, free: 20.37 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.26e-05/0.9172, allocations: 6.062 kB / 0.9269 GB, free: 20.37 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.9172, allocations: 8.328 kB / 0.9269 GB, free: 20.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.857e-05/0.9173, allocations: 1.656 kB / 0.9269 GB, free: 20.36 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.9173, allocations: 6.625 kB / 0.927 GB, free: 20.36 MB / 0.7481 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 7.372e-05/0.9174, allocations: 109.1 kB / 0.9271 GB, free: 20.25 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.9174, allocations: 1.219 kB / 0.9271 GB, free: 20.25 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.101e-05/0.9174, allocations: 7.844 kB / 0.9271 GB, free: 20.24 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.9174, allocations: 0.8438 kB / 0.9271 GB, free: 20.24 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.9175, allocations: 6.844 kB / 0.9271 GB, free: 20.23 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.9175, allocations: 0.9688 kB / 0.9271 GB, free: 20.23 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.9177, allocations: 346.7 kB / 0.9274 GB, free: 19.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.9177, allocations: 0.8438 kB / 0.9274 GB, free: 19.86 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.428e-05/0.9177, allocations: 2.031 kB / 0.9274 GB, free: 19.86 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.9177, allocations: 3.938 kB / 0.9274 GB, free: 19.85 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.9177, allocations: 2.016 kB / 0.9274 GB, free: 19.85 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.9178, allocations: 0 / 0.9274 GB, free: 19.85 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.9178, allocations: 11.14 kB / 0.9274 GB, free: 19.85 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.411e-05/0.9178, allocations: 59.11 kB / 0.9275 GB, free: 19.78 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 3.579e-05/0.9179, allocations: 81.95 kB / 0.9276 GB, free: 19.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.9179, allocations: 4.844 kB / 0.9276 GB, free: 19.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.388e-05/0.918, allocations: 6.141 kB / 0.9276 GB, free: 19.68 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.801e-05/0.918, allocations: 2.219 kB / 0.9276 GB, free: 19.68 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.918, allocations: 0.9375 kB / 0.9276 GB, free: 19.68 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 5.13e-05/0.9181, allocations: 89 kB / 0.9277 GB, free: 19.61 MB / 0.7481 GB Notification: Performance of sort global known variables: time 8.52e-07/0.9181, allocations: 0 / 0.9277 GB, free: 19.61 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0001894/0.9183, allocations: 7.5 kB / 0.9277 GB, free: 19.61 MB / 0.7481 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.0001024/0.9184, allocations: 103.4 kB / 0.9278 GB, free: 19.52 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 7.576e-05/0.9185, allocations: 9.188 kB / 0.9278 GB, free: 19.52 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.9185, allocations: 0 / 0.9278 GB, free: 19.52 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 7.625e-06/0.9185, allocations: 8.203 kB / 0.9278 GB, free: 19.52 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.9188, allocations: 10.06 kB / 0.9278 GB, free: 19.52 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002791/0.919, allocations: 114.8 kB / 0.9279 GB, free: 19.41 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.9193, allocations: 0.6762 MB / 0.9286 GB, free: 18.71 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.808e-05/0.9193, allocations: 7.844 kB / 0.9286 GB, free: 18.71 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.801e-05/0.9194, allocations: 8.5 kB / 0.9286 GB, free: 18.71 MB / 0.7481 GB Notification: Performance of SimCode: time 3.01e-07/0.9194, allocations: 0 / 0.9286 GB, free: 18.71 MB / 0.7481 GB Notification: Performance of Templates: time 0.002648/0.922, allocations: 454 kB / 0.929 GB, free: 18.66 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)