Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesPTDecoupled.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.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion") translateModel(Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001125/0.001126, allocations: 189.3 kB / 16.13 MB, free: 6.656 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.572/1.572, allocations: 205.1 MB / 222 MB, free: 4.77 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.6047/0.6047, allocations: 95.48 MB / 364.8 MB, free: 10.12 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.001563/0.001563, allocations: 63.91 kB / 444.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3927, allocations: 69.07 MB / 0.5017 GB, free: 17.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion): time 0.6232/1.016, allocations: 158.7 MB / 0.6567 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002038/1.016, allocations: 138.8 kB / 0.6569 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.47e-05/1.016, allocations: 4 kB / 0.6569 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001235/1.016, allocations: 8.969 kB / 0.6569 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.158e-05/1.017, allocations: 16.36 kB / 0.6569 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007771/1.017, allocations: 178.2 kB / 0.657 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.461e-05/1.017, allocations: 51.27 kB / 0.6571 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.723e-05/1.017, allocations: 8.953 kB / 0.6571 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.498e-05/1.017, allocations: 13.39 kB / 0.6571 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.357e-05/1.018, allocations: 23.44 kB / 0.6571 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/1.018, allocations: 3 kB / 0.6571 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006868/1.018, allocations: 269.1 kB / 0.6574 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.968e-05/1.018, allocations: 5.281 kB / 0.6574 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.837e-05/1.018, allocations: 14.11 kB / 0.6574 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003378/1.019, allocations: 160.2 kB / 0.6576 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/1.019, allocations: 1.203 kB / 0.6576 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.136e-06/1.019, allocations: 2.297 kB / 0.6576 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.328e-06/1.019, allocations: 0 / 0.6576 GB, free: 12.67 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.0005933/1.019, allocations: 372 kB / 0.6579 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/1.019, allocations: 12.39 kB / 0.6579 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.718e-05/1.02, allocations: 6.031 kB / 0.6579 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/1.02, allocations: 159.1 kB / 0.6581 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.102e-05/1.02, allocations: 30.55 kB / 0.6581 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/1.02, allocations: 7.562 kB / 0.6581 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/1.02, allocations: 46.62 kB / 0.6582 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/1.02, allocations: 0 / 0.6582 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/1.02, allocations: 7.938 kB / 0.6582 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.614e-05/1.02, allocations: 5.969 kB / 0.6582 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.755e-05/1.02, allocations: 23.77 kB / 0.6582 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006102/1.021, allocations: 346.9 kB / 0.6585 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.327e-05/1.021, allocations: 23.44 kB / 0.6586 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.658e-05/1.021, allocations: 8.859 kB / 0.6586 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/1.021, allocations: 2.75 kB / 0.6586 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/1.021, allocations: 34.5 kB / 0.6586 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.183e-06/1.021, allocations: 0 / 0.6586 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001556/1.021, allocations: 42.75 kB / 0.6587 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/1.021, allocations: 51.41 kB / 0.6587 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.782e-05/1.021, allocations: 104.5 kB / 0.6588 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.779e-05/1.021, allocations: 32.95 kB / 0.6588 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.555e-05/1.021, allocations: 85.25 kB / 0.6589 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.644e-06/1.021, allocations: 9.094 kB / 0.6589 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.084e-05/1.021, allocations: 16.28 kB / 0.6589 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001115/1.021, allocations: 319.4 kB / 0.6592 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.641e-05/1.021, allocations: 2.875 kB / 0.6592 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.114e-05/1.021, allocations: 29.06 kB / 0.6593 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.143e-05/1.022, allocations: 36.75 kB / 0.6593 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/1.022, allocations: 2.469 kB / 0.6593 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.339e-05/1.022, allocations: 50.78 kB / 0.6594 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/1.022, allocations: 7.219 kB / 0.6594 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/1.022, allocations: 2.938 kB / 0.6594 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/1.022, allocations: 1.188 kB / 0.6594 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.115e-05/1.022, allocations: 19.75 kB / 0.6594 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/1.022, allocations: 4.531 kB / 0.6594 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.25e-05/1.022, allocations: 0 / 0.6594 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/1.022, allocations: 6.438 kB / 0.6594 GB, free: 10.82 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 7.473e-05/1.022, allocations: 110.9 kB / 0.6595 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/1.022, allocations: 2.625 kB / 0.6595 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/1.022, allocations: 121.8 kB / 0.6596 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.338e-05/1.022, allocations: 184.2 kB / 0.6598 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.079e-05/1.022, allocations: 178.1 kB / 0.66 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.498e-05/1.022, allocations: 183.6 kB / 0.6601 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002927/1.023, allocations: 406.2 kB / 0.6605 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.916e-05/1.023, allocations: 103.5 kB / 0.6606 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.822e-05/1.023, allocations: 111.6 kB / 0.6607 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.214e-05/1.023, allocations: 182 kB / 0.6609 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.811e-05/1.023, allocations: 181 kB / 0.6611 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001163/1.023, allocations: 178.5 kB / 0.6613 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001059/1.023, allocations: 179.2 kB / 0.6614 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002037/1.023, allocations: 324.3 kB / 0.6617 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/1.023, allocations: 185 kB / 0.6619 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/1.024, allocations: 183.7 kB / 0.6621 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/1.024, allocations: 108.5 kB / 0.6622 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/1.024, allocations: 182.9 kB / 0.6624 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.98e-05/1.024, allocations: 107.5 kB / 0.6625 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.947e-05/1.024, allocations: 90.44 kB / 0.6626 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.024, allocations: 0 / 0.6626 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005181/1.025, allocations: 42.62 kB / 0.6626 GB, free: 7.441 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.0007399/1.025, allocations: 238.8 kB / 0.6628 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001566/1.026, allocations: 22.31 kB / 0.6628 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/1.026, allocations: 0 / 0.6628 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.502e-06/1.026, allocations: 0.6562 kB / 0.6628 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006284/1.026, allocations: 0.5247 MB / 0.6634 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003982/1.027, allocations: 186.9 kB / 0.6635 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/1.027, allocations: 0.6749 MB / 0.6642 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.596e-05/1.027, allocations: 11.64 kB / 0.6642 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.081e-05/1.027, allocations: 9.531 kB / 0.6642 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of SimCode: time 3.5e-07/1.027, allocations: 8.469 kB / 0.6642 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of Templates: time 0.00407/1.031, allocations: 1.098 MB / 0.6653 GB, free: 5.746 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.makefile (rm -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe 2>&1)