Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.ClosedDoors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors") translateModel(Buildings.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, 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.00155/0.00155, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.452/1.452, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.821/2.821, allocations: 472.6 MB / 0.7451 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.001451, allocations: 73.8 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3927, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 1.052/1.444, allocations: 218.5 MB / 1.282 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02959/1.474, allocations: 20.43 MB / 1.302 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003876/1.478, allocations: 59.56 kB / 1.302 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00367/1.482, allocations: 1.242 MB / 1.303 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01294/1.495, allocations: 4.076 MB / 1.307 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004954/1.5, allocations: 1.538 MB / 1.308 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01028/1.51, allocations: 6.966 MB / 1.315 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004665/1.515, allocations: 2.366 MB / 1.317 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006604/1.521, allocations: 2.361 MB / 1.32 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005915/1.527, allocations: 2.449 MB / 1.322 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009532/1.528, allocations: 343 kB / 1.322 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01013/1.538, allocations: 3.466 MB / 1.326 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001949/1.54, allocations: 1.451 MB / 1.327 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.006535/1.547, allocations: 1.867 MB / 1.329 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01585/1.563, allocations: 5.722 MB / 1.335 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.563, allocations: 0 / 1.335 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.613e-06/1.563, allocations: 0 / 1.335 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002376/1.563, allocations: 5.875 kB / 1.335 GB, free: 3.812 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.01276/1.576, allocations: 3.938 MB / 1.338 GB, free: 18.05 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/1.576, allocations: 9.688 kB / 1.338 GB, free: 18.05 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004704/1.581, allocations: 0.8275 MB / 1.339 GB, free: 17.83 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003106/1.584, allocations: 1.89 MB / 1.341 GB, free: 16.89 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/1.584, allocations: 201.9 kB / 1.341 GB, free: 16.8 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003617/1.584, allocations: 272.8 kB / 1.342 GB, free: 16.71 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004929/1.589, allocations: 3.276 MB / 1.345 GB, free: 15.55 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.183e-05/1.589, allocations: 8.188 kB / 1.345 GB, free: 15.55 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002622/1.59, allocations: 112 kB / 1.345 GB, free: 15.46 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001054/1.59, allocations: 124.1 kB / 1.345 GB, free: 15.45 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006576/1.596, allocations: 4.619 MB / 1.35 GB, free: 14.16 MB / 1.014 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.01514/1.611, allocations: 10.99 MB / 1.36 GB, free: 6.504 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005724/1.617, allocations: 4.851 MB / 1.365 GB, free: 3.676 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003275/1.62, allocations: 2.523 MB / 1.367 GB, free: 2.434 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000995/1.621, allocations: 0.8675 MB / 1.368 GB, free: 1.527 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.444e-05/1.622, allocations: 77.14 kB / 1.368 GB, free: 1.457 MB / 1.014 GB Notification: Performance of pre-optimization done (n=399): time 5.43e-06/1.622, allocations: 0 / 1.368 GB, free: 1.457 MB / 1.014 GB Notification: Performance of matching and sorting (n=399): time 0.009274/1.631, allocations: 6.027 MB / 1.374 GB, free: 14.38 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/1.631, allocations: 97.42 kB / 1.374 GB, free: 14.3 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001704/1.633, allocations: 1.226 MB / 1.376 GB, free: 13.65 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002151/1.633, allocations: 93.23 kB / 1.376 GB, free: 13.57 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005323/1.633, allocations: 0.8128 MB / 1.376 GB, free: 12.85 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.00107/1.634, allocations: 1.33 MB / 1.378 GB, free: 11.69 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007794/1.635, allocations: 0.5503 MB / 1.378 GB, free: 11.39 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 8.542e-05/1.635, allocations: 303.8 kB / 1.379 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002196/1.638, allocations: 1.606 MB / 1.38 GB, free: 10.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002395/1.64, allocations: 1.902 MB / 1.382 GB, free: 9.258 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005111/1.645, allocations: 3.844 MB / 1.386 GB, free: 5.391 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/1.645, allocations: 0 / 1.386 GB, free: 5.391 MB / 1.029 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006257/1.651, allocations: 4.189 MB / 1.39 GB, free: 1.195 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/1.651, allocations: 5.406 kB / 1.39 GB, free: 1.191 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/1.651, allocations: 4 kB / 1.39 GB, free: 1.188 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.269e-05/1.651, allocations: 23.94 kB / 1.39 GB, free: 1.164 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002707/1.654, allocations: 0.683 MB / 1.391 GB, free: 0.5234 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.143e-05/1.654, allocations: 25.56 kB / 1.391 GB, free: 0.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002485/1.657, allocations: 241.3 kB / 1.391 GB, free: 264 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002017/1.657, allocations: 111.9 kB / 1.391 GB, free: 152 kB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (430): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00134/1.658, allocations: 0.7367 MB / 1.392 GB, free: 15.45 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005061/1.659, allocations: 237.1 kB / 1.392 GB, free: 15.21 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006772/1.666, allocations: 4.635 MB / 1.396 GB, free: 10.54 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.019e-05/1.666, allocations: 39.98 kB / 1.396 GB, free: 10.5 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.394e-05/1.666, allocations: 3.938 kB / 1.396 GB, free: 10.49 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005434/1.671, allocations: 3.959 MB / 1.4 GB, free: 6.48 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01265/1.684, allocations: 8.279 MB / 1.408 GB, free: 14.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/1.684, allocations: 0 / 1.408 GB, free: 14.21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002756/1.686, allocations: 0.6556 MB / 1.409 GB, free: 13.59 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004828/1.687, allocations: 141.1 kB / 1.409 GB, free: 13.45 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002808/1.687, allocations: 83.97 kB / 1.409 GB, free: 13.37 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003449/1.691, allocations: 5.048 MB / 1.414 GB, free: 7.926 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/1.691, allocations: 0 / 1.414 GB, free: 7.926 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009558/1.7, allocations: 6.804 MB / 1.421 GB, free: 1.07 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001617/1.702, allocations: 0.7743 MB / 1.422 GB, free: 280 kB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005794/1.703, allocations: 68 kB / 1.422 GB, free: 212 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0022/1.705, allocations: 93.02 kB / 1.422 GB, free: 124 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004104/1.705, allocations: 229.4 kB / 1.422 GB, free: 15.9 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002361/1.705, allocations: 104 kB / 1.422 GB, free: 15.8 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001518/1.707, allocations: 0.8606 MB / 1.423 GB, free: 14.93 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.1e-07/1.707, allocations: 0 / 1.423 GB, free: 14.93 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002782/1.71, allocations: 1.076 MB / 1.424 GB, free: 13.86 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,volC.dynBal.medium.Xi[1],volC.dynBal.U,volC.dynBal.m,dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * 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 (393): * Single equations (assignments): 390 * 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): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006678/1.71, allocations: 341.9 kB / 1.424 GB, free: 13.55 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.02079/1.731, allocations: 11.49 MB / 1.435 GB, free: 2.141 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.731, allocations: 0 / 1.435 GB, free: 2.141 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.003474/1.735, allocations: 2.551 MB / 1.438 GB, free: 15.62 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005296/1.74, allocations: 1.07 MB / 1.439 GB, free: 14.57 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/1.75, allocations: 6.657 MB / 1.445 GB, free: 7.887 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001846/1.752, allocations: 1.935 MB / 1.447 GB, free: 5.91 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.003801/1.756, allocations: 1.223 MB / 1.449 GB, free: 4.68 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001027/1.757, allocations: 235.4 kB / 1.449 GB, free: 4.449 MB / 1.092 GB Notification: Performance of SimCode: time 7.72e-07/1.757, allocations: 0 / 1.449 GB, free: 4.449 MB / 1.092 GB Notification: Performance of Templates: time 0.07693/1.834, allocations: 47.65 MB / 1.495 GB, free: 5.457 MB / 1.139 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)