Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir.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.TestMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir") translateModel(Buildings.Media.PerfectGases.Examples.TestMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009991/0.009991, allocations: 102.1 kB / 15.73 MB, free: 6.492 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.002012/0.002012, allocations: 191.7 kB / 16.67 MB, free: 6.379 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.586/1.586, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.6398/0.6398, allocations: 95.48 MB / 365.4 MB, free: 9.797 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.00149/0.00149, allocations: 64.59 kB / 0.5037 GB, free: 13.42 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1535, allocations: 69.1 MB / 0.5711 GB, free: 8.254 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.TestMoistAir): time 0.7034/0.8569, allocations: 183.5 MB / 0.7504 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005178/0.8621, allocations: 3.984 MB / 0.7543 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001912/0.8624, allocations: 4 kB / 0.7543 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008948/0.8633, allocations: 250.6 kB / 0.7545 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0007933/0.8641, allocations: 425.6 kB / 0.7549 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006026/0.8702, allocations: 2.09 MB / 0.7569 GB, free: 64 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001757/0.8719, allocations: 1.208 MB / 0.7581 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002513/0.8722, allocations: 146.4 kB / 0.7583 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002665/0.8749, allocations: 1.129 MB / 0.7594 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006065/0.8755, allocations: 439 kB / 0.7598 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.092e-05/0.8756, allocations: 64 kB / 0.7598 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004262/0.8799, allocations: 2.218 MB / 0.762 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002635/0.8801, allocations: 251.4 kB / 0.7622 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003543/0.8805, allocations: 326.8 kB / 0.7626 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003302/0.8838, allocations: 2.058 MB / 0.7646 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.8838, allocations: 0 / 0.7646 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8838, allocations: 0 / 0.7646 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.8839, allocations: 0 / 0.7646 GB, free: 8.234 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002158/0.886, allocations: 1.018 MB / 0.7656 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/0.8861, allocations: 11.98 kB / 0.7656 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003689/0.8865, allocations: 67.05 kB / 0.7656 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006201/0.8871, allocations: 374.7 kB / 0.766 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.564e-05/0.8871, allocations: 33 kB / 0.766 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.624e-05/0.8872, allocations: 43.98 kB / 0.7661 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009007/0.8881, allocations: 0.5062 MB / 0.7666 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.8882, allocations: 0 / 0.7666 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-05/0.8882, allocations: 16 kB / 0.7666 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.8883, allocations: 15.94 kB / 0.7666 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009395/0.8892, allocations: 0.6012 MB / 0.7672 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003237/0.8925, allocations: 2.16 MB / 0.7693 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.8936, allocations: 0.5587 MB / 0.7698 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004029/0.8941, allocations: 259.9 kB / 0.7701 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005811/0.8946, allocations: 0.6931 MB / 0.7708 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.8947, allocations: 43 kB / 0.7708 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 1.994e-06/0.8947, allocations: 0 / 0.7708 GB, free: 1.375 MB / 0.5762 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=54): time 0.007207/0.9019, allocations: 2.783 MB / 0.7735 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.902, allocations: 55.84 kB / 0.7736 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003546/0.9024, allocations: 311 kB / 0.7739 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.985e-05/0.9024, allocations: 41.62 kB / 0.7739 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.9026, allocations: 192.4 kB / 0.7741 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.9027, allocations: 189.2 kB / 0.7743 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/0.9029, allocations: 102.2 kB / 0.7744 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.903, allocations: 346.8 kB / 0.7747 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003347/0.9034, allocations: 201 kB / 0.7749 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003816/0.9037, allocations: 267.2 kB / 0.7751 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007317/0.9045, allocations: 499.7 kB / 0.7756 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.9045, allocations: 0 / 0.7756 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009869/0.9055, allocations: 0.6095 MB / 0.7762 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.9055, allocations: 8 kB / 0.7762 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.9055, allocations: 160 / 0.7762 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001468/0.9057, allocations: 53.62 kB / 0.7763 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005102/0.9062, allocations: 111.8 kB / 0.7764 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00216/0.9084, allocations: 2.831 MB / 0.7792 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003561/0.9088, allocations: 15.98 kB / 0.7792 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.303e-05/0.9088, allocations: 21.72 kB / 0.7792 GB, free: 8.262 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (64): * Single equations (assignments): 62 * 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.0002806/0.9091, allocations: 185.8 kB / 0.7794 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.9092, allocations: 47.47 kB / 0.7794 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001323/0.9106, allocations: 0.6967 MB / 0.7801 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.503e-06/0.9106, allocations: 4 kB / 0.7801 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.9106, allocations: 4 kB / 0.7801 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009872/0.9116, allocations: 0.7665 MB / 0.7808 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002668/0.9143, allocations: 1.378 MB / 0.7822 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.9143, allocations: 4 kB / 0.7822 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004448/0.9147, allocations: 87.83 kB / 0.7823 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001404/0.9161, allocations: 276.6 kB / 0.7825 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.097e-05/0.9162, allocations: 15.98 kB / 0.7826 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005363/0.9167, allocations: 0.6615 MB / 0.7832 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.9168, allocations: 0 / 0.7832 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00215/0.9189, allocations: 1.056 MB / 0.7842 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003497/0.9193, allocations: 184.5 kB / 0.7844 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.466e-05/0.9193, allocations: 16 kB / 0.7844 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004461/0.9198, allocations: 20.08 kB / 0.7844 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.114e-05/0.9199, allocations: 40.53 kB / 0.7845 GB, free: 2.598 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.774e-05/0.9199, allocations: 32.84 kB / 0.7845 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002666/0.9202, allocations: 237.9 kB / 0.7847 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9202, allocations: 0 / 0.7847 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001012/0.9212, allocations: 299.8 kB / 0.785 GB, free: 2.043 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007589/0.922, allocations: 374.7 kB / 0.7854 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001195/0.9232, allocations: 0.7318 MB / 0.7861 GB, free: 0.9141 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.9232, allocations: 0 / 0.7861 GB, free: 0.9141 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004767/0.9237, allocations: 271.1 kB / 0.7864 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/0.9252, allocations: 310.9 kB / 0.7867 GB, free: 356 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/0.9273, allocations: 1.101 MB / 0.7877 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000437/0.9278, allocations: 0.8447 MB / 0.7886 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005012/0.9283, allocations: 124.3 kB / 0.7887 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.9284, allocations: 51.42 kB / 0.7887 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of SimCode: time 7.51e-07/0.9285, allocations: 0 / 0.7887 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of Templates: time 0.02513/0.9536, allocations: 15.77 MB / 0.8041 GB, free: 14.48 MB / 0.6231 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir.makefile (rm -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir.pipe ; mkfifo Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir.pipe >> ../files/Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir.sim & ./Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.PerfectGases.Examples.TestMoistAir.pipe 2>&1)