Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated.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.TestMoistAirUnsaturated,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated") translateModel(Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01018/0.01018, allocations: 101.2 kB / 15.73 MB, free: 6.031 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.001888/0.001888, allocations: 190.9 kB / 16.67 MB, free: 5.969 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.562/1.562, allocations: 205.1 MB / 222.6 MB, free: 4.508 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.6535/0.6535, allocations: 95.47 MB / 365.4 MB, free: 9.781 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.001891/0.001891, allocations: 67.91 kB / 0.5037 GB, free: 13.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1893, allocations: 69.1 MB / 0.5711 GB, free: 8.266 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated): time 0.5598/0.7491, allocations: 182.3 MB / 0.7491 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004726/0.7539, allocations: 3.155 MB / 0.7522 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005685/0.7545, allocations: 4 kB / 0.7522 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.7556, allocations: 246.6 kB / 0.7524 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001315/0.7569, allocations: 421.7 kB / 0.7528 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004376/0.7613, allocations: 1.324 MB / 0.7541 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001835/0.7632, allocations: 1.157 MB / 0.7553 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003389/0.7635, allocations: 144.5 kB / 0.7554 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002183/0.7657, allocations: 0.8914 MB / 0.7563 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008276/0.7666, allocations: 422.5 kB / 0.7567 GB, free: 308 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001495/0.7667, allocations: 56 kB / 0.7567 GB, free: 252 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002734/0.7695, allocations: 1.275 MB / 0.758 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003039/0.7698, allocations: 235.4 kB / 0.7582 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004493/0.7702, allocations: 314.9 kB / 0.7585 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002785/0.773, allocations: 1.515 MB / 0.76 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.773, allocations: 0 / 0.76 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.322e-06/0.7731, allocations: 0 / 0.76 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.903e-05/0.7731, allocations: 0 / 0.76 GB, free: 12.91 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002317/0.7754, allocations: 0.9005 MB / 0.7609 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.7755, allocations: 11.98 kB / 0.7609 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000392/0.7759, allocations: 59.42 kB / 0.7609 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007198/0.7766, allocations: 362.8 kB / 0.7613 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.098e-05/0.7766, allocations: 29 kB / 0.7613 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.301e-05/0.7767, allocations: 44 kB / 0.7613 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009936/0.7777, allocations: 0.5417 MB / 0.7619 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/0.7778, allocations: 7.891 kB / 0.7619 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.244e-05/0.7778, allocations: 20 kB / 0.7619 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.7779, allocations: 8 kB / 0.7619 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009908/0.7789, allocations: 0.5582 MB / 0.7625 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004001/0.7829, allocations: 2.53 MB / 0.7649 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007438/0.7836, allocations: 342.4 kB / 0.7653 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002788/0.7839, allocations: 177.3 kB / 0.7654 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008819/0.7848, allocations: 0.8782 MB / 0.7663 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.7849, allocations: 38.84 kB / 0.7663 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 2.555e-06/0.7849, allocations: 0 / 0.7663 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of matching and sorting (n=41): time 0.004515/0.7894, allocations: 1.709 MB / 0.768 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.7894, allocations: 55.41 kB / 0.768 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004495/0.7899, allocations: 392.4 kB / 0.7684 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.927e-05/0.7899, allocations: 37.7 kB / 0.7684 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.7901, allocations: 235.7 kB / 0.7687 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.7902, allocations: 142 kB / 0.7688 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/0.7904, allocations: 106.1 kB / 0.7689 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.7905, allocations: 350.8 kB / 0.7692 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003068/0.7909, allocations: 189 kB / 0.7694 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003968/0.7913, allocations: 283.3 kB / 0.7697 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007371/0.792, allocations: 477.8 kB / 0.7701 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/0.792, allocations: 4 kB / 0.7702 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001042/0.7931, allocations: 0.6064 MB / 0.7707 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.7931, allocations: 11.98 kB / 0.7708 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.7931, allocations: 288 / 0.7708 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001311/0.7933, allocations: 49.7 kB / 0.7708 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006187/0.7939, allocations: 127.8 kB / 0.7709 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002166/0.7961, allocations: 2.837 MB / 0.7737 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004217/0.7965, allocations: 12 kB / 0.7737 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-05/0.7966, allocations: 27.61 kB / 0.7737 GB, free: 13.77 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (63): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002681/0.7968, allocations: 185.6 kB / 0.7739 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.797, allocations: 51.56 kB / 0.774 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009196/0.7979, allocations: 499.1 kB / 0.7744 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.7979, allocations: 11.98 kB / 0.7744 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.7979, allocations: 0 / 0.7744 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006973/0.7986, allocations: 0.6271 MB / 0.7751 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002552/0.8012, allocations: 1.629 MB / 0.7766 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.8012, allocations: 4 kB / 0.7767 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005002/0.8017, allocations: 95.83 kB / 0.7767 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.327e-05/0.8017, allocations: 11.94 kB / 0.7768 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.616e-05/0.8018, allocations: 15.98 kB / 0.7768 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.8018, allocations: 4.312 kB / 0.7768 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.8018, allocations: 8 kB / 0.7768 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.8029, allocations: 0.7411 MB / 0.7775 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003805/0.8033, allocations: 180.4 kB / 0.7777 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.8034, allocations: 19.98 kB / 0.7777 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004875/0.8039, allocations: 19.98 kB / 0.7777 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.583e-05/0.804, allocations: 35.97 kB / 0.7778 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.417e-05/0.8041, allocations: 27.97 kB / 0.7778 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003773/0.8045, allocations: 291.1 kB / 0.7781 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8045, allocations: 0 / 0.7781 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001181/0.8057, allocations: 283.8 kB / 0.7783 GB, free: 8.727 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 2 (volume.medium.Xi[1],volume.medium.T) * 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 (45): * Single equations (assignments): 45 * 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.0009165/0.8066, allocations: 316.2 kB / 0.7786 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001173/0.8078, allocations: 0.6692 MB / 0.7793 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.8078, allocations: 0 / 0.7793 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003115/0.8081, allocations: 191.7 kB / 0.7795 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/0.8096, allocations: 268.2 kB / 0.7797 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.8116, allocations: 1.048 MB / 0.7807 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004805/0.8121, allocations: 0.8408 MB / 0.7816 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005557/0.8127, allocations: 131.1 kB / 0.7817 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/0.8128, allocations: 51.42 kB / 0.7817 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of SimCode: time 5.1e-07/0.8129, allocations: 0 / 0.7817 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of Templates: time 0.02474/0.8376, allocations: 13.49 MB / 0.7949 GB, free: 7.719 MB / 0.6075 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated.makefile (rm -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated.sim & ./Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated.pipe 2>&1)