Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.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.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion") translateModel(Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009622/0.0009619, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001097/0.001097, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.325/1.325, allocations: 205.4 MB / 222.1 MB, free: 5.676 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.5708/0.5708, allocations: 95.57 MB / 365.9 MB, free: 10.42 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.0005721/0.0005722, allocations: 20 kB / 446.8 MB, free: 9.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2813, allocations: 70.34 MB / 0.505 GB, free: 16.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion): time 0.4109/0.6922, allocations: 129 MB / 0.6309 GB, free: 2.031 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001649/0.6939, allocations: 1.549 MB / 0.6325 GB, free: 2.016 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.076e-05/0.6939, allocations: 0 / 0.6325 GB, free: 2.016 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.6941, allocations: 4.953 kB / 0.6325 GB, free: 2.016 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.025e-05/0.6941, allocations: 9.484 kB / 0.6325 GB, free: 2.012 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.6954, allocations: 414.3 kB / 0.6329 GB, free: 2.012 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.249e-05/0.6955, allocations: 21.42 kB / 0.6329 GB, free: 2.008 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.191e-05/0.6955, allocations: 2.234 kB / 0.6329 GB, free: 2.008 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.65e-05/0.6955, allocations: 8.766 kB / 0.6329 GB, free: 2.008 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.96e-05/0.6956, allocations: 9.781 kB / 0.6329 GB, free: 2.008 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.041e-05/0.6956, allocations: 0.8125 kB / 0.6329 GB, free: 2.008 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001092/0.6967, allocations: 0.5019 MB / 0.6334 GB, free: 2.008 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.923e-05/0.6968, allocations: 7.422 kB / 0.6334 GB, free: 2.008 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.334e-05/0.6968, allocations: 28.02 kB / 0.6334 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004626/0.6973, allocations: 233.5 kB / 0.6337 GB, free: 1.957 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.6973, allocations: 0 / 0.6337 GB, free: 1.957 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.6973, allocations: 0 / 0.6337 GB, free: 1.957 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.6973, allocations: 0 / 0.6337 GB, free: 1.957 MB / 494.1 MB 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.0005194/0.6978, allocations: 398.1 kB / 0.634 GB, free: 17.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.6979, allocations: 13.14 kB / 0.634 GB, free: 17.56 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.683e-05/0.6979, allocations: 1.562 kB / 0.6341 GB, free: 17.56 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.698, allocations: 175.1 kB / 0.6342 GB, free: 17.36 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.369e-05/0.6981, allocations: 29.61 kB / 0.6342 GB, free: 17.33 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.6981, allocations: 5.562 kB / 0.6343 GB, free: 17.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.6983, allocations: 45.16 kB / 0.6343 GB, free: 17.29 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.6983, allocations: 0.9062 kB / 0.6343 GB, free: 17.29 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.6983, allocations: 3.812 kB / 0.6343 GB, free: 17.29 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.84e-05/0.6983, allocations: 1.844 kB / 0.6343 GB, free: 17.29 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.741e-05/0.6984, allocations: 26.5 kB / 0.6343 GB, free: 17.29 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003372/0.6987, allocations: 258.2 kB / 0.6346 GB, free: 17.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.778e-05/0.6988, allocations: 22.67 kB / 0.6346 GB, free: 17 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.6988, allocations: 1.875 kB / 0.6346 GB, free: 17 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.6988, allocations: 36.72 kB / 0.6346 GB, free: 16.96 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.343e-06/0.6989, allocations: 0 / 0.6346 GB, free: 16.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001431/0.699, allocations: 40.2 kB / 0.6347 GB, free: 16.92 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.699, allocations: 56.48 kB / 0.6347 GB, free: 16.86 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.313e-05/0.6991, allocations: 102.6 kB / 0.6348 GB, free: 16.76 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.6992, allocations: 30.55 kB / 0.6348 GB, free: 16.72 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.48e-05/0.6992, allocations: 86.36 kB / 0.6349 GB, free: 16.64 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.27e-06/0.6992, allocations: 2.094 kB / 0.6349 GB, free: 16.64 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-06/0.6992, allocations: 0 / 0.6349 GB, free: 16.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.846e-05/0.6993, allocations: 318.1 kB / 0.6352 GB, free: 16.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.621e-05/0.6994, allocations: 3.969 kB / 0.6352 GB, free: 16.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.379e-05/0.6994, allocations: 26.78 kB / 0.6353 GB, free: 16.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.595e-05/0.6994, allocations: 14.64 kB / 0.6353 GB, free: 16.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.6994, allocations: 0.8125 kB / 0.6353 GB, free: 16.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.859e-05/0.6995, allocations: 55.17 kB / 0.6353 GB, free: 16.26 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.6995, allocations: 5.469 kB / 0.6353 GB, free: 16.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.6995, allocations: 0.875 kB / 0.6353 GB, free: 16.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.6996, allocations: 1.469 kB / 0.6353 GB, free: 16.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.428e-05/0.6996, allocations: 10.86 kB / 0.6354 GB, free: 16.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.6996, allocations: 5.547 kB / 0.6354 GB, free: 16.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.636e-05/0.6997, allocations: 10.77 kB / 0.6354 GB, free: 16.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.6997, allocations: 3.547 kB / 0.6354 GB, free: 16.25 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.11e-05/0.6998, allocations: 110 kB / 0.6355 GB, free: 16.14 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.6998, allocations: 2 kB / 0.6355 GB, free: 16.14 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.6999, allocations: 125 kB / 0.6356 GB, free: 16.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-05/0.7, allocations: 186.1 kB / 0.6358 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.075e-05/0.7, allocations: 180.8 kB / 0.6359 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.978e-05/0.7001, allocations: 178.8 kB / 0.6361 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/0.7003, allocations: 415.4 kB / 0.6365 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3e-05/0.7004, allocations: 105.8 kB / 0.6366 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.532e-05/0.7004, allocations: 106.8 kB / 0.6367 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.535e-05/0.7005, allocations: 184.3 kB / 0.6369 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-05/0.7005, allocations: 182.5 kB / 0.6371 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.898e-05/0.7006, allocations: 185.9 kB / 0.6372 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.555e-05/0.7006, allocations: 180.2 kB / 0.6374 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.7008, allocations: 317.1 kB / 0.6377 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.399e-05/0.7009, allocations: 184.6 kB / 0.6379 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.218e-05/0.7009, allocations: 179.8 kB / 0.6381 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.7011, allocations: 107.8 kB / 0.6382 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.502e-05/0.7011, allocations: 181.7 kB / 0.6383 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-05/0.7012, allocations: 105.4 kB / 0.6384 GB, free: 13 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.282e-05/0.7012, allocations: 86.38 kB / 0.6385 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7012, allocations: 0 / 0.6385 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004027/0.7016, allocations: 90.25 kB / 0.6386 GB, free: 12.9 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006769/0.7023, allocations: 345.6 kB / 0.6389 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.498e-05/0.7024, allocations: 12.45 kB / 0.639 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.7024, allocations: 0.75 kB / 0.639 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.214e-06/0.7025, allocations: 0.625 kB / 0.639 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.7028, allocations: 0.5301 MB / 0.6395 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002397/0.703, allocations: 191.6 kB / 0.6397 GB, free: 12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.7033, allocations: 0.6772 MB / 0.6403 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.98e-05/0.7033, allocations: 6.5 kB / 0.6403 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.768e-05/0.7033, allocations: 15.09 kB / 0.6403 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.7033, allocations: 0 / 0.6403 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.005674/0.709, allocations: 2.121 MB / 0.6424 GB, free: 11.08 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: