Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesPTDecoupled.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.GasesPTDecoupled.Examples.TestMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir") translateModel(Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005617/0.005617, allocations: 100.8 kB / 15.73 MB, free: 6.047 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.001147/0.001147, allocations: 186.5 kB / 16.67 MB, free: 5.977 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.553/1.553, allocations: 205.1 MB / 222.6 MB, free: 4.387 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.6518/0.6518, allocations: 95.48 MB / 365.4 MB, free: 9.68 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.001549/0.001549, allocations: 64.33 kB / 0.5037 GB, free: 13.42 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1796, allocations: 69.1 MB / 0.5711 GB, free: 8.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir): time 0.7002/0.8799, allocations: 184.7 MB / 0.7516 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006853/0.8868, allocations: 4.35 MB / 0.7558 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000691/0.8876, allocations: 4 kB / 0.7558 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.889, allocations: 258.5 kB / 0.7561 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001535/0.8906, allocations: 421.6 kB / 0.7565 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.008437/0.8991, allocations: 2.11 MB / 0.7585 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002173/0.9013, allocations: 1.196 MB / 0.7597 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004502/0.9017, allocations: 154.2 kB / 0.7598 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003812/0.9056, allocations: 1.066 MB / 0.7609 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001138/0.9067, allocations: 427.7 kB / 0.7613 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002801/0.907, allocations: 63.98 kB / 0.7613 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006825/0.9138, allocations: 2.226 MB / 0.7635 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006141/0.9145, allocations: 227.5 kB / 0.7637 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001034/0.9155, allocations: 326.8 kB / 0.764 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007423/0.923, allocations: 2.081 MB / 0.7661 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.923, allocations: 0 / 0.7661 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.616e-06/0.923, allocations: 0 / 0.7661 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.694e-05/0.9231, allocations: 0 / 0.7661 GB, free: 6.707 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.00385/0.9269, allocations: 1.021 MB / 0.7671 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 7.34e-05/0.927, allocations: 15.98 kB / 0.7671 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005565/0.9276, allocations: 55.44 kB / 0.7671 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008263/0.9284, allocations: 370.7 kB / 0.7675 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.164e-05/0.9285, allocations: 36.88 kB / 0.7675 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.9286, allocations: 48 kB / 0.7676 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.9299, allocations: 0.4906 MB / 0.7681 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.9299, allocations: 0 / 0.7681 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-05/0.93, allocations: 20 kB / 0.7681 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.93, allocations: 12 kB / 0.7681 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.9311, allocations: 0.5699 MB / 0.7686 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004214/0.9353, allocations: 2.139 MB / 0.7707 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.9368, allocations: 0.539 MB / 0.7713 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000478/0.9373, allocations: 266 kB / 0.7715 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000865/0.9382, allocations: 0.6931 MB / 0.7722 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.571e-05/0.9382, allocations: 42.94 kB / 0.7722 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=52): time 2.164e-06/0.9382, allocations: 0 / 0.7722 GB, free: 15.93 MB / 0.5919 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 Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=55): time 0.009399/0.9477, allocations: 2.743 MB / 0.7749 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001446/0.9478, allocations: 59.97 kB / 0.775 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000515/0.9483, allocations: 326.8 kB / 0.7753 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001097/0.9485, allocations: 37.7 kB / 0.7753 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002903/0.9488, allocations: 192.4 kB / 0.7755 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000196/0.949, allocations: 193.3 kB / 0.7757 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002047/0.9492, allocations: 106.1 kB / 0.7758 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002054/0.9494, allocations: 350.8 kB / 0.7761 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003711/0.9498, allocations: 193 kB / 0.7763 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004639/0.9503, allocations: 268.8 kB / 0.7766 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008447/0.9511, allocations: 0.4994 MB / 0.777 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.9511, allocations: 0 / 0.777 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001186/0.9523, allocations: 0.6182 MB / 0.7776 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/0.9524, allocations: 4 kB / 0.7777 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.9524, allocations: 4 kB / 0.7777 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001741/0.9526, allocations: 45.64 kB / 0.7777 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005992/0.9532, allocations: 120 kB / 0.7778 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002686/0.9559, allocations: 2.831 MB / 0.7806 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004297/0.9563, allocations: 20.08 kB / 0.7806 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.784e-05/0.9564, allocations: 20 kB / 0.7806 GB, free: 6.824 MB / 0.5919 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 (66): * Single equations (assignments): 64 * 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.0003833/0.9568, allocations: 193.7 kB / 0.7808 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.957, allocations: 39.53 kB / 0.7808 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/0.9583, allocations: 0.6413 MB / 0.7815 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.9583, allocations: 11.94 kB / 0.7815 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.9583, allocations: 0 / 0.7815 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009415/0.9593, allocations: 0.711 MB / 0.7822 GB, free: 5.141 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002342/0.9616, allocations: 1.218 MB / 0.7834 GB, free: 3.855 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.617e-06/0.9616, allocations: 0 / 0.7834 GB, free: 3.855 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/0.9628, allocations: 199.8 kB / 0.7836 GB, free: 3.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-05/0.9628, allocations: 7.938 kB / 0.7836 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.852e-05/0.9629, allocations: 11.98 kB / 0.7836 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004959/0.9634, allocations: 0.5978 MB / 0.7842 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.9634, allocations: 0 / 0.7842 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001564/0.965, allocations: 0.8692 MB / 0.785 GB, free: 2.129 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004184/0.9654, allocations: 184.6 kB / 0.7852 GB, free: 1.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.717e-05/0.9655, allocations: 12 kB / 0.7852 GB, free: 1.918 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005188/0.966, allocations: 27.97 kB / 0.7852 GB, free: 1.891 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.891e-05/0.9661, allocations: 36.45 kB / 0.7853 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.341e-05/0.9662, allocations: 27.98 kB / 0.7853 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003899/0.9666, allocations: 243 kB / 0.7855 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9666, allocations: 0 / 0.7855 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001451/0.9681, allocations: 319.8 kB / 0.7858 GB, free: 1.281 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.U) * 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 (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001396/0.9695, allocations: 398.5 kB / 0.7862 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001429/0.9709, allocations: 0.7234 MB / 0.7869 GB, free: 136 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.971, allocations: 0 / 0.7869 GB, free: 136 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001262/0.9722, allocations: 351 kB / 0.7872 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/0.974, allocations: 303.4 kB / 0.7875 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002672/0.9766, allocations: 1.107 MB / 0.7886 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005592/0.9772, allocations: 0.853 MB / 0.7894 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006029/0.9778, allocations: 124.3 kB / 0.7896 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.978, allocations: 51.42 kB / 0.7896 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of SimCode: time 4.4e-07/0.978, allocations: 0 / 0.7896 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of Templates: time 0.02746/1.005, allocations: 15.28 MB / 0.8045 GB, free: 14.1 MB / 0.6231 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir.makefile (rm -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir.sim & ./Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir.pipe 2>&1)