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.001439/0.001439, allocations: 108 kB / 15.6 MB, free: 132 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.001576/0.001576, allocations: 194 kB / 16.53 MB, free: 6.391 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.546/1.546, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.5931/0.5931, allocations: 95.48 MB / 365.2 MB, free: 9.914 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.001568/0.001568, allocations: 68.56 kB / 445.3 MB, free: 9.648 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3952/0.3968, allocations: 69.07 MB / 0.5023 GB, free: 17.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir): time 0.6724/1.069, allocations: 184.8 MB / 0.6828 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00611/1.075, allocations: 4.348 MB / 0.687 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004131/1.076, allocations: 9.531 kB / 0.687 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009271/1.077, allocations: 242.2 kB / 0.6873 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009782/1.078, allocations: 430.5 kB / 0.6877 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00721/1.085, allocations: 2.116 MB / 0.6897 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002025/1.087, allocations: 1.194 MB / 0.6909 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000307/1.087, allocations: 148 kB / 0.6911 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003776/1.091, allocations: 1.059 MB / 0.6921 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007559/1.092, allocations: 435.8 kB / 0.6925 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001128/1.092, allocations: 62.34 kB / 0.6926 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006062/1.098, allocations: 2.082 MB / 0.6946 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003941/1.099, allocations: 238.8 kB / 0.6948 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005067/1.099, allocations: 327.2 kB / 0.6951 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005659/1.105, allocations: 2.076 MB / 0.6972 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.607e-06/1.105, allocations: 0 / 0.6972 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.765e-06/1.105, allocations: 0 / 0.6972 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.112e-05/1.105, allocations: 0 / 0.6972 GB, free: 7.336 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.00251/1.107, allocations: 1.023 MB / 0.6982 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.187e-05/1.107, allocations: 14.02 kB / 0.6982 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004168/1.108, allocations: 55.53 kB / 0.6982 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005252/1.108, allocations: 364.2 kB / 0.6986 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.69e-05/1.108, allocations: 40.06 kB / 0.6986 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.026e-05/1.108, allocations: 41.22 kB / 0.6987 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009098/1.109, allocations: 0.4931 MB / 0.6991 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/1.109, allocations: 3.938 kB / 0.6991 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.102e-05/1.11, allocations: 19.41 kB / 0.6992 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/1.11, allocations: 9.406 kB / 0.6992 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009354/1.11, allocations: 0.5687 MB / 0.6997 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003494/1.114, allocations: 2.147 MB / 0.7018 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/1.115, allocations: 0.5415 MB / 0.7023 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003815/1.116, allocations: 261 kB / 0.7026 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000584/1.116, allocations: 0.6952 MB / 0.7033 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.369e-05/1.116, allocations: 45.59 kB / 0.7033 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=52): time 2.425e-06/1.116, allocations: 2.281 kB / 0.7033 GB, free: 3.277 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=55): time 0.00843/1.125, allocations: 2.732 MB / 0.706 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/1.125, allocations: 65 kB / 0.706 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000474/1.125, allocations: 318.2 kB / 0.7064 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.32e-05/1.125, allocations: 38.11 kB / 0.7064 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/1.126, allocations: 194.9 kB / 0.7066 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001869/1.126, allocations: 187 kB / 0.7068 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/1.126, allocations: 104.5 kB / 0.7069 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002092/1.126, allocations: 349.4 kB / 0.7072 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003392/1.127, allocations: 194.9 kB / 0.7074 GB, free: 436 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004175/1.127, allocations: 280.7 kB / 0.7076 GB, free: 252 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008988/1.128, allocations: 0.502 MB / 0.7081 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.128, allocations: 3.938 kB / 0.7081 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001085/1.129, allocations: 0.6038 MB / 0.7087 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/1.129, allocations: 5.031 kB / 0.7087 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/1.129, allocations: 10.23 kB / 0.7087 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001452/1.129, allocations: 50.19 kB / 0.7088 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005716/1.13, allocations: 121 kB / 0.7089 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002243/1.132, allocations: 2.84 MB / 0.7117 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003923/1.132, allocations: 13.19 kB / 0.7117 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.081e-05/1.133, allocations: 26.77 kB / 0.7117 GB, free: 12.61 MB / 0.5137 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.000394/1.133, allocations: 188.3 kB / 0.7119 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/1.133, allocations: 42.25 kB / 0.7119 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/1.134, allocations: 0.6389 MB / 0.7126 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/1.134, allocations: 11.69 kB / 0.7126 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/1.134, allocations: 4 kB / 0.7126 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009075/1.135, allocations: 0.7139 MB / 0.7133 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001993/1.137, allocations: 1.216 MB / 0.7145 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/1.137, allocations: 0 / 0.7145 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/1.139, allocations: 201.9 kB / 0.7146 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.886e-06/1.139, allocations: 4 kB / 0.7147 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.318e-05/1.139, allocations: 12 kB / 0.7147 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004804/1.139, allocations: 0.5977 MB / 0.7152 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.139, allocations: 0 / 0.7152 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/1.141, allocations: 0.8685 MB / 0.7161 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003246/1.141, allocations: 180.6 kB / 0.7163 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.662e-05/1.141, allocations: 15.94 kB / 0.7163 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004574/1.142, allocations: 23.98 kB / 0.7163 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.676e-05/1.142, allocations: 36.45 kB / 0.7163 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.878e-05/1.142, allocations: 27.92 kB / 0.7164 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003545/1.142, allocations: 251 kB / 0.7166 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/1.142, allocations: 4 kB / 0.7166 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001589/1.144, allocations: 307.8 kB / 0.7169 GB, free: 8.066 MB / 0.5137 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.001086/1.145, allocations: 404.7 kB / 0.7173 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001631/1.146, allocations: 0.7656 MB / 0.718 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/1.146, allocations: 0 / 0.718 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001129/1.148, allocations: 357.4 kB / 0.7184 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001525/1.149, allocations: 314 kB / 0.7187 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/1.151, allocations: 1.111 MB / 0.7198 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/1.152, allocations: 0.849 MB / 0.7206 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006079/1.152, allocations: 128.3 kB / 0.7207 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/1.152, allocations: 51.42 kB / 0.7208 GB, free: 4.051 MB / 0.5137 GB Notification: Performance of SimCode: time 5.51e-07/1.152, allocations: 0 / 0.7208 GB, free: 4.051 MB / 0.5137 GB Notification: Performance of Templates: time 0.02444/1.177, allocations: 15.15 MB / 0.7356 GB, free: 5.008 MB / 0.5294 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)