Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.PerfectGases.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.PerfectGases.Examples.TestMoistAirUnsaturated,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated") translateModel(Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008486/0.0008488, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.00088/0.0008799, allocations: 168.7 kB / 15.95 MB, free: 204 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.818/1.818, allocations: 205.4 MB / 222.1 MB, free: 5.883 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.7392/0.7392, allocations: 95.63 MB / 366 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.0008485/0.0008487, allocations: 16.22 kB / 446.9 MB, free: 9.426 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4476/0.4485, allocations: 70.34 MB / 0.5051 GB, free: 16.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated): time 0.6426/1.091, allocations: 165.8 MB / 0.667 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003669/1.095, allocations: 2.966 MB / 0.6699 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004471/1.095, allocations: 8.656 kB / 0.6699 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008296/1.096, allocations: 170.2 kB / 0.6701 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008426/1.097, allocations: 387.6 kB / 0.6705 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003361/1.1, allocations: 0.9079 MB / 0.6713 GB, free: 332 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001626/1.102, allocations: 1.413 MB / 0.6727 GB, free: 124 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002758/1.102, allocations: 105.8 kB / 0.6728 GB, free: 100 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003179/1.106, allocations: 0.7173 MB / 0.6735 GB, free: 0 / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/1.107, allocations: 425.4 kB / 0.6739 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.142e-05/1.107, allocations: 23.09 kB / 0.674 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003745/1.11, allocations: 0.7365 MB / 0.6747 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004382/1.111, allocations: 199.9 kB / 0.6749 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003061/1.111, allocations: 135.6 kB / 0.675 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002475/1.114, allocations: 0.9997 MB / 0.676 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.099e-05/1.114, allocations: 0 / 0.676 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.746e-06/1.114, allocations: 2.156 kB / 0.676 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.214e-05/1.114, allocations: 0 / 0.676 GB, free: 15.74 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002449/1.116, allocations: 0.7941 MB / 0.6767 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.327e-05/1.116, allocations: 13.3 kB / 0.6768 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004461/1.117, allocations: 61.67 kB / 0.6768 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007426/1.117, allocations: 349.2 kB / 0.6772 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.532e-05/1.118, allocations: 31.03 kB / 0.6772 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/1.118, allocations: 44.38 kB / 0.6772 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/1.119, allocations: 491 kB / 0.6777 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/1.119, allocations: 3.312 kB / 0.6777 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.351e-05/1.119, allocations: 17.53 kB / 0.6777 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.211e-05/1.119, allocations: 15.53 kB / 0.6777 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008986/1.12, allocations: 0.5436 MB / 0.6783 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003352/1.123, allocations: 2.119 MB / 0.6803 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006783/1.124, allocations: 399.3 kB / 0.6807 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002998/1.124, allocations: 214.3 kB / 0.6809 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006193/1.125, allocations: 0.6994 MB / 0.6816 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/1.125, allocations: 36.44 kB / 0.6816 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 2.685e-06/1.125, allocations: 0 / 0.6816 GB, free: 12.54 MB / 0.4981 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T 2: volume.medium.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=46): time 0.004229/1.129, allocations: 2.205 MB / 0.6838 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.449e-05/1.129, allocations: 64.44 kB / 0.6838 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004046/1.13, allocations: 330.3 kB / 0.6842 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.944e-05/1.13, allocations: 33.98 kB / 0.6842 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/1.13, allocations: 205.1 kB / 0.6844 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/1.13, allocations: 162.7 kB / 0.6845 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-05/1.13, allocations: 7.188 kB / 0.6846 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002047/1.13, allocations: 344.9 kB / 0.6849 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/1.13, allocations: 181.2 kB / 0.6851 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003374/1.131, allocations: 253.5 kB / 0.6853 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003404/1.131, allocations: 207.6 kB / 0.6855 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.131, allocations: 7.891 kB / 0.6855 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008836/1.132, allocations: 0.57 MB / 0.6861 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/1.132, allocations: 5.375 kB / 0.6861 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/1.132, allocations: 3.062 kB / 0.6861 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001332/1.132, allocations: 36.98 kB / 0.6861 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004555/1.133, allocations: 107.8 kB / 0.6862 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002236/1.135, allocations: 2.628 MB / 0.6888 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000419/1.135, allocations: 29.52 kB / 0.6888 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.115e-05/1.135, allocations: 25.61 kB / 0.6888 GB, free: 7.727 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (58): * Single equations (assignments): 56 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003059/1.136, allocations: 190 kB / 0.689 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.837e-05/1.136, allocations: 39.09 kB / 0.689 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/1.137, allocations: 0.5733 MB / 0.6896 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/1.137, allocations: 10.53 kB / 0.6896 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/1.137, allocations: 0 / 0.6896 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007757/1.138, allocations: 0.6697 MB / 0.6903 GB, free: 7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001716/1.139, allocations: 1.14 MB / 0.6914 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/1.14, allocations: 4.094 kB / 0.6914 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004259/1.14, allocations: 94.14 kB / 0.6915 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004505/1.14, allocations: 89.56 kB / 0.6916 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.167e-05/1.14, allocations: 9.219 kB / 0.6916 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004103/1.141, allocations: 0.5691 MB / 0.6921 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/1.141, allocations: 0 / 0.6921 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/1.142, allocations: 0.8022 MB / 0.6929 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002992/1.142, allocations: 190.3 kB / 0.6931 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.328e-05/1.143, allocations: 10.75 kB / 0.6931 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004526/1.143, allocations: 31.12 kB / 0.6931 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.451e-05/1.143, allocations: 29.28 kB / 0.6932 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.355e-05/1.143, allocations: 32.06 kB / 0.6932 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000296/1.143, allocations: 244.3 kB / 0.6934 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.143, allocations: 0 / 0.6934 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001031/1.144, allocations: 287.1 kB / 0.6937 GB, free: 5.273 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (volume.medium.Xi[1],volume.U,volume.m) * 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 (48): * Single equations (assignments): 47 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.000806/1.145, allocations: 320.6 kB / 0.694 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001128/1.146, allocations: 0.6558 MB / 0.6946 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.146, allocations: 3.219 kB / 0.6946 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004302/1.147, allocations: 241 kB / 0.6949 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001383/1.148, allocations: 276.2 kB / 0.6951 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002355/1.151, allocations: 1.297 MB / 0.6964 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005548/1.151, allocations: 0.8375 MB / 0.6972 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006194/1.152, allocations: 120.4 kB / 0.6973 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/1.152, allocations: 49.77 kB / 0.6974 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of SimCode: time 1.022e-06/1.152, allocations: 0 / 0.6974 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of Templates: time 0.02436/1.176, allocations: 12.78 MB / 0.7099 GB, free: 12.41 MB / 0.5137 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated.pipe ; mkfifo Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated.pipe >> ../files/Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated.sim & ./Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAirUnsaturated.pipe 2>&1) Environment - environmentSimulation: