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.001309/0.001309, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00158/0.00158, allocations: 190.7 kB / 16.25 MB, free: 6.625 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.626/1.626, allocations: 205.1 MB / 222.1 MB, free: 4.691 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.6225/0.6225, allocations: 95.47 MB / 364.9 MB, free: 10.06 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.001379/0.001379, allocations: 63.91 kB / 444.9 MB, free: 9.98 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.4028, allocations: 69.07 MB / 0.5019 GB, free: 17.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.TestMoistAir): time 0.5918/0.9947, allocations: 181.2 MB / 0.6788 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004776/0.9995, allocations: 3.947 MB / 0.6827 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002708/0.9998, allocations: 10.69 kB / 0.6827 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008536/1.001, allocations: 218.2 kB / 0.6829 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008331/1.002, allocations: 399.6 kB / 0.6833 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006388/1.008, allocations: 1.918 MB / 0.6852 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001817/1.01, allocations: 1.225 MB / 0.6864 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000278/1.01, allocations: 151.8 kB / 0.6865 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003266/1.013, allocations: 1.079 MB / 0.6876 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006387/1.014, allocations: 467 kB / 0.688 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.271e-05/1.014, allocations: 62.75 kB / 0.6881 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004905/1.019, allocations: 2.156 MB / 0.6902 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003471/1.019, allocations: 238.4 kB / 0.6904 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004808/1.02, allocations: 335.2 kB / 0.6907 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004508/1.024, allocations: 2.124 MB / 0.6928 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/1.024, allocations: 0 / 0.6928 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.064e-06/1.024, allocations: 0 / 0.6928 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.024e-05/1.024, allocations: 0 / 0.6928 GB, free: 7.418 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002216/1.027, allocations: 1.017 MB / 0.6938 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/1.027, allocations: 13.48 kB / 0.6938 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003601/1.027, allocations: 58.12 kB / 0.6938 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005497/1.028, allocations: 370.1 kB / 0.6942 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.527e-05/1.028, allocations: 32.09 kB / 0.6942 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.078e-05/1.028, allocations: 40.91 kB / 0.6943 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009291/1.029, allocations: 0.5067 MB / 0.6948 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/1.029, allocations: 0 / 0.6948 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-05/1.029, allocations: 22.44 kB / 0.6948 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/1.029, allocations: 14.11 kB / 0.6948 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009217/1.03, allocations: 0.5958 MB / 0.6954 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003189/1.033, allocations: 2.157 MB / 0.6975 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/1.034, allocations: 0.5533 MB / 0.698 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003616/1.034, allocations: 266 kB / 0.6983 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005662/1.035, allocations: 0.6954 MB / 0.699 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/1.035, allocations: 46.84 kB / 0.699 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 4.609e-06/1.035, allocations: 4 kB / 0.699 GB, free: 3.629 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=54): time 0.007465/1.043, allocations: 2.778 MB / 0.7017 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/1.043, allocations: 56.94 kB / 0.7018 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000369/1.043, allocations: 318.5 kB / 0.7021 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.833e-05/1.043, allocations: 36.2 kB / 0.7021 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/1.043, allocations: 193.5 kB / 0.7023 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/1.043, allocations: 189.7 kB / 0.7025 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001762/1.044, allocations: 102.6 kB / 0.7026 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001505/1.044, allocations: 346.2 kB / 0.7029 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003357/1.044, allocations: 197.8 kB / 0.7031 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003839/1.044, allocations: 269.7 kB / 0.7034 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007348/1.045, allocations: 498 kB / 0.7038 GB, free: 288 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/1.045, allocations: 1.812 kB / 0.7038 GB, free: 288 kB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001066/1.046, allocations: 0.6164 MB / 0.7044 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/1.046, allocations: 7.781 kB / 0.7044 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/1.046, allocations: 0 / 0.7044 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001322/1.046, allocations: 49.14 kB / 0.7045 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005403/1.047, allocations: 109.5 kB / 0.7046 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002211/1.049, allocations: 2.831 MB / 0.7074 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004456/1.05, allocations: 34.7 kB / 0.7074 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.348e-05/1.05, allocations: 26.78 kB / 0.7074 GB, free: 12.95 MB / 0.5137 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.0002949/1.05, allocations: 186.2 kB / 0.7076 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/1.05, allocations: 45.81 kB / 0.7076 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/1.052, allocations: 0.6935 MB / 0.7083 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/1.052, allocations: 7.781 kB / 0.7083 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/1.052, allocations: 0 / 0.7083 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000972/1.053, allocations: 0.7727 MB / 0.7091 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002682/1.055, allocations: 1.38 MB / 0.7104 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/1.055, allocations: 0 / 0.7104 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004615/1.056, allocations: 96.45 kB / 0.7105 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0014/1.057, allocations: 279.7 kB / 0.7108 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.37e-05/1.057, allocations: 12.41 kB / 0.7108 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000557/1.058, allocations: 0.6619 MB / 0.7114 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.058, allocations: 0 / 0.7114 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002258/1.06, allocations: 1.058 MB / 0.7125 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003652/1.06, allocations: 176.6 kB / 0.7126 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.299e-05/1.06, allocations: 27.83 kB / 0.7127 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005013/1.061, allocations: 27.98 kB / 0.7127 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.096e-05/1.061, allocations: 32.52 kB / 0.7127 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-05/1.061, allocations: 27.97 kB / 0.7127 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003196/1.061, allocations: 237.9 kB / 0.713 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/1.061, allocations: 4 kB / 0.713 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001244/1.063, allocations: 303.8 kB / 0.7133 GB, free: 8.582 MB / 0.5137 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.0008187/1.064, allocations: 374.7 kB / 0.7136 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001424/1.065, allocations: 0.7703 MB / 0.7144 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/1.065, allocations: 4 kB / 0.7144 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004847/1.065, allocations: 275.1 kB / 0.7146 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/1.067, allocations: 302.6 kB / 0.7149 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/1.069, allocations: 1.284 MB / 0.7162 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004634/1.07, allocations: 0.8447 MB / 0.717 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005546/1.07, allocations: 135.5 kB / 0.7171 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/1.07, allocations: 55.36 kB / 0.7172 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of SimCode: time 8.92e-07/1.07, allocations: 3.938 kB / 0.7172 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of Templates: time 0.02362/1.094, allocations: 15.37 MB / 0.7322 GB, free: 5.25 MB / 0.5294 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)