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.009576/0.009576, allocations: 95.7 kB / 15.73 MB, free: 6.039 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.00152/0.00152, allocations: 202.8 kB / 16.68 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.59/1.59, allocations: 205.1 MB / 222.6 MB, free: 4.52 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.6497/0.6497, allocations: 95.48 MB / 365.4 MB, free: 9.766 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.001494/0.001494, allocations: 72.52 kB / 0.5037 GB, free: 13.42 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1628, allocations: 69.09 MB / 0.5711 GB, free: 8.266 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesConstantDensity.Examples.TestMoistAirUnsaturated): time 0.6215/0.7843, allocations: 182.3 MB / 0.7491 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003896/0.7883, allocations: 3.148 MB / 0.7522 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001813/0.7885, allocations: 8 kB / 0.7522 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007759/0.7893, allocations: 246.6 kB / 0.7524 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0007313/0.7901, allocations: 417.7 kB / 0.7528 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003402/0.7935, allocations: 1.33 MB / 0.7541 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001205/0.7947, allocations: 1.154 MB / 0.7553 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002307/0.7949, allocations: 141.5 kB / 0.7554 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001621/0.7966, allocations: 0.8824 MB / 0.7563 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005435/0.7971, allocations: 426.9 kB / 0.7567 GB, free: 348 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.372e-05/0.7972, allocations: 60 kB / 0.7567 GB, free: 288 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002238/0.7995, allocations: 1.275 MB / 0.758 GB, free: 15 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002673/0.7997, allocations: 235.4 kB / 0.7582 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003309/0.8001, allocations: 314.9 kB / 0.7585 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00195/0.802, allocations: 1.514 MB / 0.76 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.8021, allocations: 0 / 0.76 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.814e-06/0.8021, allocations: 0 / 0.76 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.8021, allocations: 0 / 0.76 GB, free: 12.95 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.001706/0.8038, allocations: 0.93 MB / 0.7609 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.8038, allocations: 11.98 kB / 0.7609 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003287/0.8042, allocations: 59.72 kB / 0.761 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004894/0.8047, allocations: 359 kB / 0.7613 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.8047, allocations: 33 kB / 0.7613 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.203e-05/0.8048, allocations: 44 kB / 0.7614 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008804/0.8057, allocations: 0.5378 MB / 0.7619 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/0.8057, allocations: 15.92 kB / 0.7619 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.495e-05/0.8058, allocations: 16 kB / 0.7619 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.8058, allocations: 12 kB / 0.7619 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008886/0.8067, allocations: 0.5543 MB / 0.7625 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003456/0.8102, allocations: 2.542 MB / 0.765 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006594/0.8108, allocations: 328.4 kB / 0.7653 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002609/0.8111, allocations: 177.3 kB / 0.7654 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007908/0.8119, allocations: 0.8743 MB / 0.7663 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.812, allocations: 38.84 kB / 0.7663 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.643e-06/0.812, allocations: 0 / 0.7663 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of matching and sorting (n=41): time 0.004277/0.8162, allocations: 1.714 MB / 0.768 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.8163, allocations: 55.41 kB / 0.7681 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004486/0.8168, allocations: 396.4 kB / 0.7684 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.847e-05/0.8168, allocations: 37.7 kB / 0.7685 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.817, allocations: 240.3 kB / 0.7687 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.8171, allocations: 150.8 kB / 0.7688 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001778/0.8173, allocations: 110.2 kB / 0.769 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.8175, allocations: 346.8 kB / 0.7693 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000321/0.8178, allocations: 189 kB / 0.7695 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003833/0.8182, allocations: 283.3 kB / 0.7697 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007154/0.8189, allocations: 484.1 kB / 0.7702 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.8189, allocations: 0 / 0.7702 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001/0.8199, allocations: 0.6119 MB / 0.7708 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.8199, allocations: 4.281 kB / 0.7708 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.82, allocations: 8 kB / 0.7708 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001437/0.8201, allocations: 41.7 kB / 0.7708 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006069/0.8207, allocations: 135.8 kB / 0.771 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002219/0.8229, allocations: 2.828 MB / 0.7737 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003515/0.8233, allocations: 15.98 kB / 0.7738 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.333e-05/0.8234, allocations: 23.62 kB / 0.7738 GB, free: 13.76 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.0002549/0.8236, allocations: 201.7 kB / 0.774 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.99e-05/0.8237, allocations: 43.7 kB / 0.774 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009262/0.8247, allocations: 0.4998 MB / 0.7745 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.8247, allocations: 11.92 kB / 0.7745 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.8247, allocations: 4 kB / 0.7745 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007015/0.8254, allocations: 0.6115 MB / 0.7751 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002382/0.8278, allocations: 1.644 MB / 0.7767 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.8278, allocations: 0 / 0.7767 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004716/0.8283, allocations: 99.81 kB / 0.7768 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.834e-06/0.8283, allocations: 7.938 kB / 0.7768 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-05/0.8284, allocations: 16.31 kB / 0.7768 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.8284, allocations: 11.98 kB / 0.7768 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.8284, allocations: 0 / 0.7768 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.8295, allocations: 0.7413 MB / 0.7776 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000241/0.8297, allocations: 188.7 kB / 0.7777 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.614e-05/0.8298, allocations: 8 kB / 0.7778 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005042/0.8303, allocations: 23.98 kB / 0.7778 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.851e-05/0.8304, allocations: 39.95 kB / 0.7778 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.878e-05/0.8304, allocations: 23.98 kB / 0.7778 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003197/0.8307, allocations: 291.1 kB / 0.7781 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8308, allocations: 0 / 0.7781 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009109/0.8317, allocations: 279.4 kB / 0.7784 GB, free: 8.707 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.0008239/0.8325, allocations: 323.1 kB / 0.7787 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001077/0.8336, allocations: 0.6633 MB / 0.7793 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.8336, allocations: 4 kB / 0.7793 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002847/0.8339, allocations: 192.7 kB / 0.7795 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/0.8352, allocations: 269.6 kB / 0.7798 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002128/0.8374, allocations: 1.059 MB / 0.7808 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009615/0.8384, allocations: 0.8409 MB / 0.7816 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005756/0.8389, allocations: 131 kB / 0.7818 GB, free: 5.141 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.8391, allocations: 51.42 kB / 0.7818 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of SimCode: time 4.91e-07/0.8391, allocations: 3.938 kB / 0.7818 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of Templates: time 0.02509/0.8642, allocations: 13.31 MB / 0.7948 GB, free: 7.852 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)