Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor") translateModel(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, 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.001567/0.001567, allocations: 196.8 kB / 16.14 MB, free: 6.715 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.481/1.481, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002702/0.002702, allocations: 283.1 kB / 290.2 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.102/1.102, allocations: 178.6 MB / 0.5068 GB, free: 4.773 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002758/0.002758, allocations: 94.86 kB / 0.6057 GB, free: 25.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.1853, allocations: 89.15 MB / 0.6928 GB, free: 4.809 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor): time 0.5244/0.7097, allocations: 164.6 MB / 0.8535 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01439/0.7242, allocations: 8.577 MB / 0.8619 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00199/0.7262, allocations: 31.94 kB / 0.8619 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002077/0.7283, allocations: 492 kB / 0.8624 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004748/0.7331, allocations: 1.454 MB / 0.8638 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002798/0.7359, allocations: 0.8825 MB / 0.8647 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006782/0.7427, allocations: 5.404 MB / 0.8699 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002037/0.7448, allocations: 1.107 MB / 0.871 GB, free: 3.668 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003072/0.7479, allocations: 1.293 MB / 0.8723 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002741/0.7506, allocations: 1.54 MB / 0.8738 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003101/0.751, allocations: 110.5 kB / 0.8739 GB, free: 2.117 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002792/0.7538, allocations: 1.054 MB / 0.8749 GB, free: 1.48 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007151/0.7545, allocations: 0.5803 MB / 0.8755 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001566/0.7561, allocations: 0.9409 MB / 0.8764 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004006/0.7601, allocations: 2.672 MB / 0.879 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.7601, allocations: 0 / 0.879 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.442e-06/0.7601, allocations: 0 / 0.879 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.911e-05/0.7602, allocations: 0 / 0.879 GB, free: 13.27 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.005451/0.7657, allocations: 2.271 MB / 0.8812 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/0.7657, allocations: 8.031 kB / 0.8812 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005472/0.7663, allocations: 194.8 kB / 0.8814 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00219/0.7685, allocations: 1.174 MB / 0.8826 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.595e-05/0.7686, allocations: 119 kB / 0.8827 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002307/0.7688, allocations: 148 kB / 0.8828 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003393/0.7722, allocations: 1.923 MB / 0.8847 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.743e-05/0.7723, allocations: 7.891 kB / 0.8847 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000147/0.7724, allocations: 64 kB / 0.8848 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.259e-05/0.7725, allocations: 36 kB / 0.8848 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004252/0.7767, allocations: 2.475 MB / 0.8872 GB, free: 4.715 MB / 0.6075 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.009196/0.7859, allocations: 6.085 MB / 0.8932 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00419/0.7901, allocations: 2.795 MB / 0.8959 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002347/0.7925, allocations: 1.421 MB / 0.8973 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001993/0.7945, allocations: 1.738 MB / 0.899 GB, free: 7.934 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.136e-05/0.7946, allocations: 64.5 kB / 0.899 GB, free: 7.859 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=237): time 4.028e-06/0.7946, allocations: 0 / 0.899 GB, free: 7.859 MB / 0.6231 GB Notification: Performance of matching and sorting (n=237): time 0.006369/0.801, allocations: 3.438 MB / 0.9024 GB, free: 4.375 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.108e-05/0.8011, allocations: 77.41 kB / 0.9025 GB, free: 4.289 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.8023, allocations: 0.7665 MB / 0.9032 GB, free: 3.512 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001401/0.8024, allocations: 61.7 kB / 0.9033 GB, free: 3.445 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004743/0.8029, allocations: 486.2 kB / 0.9037 GB, free: 2.961 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007897/0.8037, allocations: 0.7968 MB / 0.9045 GB, free: 2.152 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005429/0.8042, allocations: 343.6 kB / 0.9048 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000207/0.8045, allocations: 305.1 kB / 0.9051 GB, free: 1.508 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001615/0.8061, allocations: 0.9031 MB / 0.906 GB, free: 0.6016 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001897/0.808, allocations: 1.121 MB / 0.9071 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003794/0.8118, allocations: 2.227 MB / 0.9093 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.8118, allocations: 0 / 0.9093 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004314/0.8161, allocations: 2.428 MB / 0.9117 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.8162, allocations: 7.984 kB / 0.9117 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.8162, allocations: 4 kB / 0.9117 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.154e-05/0.8162, allocations: 15.94 kB / 0.9117 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001728/0.818, allocations: 443.8 kB / 0.9121 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.593e-05/0.818, allocations: 12 kB / 0.9121 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.8194, allocations: 206.3 kB / 0.9123 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001737/0.8195, allocations: 75.47 kB / 0.9124 GB, free: 9.965 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (261): * Single equations (assignments): 261 * 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.0008065/0.8204, allocations: 441.2 kB / 0.9128 GB, free: 9.523 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003145/0.8207, allocations: 142.3 kB / 0.9129 GB, free: 9.383 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005082/0.8258, allocations: 2.731 MB / 0.9156 GB, free: 6.633 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-05/0.8258, allocations: 24 kB / 0.9156 GB, free: 6.609 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.8258, allocations: 4 kB / 0.9156 GB, free: 6.605 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003918/0.8298, allocations: 2.377 MB / 0.918 GB, free: 4.172 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007483/0.8373, allocations: 4.294 MB / 0.9222 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.8373, allocations: 3.938 kB / 0.9222 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001726/0.839, allocations: 407.4 kB / 0.9225 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005805/0.8396, allocations: 105.7 kB / 0.9226 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001501/0.8398, allocations: 51.98 kB / 0.9227 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/0.8409, allocations: 1.12 MB / 0.9238 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.8409, allocations: 0 / 0.9238 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006879/0.8478, allocations: 4.061 MB / 0.9278 GB, free: 9.984 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001241/0.8491, allocations: 482.5 kB / 0.9282 GB, free: 9.492 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002453/0.8493, allocations: 40 kB / 0.9283 GB, free: 9.453 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.8503, allocations: 106 kB / 0.9284 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003186/0.8506, allocations: 137.8 kB / 0.9285 GB, free: 9.219 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/0.8508, allocations: 67.98 kB / 0.9286 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008475/0.8517, allocations: 0.5342 MB / 0.9291 GB, free: 8.613 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8517, allocations: 0 / 0.9291 GB, free: 8.613 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001772/0.8534, allocations: 0.6514 MB / 0.9297 GB, free: 7.961 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.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 (237): * Single equations (assignments): 235 * 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,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000812/0.8543, allocations: 382.7 kB / 0.9301 GB, free: 7.574 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004067/0.8583, allocations: 2.313 MB / 0.9323 GB, free: 5.27 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.8584, allocations: 0.9375 kB / 0.9323 GB, free: 5.27 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002109/0.8605, allocations: 1.28 MB / 0.9336 GB, free: 3.988 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002482/0.863, allocations: 0.5446 MB / 0.9341 GB, free: 3.453 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006489/0.8695, allocations: 4.473 MB / 0.9385 GB, free: 14.95 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/0.8705, allocations: 1.343 MB / 0.9398 GB, free: 13.58 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002174/0.8727, allocations: 0.7228 MB / 0.9405 GB, free: 12.85 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005317/0.8733, allocations: 159.3 kB / 0.9407 GB, free: 12.69 MB / 0.67 GB Notification: Performance of SimCode: time 5.81e-07/0.8733, allocations: 0 / 0.9407 GB, free: 12.69 MB / 0.67 GB Notification: Performance of Templates: time 0.05578/0.9291, allocations: 26.52 MB / 0.9666 GB, free: 2.492 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)