Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion") translateModel(Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000846/0.0008459, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.006255/0.006255, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.599/1.599, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6269/0.6269, allocations: 95.63 MB / 366.4 MB, free: 10.23 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007728/0.000773, allocations: 19.98 kB / 447.5 MB, free: 8.969 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3926, allocations: 70.33 MB / 0.5057 GB, free: 16.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion): time 0.55/0.9427, allocations: 156.7 MB / 0.6587 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002062/0.9429, allocations: 141.9 kB / 0.6588 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.878e-05/0.943, allocations: 0 / 0.6588 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.9431, allocations: 2.859 kB / 0.6588 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.34e-05/0.9432, allocations: 15.67 kB / 0.6588 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008231/0.944, allocations: 188.4 kB / 0.659 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.9441, allocations: 54.22 kB / 0.6591 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.95e-05/0.9442, allocations: 2.531 kB / 0.6591 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.785e-05/0.9442, allocations: 20.31 kB / 0.6591 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.063e-05/0.9443, allocations: 10.94 kB / 0.6591 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.9443, allocations: 5.125 kB / 0.6591 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005961/0.9449, allocations: 270.1 kB / 0.6594 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.32e-05/0.945, allocations: 3.875 kB / 0.6594 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.545e-05/0.945, allocations: 40.98 kB / 0.6594 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002674/0.9453, allocations: 161.8 kB / 0.6596 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.9453, allocations: 1.406 kB / 0.6596 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9453, allocations: 0 / 0.6596 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.9453, allocations: 0 / 0.6596 GB, free: 12.55 MB / 0.4981 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.0004238/0.9458, allocations: 358.2 kB / 0.6599 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.9458, allocations: 13.67 kB / 0.6599 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.057e-05/0.9459, allocations: 4.594 kB / 0.6599 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.946, allocations: 166.6 kB / 0.6601 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.822e-05/0.9461, allocations: 29.08 kB / 0.6601 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.9461, allocations: 3.938 kB / 0.6601 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.9462, allocations: 55.25 kB / 0.6602 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.9462, allocations: 4 kB / 0.6602 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.9462, allocations: 0 / 0.6602 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.203e-05/0.9463, allocations: 3.312 kB / 0.6602 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.973e-05/0.9463, allocations: 23.42 kB / 0.6602 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005564/0.9469, allocations: 350.9 kB / 0.6605 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.138e-05/0.9469, allocations: 24.89 kB / 0.6605 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.604e-05/0.947, allocations: 12.17 kB / 0.6606 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.947, allocations: 0 / 0.6606 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.947, allocations: 33.03 kB / 0.6606 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.947, allocations: 0 / 0.6606 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001545/0.9472, allocations: 38.08 kB / 0.6606 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.9472, allocations: 51.41 kB / 0.6607 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.9473, allocations: 106.4 kB / 0.6608 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.9474, allocations: 31.56 kB / 0.6608 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.739e-05/0.9474, allocations: 93.67 kB / 0.6609 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.601e-06/0.9474, allocations: 3.938 kB / 0.6609 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.278e-05/0.9475, allocations: 9.719 kB / 0.6609 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.9476, allocations: 322.4 kB / 0.6612 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.71e-05/0.9476, allocations: 6.297 kB / 0.6612 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.71e-05/0.9476, allocations: 25.2 kB / 0.6612 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.852e-05/0.9477, allocations: 27.95 kB / 0.6613 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.9477, allocations: 0 / 0.6613 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.091e-05/0.9478, allocations: 68.88 kB / 0.6613 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.9478, allocations: 3.375 kB / 0.6613 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.9478, allocations: 3.344 kB / 0.6613 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.9478, allocations: 0 / 0.6613 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.505e-05/0.9479, allocations: 15.45 kB / 0.6614 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.9479, allocations: 3.656 kB / 0.6614 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.082e-05/0.9479, allocations: 0 / 0.6614 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.948, allocations: 6.781 kB / 0.6614 GB, free: 10.69 MB / 0.4981 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.481e-05/0.9481, allocations: 113.4 kB / 0.6615 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.9481, allocations: 0 / 0.6615 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000126/0.9482, allocations: 128.1 kB / 0.6616 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.788e-05/0.9483, allocations: 183.5 kB / 0.6618 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.389e-05/0.9484, allocations: 178.8 kB / 0.6619 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.255e-05/0.9484, allocations: 180.2 kB / 0.6621 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.9487, allocations: 406 kB / 0.6625 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.211e-05/0.9487, allocations: 108.3 kB / 0.6626 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.751e-05/0.9488, allocations: 107.4 kB / 0.6627 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-05/0.9488, allocations: 176.3 kB / 0.6629 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-05/0.9489, allocations: 183.7 kB / 0.6631 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.306e-05/0.949, allocations: 186.1 kB / 0.6632 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.409e-05/0.9491, allocations: 180.2 kB / 0.6634 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.9492, allocations: 320.5 kB / 0.6637 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.988e-05/0.9493, allocations: 180.6 kB / 0.6639 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.904e-05/0.9494, allocations: 187.6 kB / 0.6641 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.9495, allocations: 107.5 kB / 0.6642 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.71e-05/0.9496, allocations: 181.9 kB / 0.6643 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-05/0.9496, allocations: 116.4 kB / 0.6645 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.488e-05/0.9497, allocations: 86.47 kB / 0.6645 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9497, allocations: 0 / 0.6645 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000354/0.95, allocations: 46.8 kB / 0.6646 GB, free: 7.305 MB / 0.4981 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 (0): * Single equations (assignments): 0 * 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.0003804/0.9504, allocations: 236.4 kB / 0.6648 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.341e-05/0.9505, allocations: 16.38 kB / 0.6648 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.9505, allocations: 0 / 0.6648 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.009e-06/0.9505, allocations: 3.938 kB / 0.6648 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004472/0.951, allocations: 0.5239 MB / 0.6653 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002895/0.9513, allocations: 196.6 kB / 0.6655 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.9515, allocations: 0.6763 MB / 0.6662 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.423e-05/0.9516, allocations: 4.875 kB / 0.6662 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.863e-05/0.9516, allocations: 10.25 kB / 0.6662 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.9516, allocations: 4 kB / 0.6662 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of Templates: time 0.003714/0.9553, allocations: 1.103 MB / 0.6673 GB, free: 5.605 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: