Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesPTDecoupled.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.GasesPTDecoupled.Examples.TestMoistAirUnsaturated,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated") translateModel(Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005866/0.005866, allocations: 101.6 kB / 15.73 MB, free: 5.992 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.001173/0.001173, allocations: 195.9 kB / 16.67 MB, free: 5.922 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.573/1.573, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4863/0.4863, allocations: 95.48 MB / 365.4 MB, free: 12.15 MB / 318.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.001396/0.001396, allocations: 75.89 kB / 0.5037 GB, free: 11.8 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5273/0.5287, allocations: 69.09 MB / 0.5711 GB, free: 4.145 MB / 430.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated): time 0.7225/1.251, allocations: 181.9 MB / 0.7488 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004355/1.256, allocations: 3.123 MB / 0.7518 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001928/1.256, allocations: 3.844 kB / 0.7519 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000813/1.257, allocations: 250.6 kB / 0.7521 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0007653/1.258, allocations: 416.7 kB / 0.7525 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003893/1.261, allocations: 1.307 MB / 0.7538 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001807/1.263, allocations: 1.162 MB / 0.7549 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003753/1.264, allocations: 150.4 kB / 0.755 GB, free: 1.781 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00332/1.267, allocations: 0.8896 MB / 0.7559 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008097/1.268, allocations: 419.5 kB / 0.7563 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001213/1.268, allocations: 58.59 kB / 0.7564 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003148/1.271, allocations: 1.276 MB / 0.7576 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003006/1.271, allocations: 232.7 kB / 0.7578 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000398/1.272, allocations: 315.1 kB / 0.7581 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002615/1.274, allocations: 1.489 MB / 0.7596 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/1.274, allocations: 0 / 0.7596 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.785e-06/1.275, allocations: 0 / 0.7596 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.361e-05/1.275, allocations: 4.719 kB / 0.7596 GB, free: 1.676 MB / 0.5919 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.002186/1.277, allocations: 0.8961 MB / 0.7605 GB, free: 17.12 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/1.277, allocations: 12.02 kB / 0.7605 GB, free: 17.12 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004026/1.277, allocations: 57.64 kB / 0.7605 GB, free: 17.1 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005758/1.278, allocations: 360.1 kB / 0.7609 GB, free: 16.87 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.207e-05/1.278, allocations: 35.91 kB / 0.7609 GB, free: 16.87 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.241e-05/1.278, allocations: 39.61 kB / 0.761 GB, free: 16.87 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008127/1.279, allocations: 491.9 kB / 0.7614 GB, free: 16.83 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/1.279, allocations: 3.938 kB / 0.7614 GB, free: 16.83 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.138e-05/1.279, allocations: 20.12 kB / 0.7614 GB, free: 16.83 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/1.279, allocations: 9.344 kB / 0.7615 GB, free: 16.83 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008182/1.28, allocations: 0.5474 MB / 0.762 GB, free: 16.82 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003295/1.283, allocations: 2.192 MB / 0.7641 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007675/1.284, allocations: 407.8 kB / 0.7645 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003206/1.284, allocations: 224.3 kB / 0.7647 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009187/1.285, allocations: 0.8831 MB / 0.7656 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/1.285, allocations: 42.81 kB / 0.7656 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=46): time 2.965e-06/1.285, allocations: 1.203 kB / 0.7656 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=52): time 0.004413/1.289, allocations: 1.864 MB / 0.7675 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/1.29, allocations: 60.84 kB / 0.7675 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003443/1.29, allocations: 333 kB / 0.7678 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.832e-05/1.29, allocations: 38.11 kB / 0.7679 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/1.29, allocations: 201.1 kB / 0.7681 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/1.29, allocations: 174.9 kB / 0.7682 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/1.29, allocations: 103 kB / 0.7683 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.00014/1.291, allocations: 349.8 kB / 0.7687 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002904/1.291, allocations: 194.6 kB / 0.7688 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003514/1.291, allocations: 273.2 kB / 0.7691 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007066/1.292, allocations: 497.2 kB / 0.7696 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/1.292, allocations: 2.688 kB / 0.7696 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009288/1.293, allocations: 0.6038 MB / 0.7702 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/1.293, allocations: 9.531 kB / 0.7702 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/1.293, allocations: 2.625 kB / 0.7702 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001536/1.293, allocations: 45.56 kB / 0.7702 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005994/1.294, allocations: 125.4 kB / 0.7703 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002279/1.296, allocations: 2.843 MB / 0.7731 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003787/1.296, allocations: 11.03 kB / 0.7731 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.465e-05/1.296, allocations: 24.11 kB / 0.7732 GB, free: 10.24 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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.0003132/1.297, allocations: 192.4 kB / 0.7733 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/1.297, allocations: 43.5 kB / 0.7734 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/1.298, allocations: 0.6145 MB / 0.774 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/1.298, allocations: 5.719 kB / 0.774 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/1.298, allocations: 0 / 0.774 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008508/1.299, allocations: 0.6999 MB / 0.7747 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002026/1.301, allocations: 1.237 MB / 0.7759 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/1.301, allocations: 2.406 kB / 0.7759 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005983/1.301, allocations: 128.6 kB / 0.776 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/1.302, allocations: 6.594 kB / 0.776 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.225e-05/1.302, allocations: 21.84 kB / 0.776 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/1.302, allocations: 3.234 kB / 0.776 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/1.302, allocations: 6.953 kB / 0.776 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/1.303, allocations: 0.8498 MB / 0.7769 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002952/1.303, allocations: 181.4 kB / 0.777 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.356e-05/1.303, allocations: 15.59 kB / 0.7771 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004285/1.304, allocations: 25.47 kB / 0.7771 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.832e-05/1.304, allocations: 34.52 kB / 0.7771 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.973e-05/1.304, allocations: 26.59 kB / 0.7771 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002459/1.304, allocations: 245.8 kB / 0.7774 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/1.304, allocations: 0.9375 kB / 0.7774 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009715/1.305, allocations: 275.7 kB / 0.7776 GB, free: 8.875 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (volume.medium.p,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 (56): * Single equations (assignments): 56 * 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.0006857/1.306, allocations: 335.7 kB / 0.778 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001083/1.307, allocations: 0.7022 MB / 0.7786 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/1.307, allocations: 3.312 kB / 0.7786 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003292/1.307, allocations: 243.5 kB / 0.7789 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/1.308, allocations: 287.5 kB / 0.7792 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/1.311, allocations: 1.134 MB / 0.7803 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004562/1.311, allocations: 0.8458 MB / 0.7811 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005491/1.312, allocations: 131.9 kB / 0.7812 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/1.312, allocations: 54.2 kB / 0.7813 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/1.312, allocations: 1.031 kB / 0.7813 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of Templates: time 0.0257/1.338, allocations: 14.15 MB / 0.7951 GB, free: 6.066 MB / 0.6075 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated.makefile (rm -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated.sim & ./Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAirUnsaturated.pipe 2>&1)