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.001231/0.001231, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001411/0.001411, allocations: 197.9 kB / 16.14 MB, free: 6.695 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.489/1.489, allocations: 222.9 MB / 239.8 MB, free: 4.656 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.131/3.131, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 65.23 kB / 0.9113 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3703, allocations: 159.9 MB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 1.03/1.4, allocations: 216.2 MB / 1.279 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02918/1.429, allocations: 20.74 MB / 1.299 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004119/1.433, allocations: 48.47 kB / 1.299 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004163/1.438, allocations: 1.092 MB / 1.3 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01354/1.451, allocations: 3.849 MB / 1.304 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005471/1.457, allocations: 1.383 MB / 1.305 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01294/1.47, allocations: 9.513 MB / 1.314 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004403/1.474, allocations: 2.009 MB / 1.316 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007696/1.482, allocations: 2.035 MB / 1.318 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008135/1.49, allocations: 2.531 MB / 1.321 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002011/1.492, allocations: 183.9 kB / 1.321 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01197/1.504, allocations: 3.951 MB / 1.325 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003418/1.508, allocations: 1.299 MB / 1.326 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.006345/1.514, allocations: 1.697 MB / 1.328 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01523/1.529, allocations: 5.823 MB / 1.333 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.757e-06/1.529, allocations: 4 kB / 1.333 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.452e-06/1.529, allocations: 0 / 1.333 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000288/1.529, allocations: 0 / 1.333 GB, free: 2.922 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.01674/1.546, allocations: 3.944 MB / 1.337 GB, free: 17.39 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/1.546, allocations: 10.94 kB / 1.337 GB, free: 17.39 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006403/1.553, allocations: 0.8283 MB / 1.338 GB, free: 17.21 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005501/1.558, allocations: 1.891 MB / 1.34 GB, free: 16.71 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002748/1.559, allocations: 198.8 kB / 1.34 GB, free: 16.7 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001454/1.56, allocations: 270.8 kB / 1.34 GB, free: 16.7 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009437/1.569, allocations: 3.277 MB / 1.344 GB, free: 16.45 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001379/1.57, allocations: 2.812 kB / 1.344 GB, free: 16.45 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008293/1.571, allocations: 114.8 kB / 1.344 GB, free: 16.37 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000157/1.571, allocations: 125.3 kB / 1.344 GB, free: 16.35 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009912/1.581, allocations: 4.622 MB / 1.348 GB, free: 14.32 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.02409/1.605, allocations: 10.87 MB / 1.359 GB, free: 6.102 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008113/1.613, allocations: 4.859 MB / 1.364 GB, free: 3.254 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005041/1.618, allocations: 2.523 MB / 1.366 GB, free: 2.012 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001383/1.619, allocations: 0.8701 MB / 1.367 GB, free: 1.105 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.854e-05/1.62, allocations: 73.36 kB / 1.367 GB, free: 1.039 MB / 1.014 GB Notification: Performance of pre-optimization done (n=399): time 7.484e-06/1.62, allocations: 0 / 1.367 GB, free: 1.039 MB / 1.014 GB Notification: Performance of matching and sorting (n=399): time 0.01378/1.633, allocations: 6.029 MB / 1.373 GB, free: 13.96 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.486e-05/1.633, allocations: 95.52 kB / 1.373 GB, free: 13.89 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002714/1.636, allocations: 1.229 MB / 1.374 GB, free: 13.23 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0007866/1.637, allocations: 94.55 kB / 1.374 GB, free: 13.14 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007322/1.638, allocations: 0.8084 MB / 1.375 GB, free: 12.43 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.002239/1.64, allocations: 1.337 MB / 1.376 GB, free: 11.27 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002092/1.642, allocations: 0.5505 MB / 1.377 GB, free: 10.96 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001201/1.642, allocations: 301.1 kB / 1.377 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003407/1.646, allocations: 1.604 MB / 1.379 GB, free: 9.688 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00368/1.649, allocations: 1.905 MB / 1.381 GB, free: 7.738 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007207/1.657, allocations: 3.842 MB / 1.384 GB, free: 3.852 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.871e-05/1.657, allocations: 0 / 1.384 GB, free: 3.852 MB / 1.029 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01031/1.667, allocations: 4.184 MB / 1.389 GB, free: 15.66 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.169e-05/1.667, allocations: 10.28 kB / 1.389 GB, free: 15.65 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.244e-05/1.667, allocations: 8.859 kB / 1.389 GB, free: 15.64 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.073e-05/1.667, allocations: 16 kB / 1.389 GB, free: 15.63 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003691/1.671, allocations: 0.6826 MB / 1.389 GB, free: 14.99 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001035/1.671, allocations: 19.94 kB / 1.389 GB, free: 14.97 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004247/1.675, allocations: 409.1 kB / 1.39 GB, free: 14.57 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007262/1.676, allocations: 108 kB / 1.39 GB, free: 14.46 MB / 1.045 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.002868/1.679, allocations: 0.728 MB / 1.39 GB, free: 13.77 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001546/1.68, allocations: 241.1 kB / 1.391 GB, free: 13.53 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01099/1.691, allocations: 4.633 MB / 1.395 GB, free: 8.855 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-05/1.692, allocations: 40 kB / 1.395 GB, free: 8.816 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.197e-05/1.692, allocations: 0 / 1.395 GB, free: 8.816 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00775/1.699, allocations: 3.963 MB / 1.399 GB, free: 4.801 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01816/1.718, allocations: 8.284 MB / 1.407 GB, free: 12.53 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-05/1.718, allocations: 0 / 1.407 GB, free: 12.53 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003265/1.721, allocations: 0.6556 MB / 1.408 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005652/1.721, allocations: 141.1 kB / 1.408 GB, free: 11.77 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004327/1.722, allocations: 83.97 kB / 1.408 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004479/1.726, allocations: 4.528 MB / 1.413 GB, free: 6.773 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/1.726, allocations: 0 / 1.413 GB, free: 6.773 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01381/1.74, allocations: 6.815 MB / 1.419 GB, free: 15.9 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002344/1.743, allocations: 0.7665 MB / 1.42 GB, free: 15.12 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007782/1.743, allocations: 68 kB / 1.42 GB, free: 15.05 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00308/1.747, allocations: 214.1 kB / 1.42 GB, free: 14.84 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005466/1.747, allocations: 226.8 kB / 1.42 GB, free: 14.62 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003152/1.747, allocations: 112 kB / 1.421 GB, free: 14.51 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00175/1.749, allocations: 0.8632 MB / 1.421 GB, free: 13.65 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.5e-07/1.749, allocations: 0 / 1.421 GB, free: 13.65 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.004156/1.753, allocations: 1.084 MB / 1.422 GB, free: 12.56 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.000897/1.754, allocations: 345.7 kB / 1.423 GB, free: 12.26 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00719/1.762, allocations: 4.04 MB / 1.427 GB, free: 8.258 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.876e-06/1.762, allocations: 4 kB / 1.427 GB, free: 8.254 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.004165/1.766, allocations: 2.543 MB / 1.429 GB, free: 5.746 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005837/1.772, allocations: 1.031 MB / 1.43 GB, free: 4.723 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/1.783, allocations: 7.845 MB / 1.438 GB, free: 12.85 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001608/1.785, allocations: 1.943 MB / 1.44 GB, free: 10.86 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.005389/1.79, allocations: 1.223 MB / 1.441 GB, free: 9.633 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001641/1.792, allocations: 243.4 kB / 1.441 GB, free: 9.395 MB / 1.092 GB Notification: Performance of SimCode: time 1.302e-06/1.792, allocations: 0 / 1.441 GB, free: 9.395 MB / 1.092 GB Notification: Performance of Templates: time 0.08464/1.877, allocations: 45.6 MB / 1.486 GB, free: 12.39 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)