Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesConstantDensity.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.GasesConstantDensity.Examples.TestMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir") translateModel(Buildings.Media.GasesConstantDensity.Examples.TestMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001631/0.001632, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 196.3 kB / 16.53 MB, free: 6.664 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.651/1.651, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.6076/0.6076, allocations: 95.47 MB / 365.2 MB, free: 9.902 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.00165/0.00165, allocations: 71.89 kB / 445.3 MB, free: 9.629 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.414/0.4157, allocations: 69.07 MB / 0.5024 GB, free: 17.53 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesConstantDensity.Examples.TestMoistAir): time 0.6022/1.018, allocations: 184.7 MB / 0.6828 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004721/1.023, allocations: 4.467 MB / 0.6871 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002857/1.023, allocations: 3 kB / 0.6871 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007871/1.024, allocations: 245.4 kB / 0.6874 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000769/1.025, allocations: 431.3 kB / 0.6878 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00571/1.03, allocations: 2.124 MB / 0.6899 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001321/1.032, allocations: 1.184 MB / 0.691 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002704/1.032, allocations: 153.8 kB / 0.6912 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00251/1.034, allocations: 1.061 MB / 0.6922 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000565/1.035, allocations: 424.9 kB / 0.6926 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.454e-05/1.035, allocations: 61.45 kB / 0.6927 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004754/1.04, allocations: 2.09 MB / 0.6947 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003113/1.04, allocations: 241.9 kB / 0.6949 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004826/1.041, allocations: 327.8 kB / 0.6952 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004835/1.046, allocations: 2.097 MB / 0.6973 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/1.046, allocations: 0 / 0.6973 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.694e-06/1.046, allocations: 0 / 0.6973 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.588e-06/1.046, allocations: 0 / 0.6973 GB, free: 7.328 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.002049/1.048, allocations: 1.033 MB / 0.6983 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/1.048, allocations: 14.02 kB / 0.6983 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003389/1.048, allocations: 58.81 kB / 0.6984 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004969/1.049, allocations: 367.5 kB / 0.6987 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/1.049, allocations: 30.16 kB / 0.6987 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.486e-05/1.049, allocations: 47.75 kB / 0.6988 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008698/1.05, allocations: 0.5478 MB / 0.6993 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/1.05, allocations: 0 / 0.6993 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.757e-05/1.05, allocations: 19.5 kB / 0.6993 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/1.05, allocations: 16.39 kB / 0.6994 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008018/1.051, allocations: 0.5736 MB / 0.6999 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003357/1.054, allocations: 2.511 MB / 0.7024 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009837/1.055, allocations: 452.5 kB / 0.7028 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003268/1.055, allocations: 222 kB / 0.703 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005977/1.056, allocations: 0.7029 MB / 0.7037 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/1.056, allocations: 40.62 kB / 0.7037 GB, free: 3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=42): time 1.873e-06/1.056, allocations: 0 / 0.7037 GB, free: 3 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 Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=46): time 0.007399/1.063, allocations: 2.539 MB / 0.7062 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/1.063, allocations: 59.78 kB / 0.7063 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003876/1.064, allocations: 376.2 kB / 0.7066 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.502e-05/1.064, allocations: 35.8 kB / 0.7067 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/1.064, allocations: 222.9 kB / 0.7069 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/1.064, allocations: 162.9 kB / 0.707 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/1.064, allocations: 109.1 kB / 0.7071 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001237/1.064, allocations: 348.6 kB / 0.7075 GB, free: 320 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002918/1.065, allocations: 192.8 kB / 0.7077 GB, free: 220 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000371/1.065, allocations: 291.8 kB / 0.7079 GB, free: 12 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007084/1.066, allocations: 0.4933 MB / 0.7084 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/1.066, allocations: 3.938 kB / 0.7084 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0009591/1.067, allocations: 0.6209 MB / 0.709 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/1.067, allocations: 11.59 kB / 0.709 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/1.067, allocations: 2.781 kB / 0.709 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001402/1.067, allocations: 47.97 kB / 0.7091 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005406/1.067, allocations: 124.8 kB / 0.7092 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002092/1.07, allocations: 2.833 MB / 0.712 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000402/1.07, allocations: 21.06 kB / 0.712 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.102e-05/1.07, allocations: 25.73 kB / 0.712 GB, free: 12.35 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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.0002576/1.07, allocations: 195.9 kB / 0.7122 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/1.07, allocations: 45.78 kB / 0.7122 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009694/1.071, allocations: 0.5529 MB / 0.7128 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/1.071, allocations: 5.062 kB / 0.7128 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/1.071, allocations: 2.75 kB / 0.7128 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000709/1.072, allocations: 0.6442 MB / 0.7134 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002119/1.074, allocations: 1.604 MB / 0.715 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/1.074, allocations: 1.875 kB / 0.715 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009097/1.075, allocations: 176 kB / 0.7152 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/1.075, allocations: 2.75 kB / 0.7152 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.395e-05/1.075, allocations: 17.47 kB / 0.7152 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003011/1.076, allocations: 0.5998 MB / 0.7158 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.076, allocations: 4.906 kB / 0.7158 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/1.077, allocations: 0.8204 MB / 0.7166 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002462/1.077, allocations: 180.5 kB / 0.7167 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.7e-05/1.077, allocations: 20.05 kB / 0.7168 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004485/1.078, allocations: 19.98 kB / 0.7168 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.835e-05/1.078, allocations: 39.84 kB / 0.7168 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.329e-05/1.078, allocations: 27.97 kB / 0.7168 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000361/1.078, allocations: 275 kB / 0.7171 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.21e-07/1.078, allocations: 0 / 0.7171 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001273/1.079, allocations: 319.8 kB / 0.7174 GB, free: 7.551 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (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 (49): * Single equations (assignments): 48 * 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.0008972/1.08, allocations: 411.8 kB / 0.7178 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001217/1.081, allocations: 0.7173 MB / 0.7185 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/1.081, allocations: 0 / 0.7185 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001059/1.083, allocations: 311.9 kB / 0.7188 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/1.084, allocations: 301.3 kB / 0.7191 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/1.086, allocations: 1.05 MB / 0.7201 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/1.086, allocations: 0.8361 MB / 0.7209 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005925/1.087, allocations: 130.7 kB / 0.7211 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/1.087, allocations: 51.42 kB / 0.7211 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of SimCode: time 5.61e-07/1.087, allocations: 0 / 0.7211 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of Templates: time 0.02395/1.111, allocations: 14.64 MB / 0.7354 GB, free: 5.137 MB / 0.5294 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir.makefile (rm -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir.sim & ./Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.TestMoistAir.pipe 2>&1)