Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Examples.PressurizationData.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Airflow.Multizone.Examples.PressurizationData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow_1dat1.V_flow|pow_1dat.V_flow|pow_1dat1.dp|pow_1dat.dp",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.Examples.PressurizationData") translateModel(Buildings.Airflow.Multizone.Examples.PressurizationData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow_1dat1.V_flow|pow_1dat.V_flow|pow_1dat1.dp|pow_1dat.dp",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.Examples.PressurizationData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 106.1 kB / 16.41 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.001718/0.001718, allocations: 191.8 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.729/2.729, allocations: 437.1 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 67.89 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.29/1.292, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PressurizationData): time 0.2792/1.571, allocations: 187.3 MB / 1.35 GB, free: 7.812 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.03059/1.602, allocations: 16 MB / 1.366 GB, free: 7.777 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005011/1.607, allocations: 43.75 kB / 1.366 GB, free: 7.734 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.004103/1.611, allocations: 0.7412 MB / 1.367 GB, free: 6.988 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01219/1.623, allocations: 2.317 MB / 1.369 GB, free: 4.664 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.008481/1.632, allocations: 1.835 MB / 1.371 GB, free: 2.84 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.008424/1.64, allocations: 3.626 MB / 1.374 GB, free: 15.2 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004224/1.645, allocations: 1.934 MB / 1.376 GB, free: 13.21 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005843/1.651, allocations: 1.541 MB / 1.378 GB, free: 11.69 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00334/1.654, allocations: 1.253 MB / 1.379 GB, free: 10.43 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.000658/1.655, allocations: 212 kB / 1.379 GB, free: 10.23 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005996/1.661, allocations: 1.949 MB / 1.381 GB, free: 8.273 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.00137/1.662, allocations: 0.6465 MB / 1.382 GB, free: 7.625 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.002593/1.665, allocations: 1.135 MB / 1.383 GB, free: 6.484 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01102/1.676, allocations: 3.566 MB / 1.386 GB, free: 2.906 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 1.525e-05/1.676, allocations: 0 / 1.386 GB, free: 2.906 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.916e-06/1.676, allocations: 4 kB / 1.386 GB, free: 2.902 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001232/1.676, allocations: 4 kB / 1.386 GB, free: 2.898 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.007828/1.684, allocations: 2.612 MB / 1.389 GB, free: 224 kB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 6.684e-05/1.684, allocations: 12.03 kB / 1.389 GB, free: 212 kB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004128/1.688, allocations: 0.5255 MB / 1.389 GB, free: 15.68 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003769/1.692, allocations: 1.323 MB / 1.391 GB, free: 14.3 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001668/1.692, allocations: 131.2 kB / 1.391 GB, free: 14.17 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000366/1.692, allocations: 160 kB / 1.391 GB, free: 14.02 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004758/1.697, allocations: 1.858 MB / 1.393 GB, free: 12.08 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.405e-05/1.697, allocations: 8 kB / 1.393 GB, free: 12.07 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000218/1.697, allocations: 72 kB / 1.393 GB, free: 12 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.615e-05/1.698, allocations: 67.12 kB / 1.393 GB, free: 11.94 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004173/1.702, allocations: 1.87 MB / 1.395 GB, free: 10.06 MB / 1.123 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01479/1.717, allocations: 6.532 MB / 1.401 GB, free: 3.121 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003279/1.72, allocations: 1.582 MB / 1.402 GB, free: 1.5 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001271/1.721, allocations: 0.6515 MB / 1.403 GB, free: 0.8438 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008614/1.722, allocations: 0.6259 MB / 1.404 GB, free: 92 kB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001762/1.724, allocations: 0.8685 MB / 1.405 GB, free: 15.2 MB / 1.139 GB Notification: Performance of pre-optimization done (n=142): time 4.107e-06/1.724, allocations: 0 / 1.405 GB, free: 15.2 MB / 1.139 GB Notification: Performance of matching and sorting (n=142): time 0.006502/1.73, allocations: 2.334 MB / 1.407 GB, free: 12.79 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001538/1.731, allocations: 197.2 kB / 1.407 GB, free: 12.56 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002069/1.733, allocations: 1.104 MB / 1.408 GB, free: 11.45 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001977/1.733, allocations: 53.7 kB / 1.408 GB, free: 11.39 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008418/1.734, allocations: 0.729 MB / 1.409 GB, free: 10.65 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.000588/1.734, allocations: 0.4918 MB / 1.409 GB, free: 10.16 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004938/1.735, allocations: 263.5 kB / 1.41 GB, free: 9.891 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002049/1.735, allocations: 353.9 kB / 1.41 GB, free: 9.539 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/1.736, allocations: 0.4958 MB / 1.41 GB, free: 9.043 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001323/1.738, allocations: 0.6673 MB / 1.411 GB, free: 8.34 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002422/1.74, allocations: 1.173 MB / 1.412 GB, free: 7.137 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.842e-06/1.74, allocations: 0 / 1.412 GB, free: 7.137 MB / 1.139 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.004068/1.744, allocations: 1.568 MB / 1.414 GB, free: 5.551 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/1.744, allocations: 11.94 kB / 1.414 GB, free: 5.539 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/1.744, allocations: 0 / 1.414 GB, free: 5.539 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008416/1.745, allocations: 138.6 kB / 1.414 GB, free: 5.395 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/1.746, allocations: 315.6 kB / 1.414 GB, free: 5.086 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005229/1.752, allocations: 4.547 MB / 1.419 GB, free: 116 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00207/1.754, allocations: 147.1 kB / 1.419 GB, free: 15.97 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001542/1.754, allocations: 59.91 kB / 1.419 GB, free: 15.91 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001132/1.755, allocations: 415.2 kB / 1.419 GB, free: 15.5 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004234/1.756, allocations: 167 kB / 1.419 GB, free: 15.33 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004427/1.76, allocations: 1.8 MB / 1.421 GB, free: 13.51 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/1.76, allocations: 16 kB / 1.421 GB, free: 13.5 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/1.76, allocations: 3.938 kB / 1.421 GB, free: 13.49 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003265/1.763, allocations: 1.486 MB / 1.423 GB, free: 11.96 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007168/1.77, allocations: 3.484 MB / 1.426 GB, free: 8.418 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/1.77, allocations: 0 / 1.426 GB, free: 8.418 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001466/1.772, allocations: 295.6 kB / 1.426 GB, free: 8.129 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006774/1.773, allocations: 134.5 kB / 1.426 GB, free: 7.988 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001122/1.773, allocations: 39.97 kB / 1.426 GB, free: 7.949 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005009/1.778, allocations: 4.55 MB / 1.431 GB, free: 2.977 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.778, allocations: 80 / 1.431 GB, free: 2.977 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00568/1.784, allocations: 2.447 MB / 1.433 GB, free: 0.5078 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00117/1.785, allocations: 435.6 kB / 1.434 GB, free: 64 kB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002375/1.785, allocations: 28 kB / 1.434 GB, free: 36 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/1.786, allocations: 88 kB / 1.434 GB, free: 15.95 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003071/1.787, allocations: 105.2 kB / 1.434 GB, free: 15.84 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001439/1.787, allocations: 63.95 kB / 1.434 GB, free: 15.78 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001316/1.788, allocations: 0.7539 MB / 1.435 GB, free: 15.02 MB / 1.17 GB Notification: Performance of sort global known variables: time 2.8e-07/1.788, allocations: 0 / 1.435 GB, free: 15.02 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00204/1.79, allocations: 0.6546 MB / 1.435 GB, free: 14.36 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (room.dynBal.medium.Xi[1],room.dynBal.U,room.dynBal.m,pow_1dat.mExc,pow_1dat1.mExc) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002523/1.793, allocations: 0.7647 MB / 1.436 GB, free: 13.77 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003247/1.796, allocations: 1.655 MB / 1.438 GB, free: 12.07 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/1.796, allocations: 4.812 kB / 1.438 GB, free: 12.07 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001803/1.798, allocations: 1.066 MB / 1.439 GB, free: 10.96 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003225/1.801, allocations: 0.7197 MB / 1.44 GB, free: 10.26 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006408/1.807, allocations: 3.42 MB / 1.443 GB, free: 6.816 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001359/1.809, allocations: 1.39 MB / 1.444 GB, free: 5.391 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.002242/1.811, allocations: 480.4 kB / 1.445 GB, free: 4.914 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004894/1.812, allocations: 163.3 kB / 1.445 GB, free: 4.754 MB / 1.17 GB Notification: Performance of SimCode: time 1.302e-06/1.812, allocations: 4 kB / 1.445 GB, free: 4.75 MB / 1.17 GB Notification: Performance of Templates: time 0.06507/1.877, allocations: 32.43 MB / 1.476 GB, free: 4.637 MB / 1.201 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.PressurizationData.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.PressurizationData.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.PressurizationData -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe 2>&1)