Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.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.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow") translateModel(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009083/0.009083, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.304/1.304, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001804/0.001804, allocations: 266.5 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9683/0.9683, allocations: 169.5 MB / 0.5004 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006038/0.0006039, allocations: 15.62 kB / 0.5986 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2003, allocations: 88.56 MB / 0.6851 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.5379/0.7383, allocations: 199.2 MB / 0.8797 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009721/0.748, allocations: 6.392 MB / 0.8859 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001248/0.7493, allocations: 35.34 kB / 0.886 GB, free: 0.8906 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001718/0.7511, allocations: 0.6403 MB / 0.8866 GB, free: 396 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006255/0.7573, allocations: 2.518 MB / 0.889 GB, free: 14.47 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition ‘zonFlo.useDefaultProperties and initial()‘. Notification: Performance of NFTyping.typeClassSections: time 0.001888/0.7592, allocations: 0.6354 MB / 0.8897 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005241/0.7645, allocations: 4.839 MB / 0.8944 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001365/0.7659, allocations: 0.9047 MB / 0.8953 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002124/0.768, allocations: 1.05 MB / 0.8963 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002307/0.7703, allocations: 1.097 MB / 0.8974 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001575/0.7705, allocations: 56 kB / 0.8974 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005022/0.7755, allocations: 2.708 MB / 0.9001 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007118/0.7763, allocations: 450.6 kB / 0.9005 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001064/0.7773, allocations: 0.6667 MB / 0.9011 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005296/0.7827, allocations: 2.851 MB / 0.9039 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.7827, allocations: 0 / 0.9039 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.283e-06/0.7827, allocations: 4 kB / 0.9039 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.695e-05/0.7827, allocations: 0 / 0.9039 GB, free: 15.72 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.003858/0.7866, allocations: 1.528 MB / 0.9054 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.7866, allocations: 8.031 kB / 0.9054 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002246/0.7889, allocations: 350.2 kB / 0.9058 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001363/0.7903, allocations: 0.8427 MB / 0.9066 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.019e-05/0.7904, allocations: 77.95 kB / 0.9067 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001714/0.7905, allocations: 112 kB / 0.9068 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001967/0.7925, allocations: 1.183 MB / 0.9079 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/0.7925, allocations: 0 / 0.9079 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.7927, allocations: 47.98 kB / 0.908 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.803e-05/0.7927, allocations: 62.06 kB / 0.908 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001932/0.7947, allocations: 1.246 MB / 0.9092 GB, free: 10.14 MB / 0.6231 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.006593/0.8013, allocations: 5.081 MB / 0.9142 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/0.8028, allocations: 1.154 MB / 0.9153 GB, free: 3.375 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007664/0.8036, allocations: 0.5051 MB / 0.9158 GB, free: 2.867 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 6.039e-05/0.8037, allocations: 16.8 kB / 0.9158 GB, free: 2.852 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007795/0.8045, allocations: 488.2 kB / 0.9163 GB, free: 2.363 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.925e-06/0.8045, allocations: 0 / 0.9163 GB, free: 2.363 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.00213/0.8066, allocations: 1.161 MB / 0.9174 GB, free: 1.195 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.8067, allocations: 64 kB / 0.9175 GB, free: 1.121 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006914/0.8074, allocations: 0.5744 MB / 0.9181 GB, free: 0.5352 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.142e-05/0.8074, allocations: 37.7 kB / 0.9181 GB, free: 0.4922 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003079/0.8078, allocations: 463.6 kB / 0.9185 GB, free: 32 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002644/0.808, allocations: 272.1 kB / 0.9188 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.8081, allocations: 65.69 kB / 0.9189 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.8083, allocations: 390.7 kB / 0.9192 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004823/0.8088, allocations: 329.8 kB / 0.9196 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005588/0.8094, allocations: 448.8 kB / 0.92 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.8105, allocations: 0.8194 MB / 0.9208 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.8105, allocations: 4 kB / 0.9208 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001372/0.8119, allocations: 0.9335 MB / 0.9217 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.8119, allocations: 4 kB / 0.9217 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.8119, allocations: 4 kB / 0.9217 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.812, allocations: 4 kB / 0.9217 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006873/0.8127, allocations: 163.7 kB / 0.9219 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/0.8127, allocations: 7.984 kB / 0.9219 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.8138, allocations: 163.5 kB / 0.922 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.037e-05/0.8139, allocations: 28 kB / 0.9221 GB, free: 12.34 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0005674/0.8145, allocations: 329 kB / 0.9224 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.8146, allocations: 79.06 kB / 0.9224 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002684/0.8149, allocations: 115.7 kB / 0.9226 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.8149, allocations: 11.94 kB / 0.9226 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.8149, allocations: 0 / 0.9226 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001297/0.8162, allocations: 1.097 MB / 0.9236 GB, free: 10.62 MB / 0.6387 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 postOpt removeSimpleEquations (simulation): time 0.003347/0.8196, allocations: 2.308 MB / 0.9259 GB, free: 8.215 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.8196, allocations: 0 / 0.9259 GB, free: 8.215 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008318/0.8204, allocations: 179.8 kB / 0.9261 GB, free: 8.039 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/0.8204, allocations: 4 kB / 0.9261 GB, free: 8.035 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.984e-05/0.8205, allocations: 15.98 kB / 0.9261 GB, free: 8.02 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.8205, allocations: 4 kB / 0.9261 GB, free: 8.016 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.8205, allocations: 0 / 0.9261 GB, free: 8.016 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001805/0.8223, allocations: 1.358 MB / 0.9274 GB, free: 6.641 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004214/0.8228, allocations: 248.2 kB / 0.9277 GB, free: 6.379 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.8229, allocations: 23.98 kB / 0.9277 GB, free: 6.355 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008143/0.8237, allocations: 103 kB / 0.9278 GB, free: 6.258 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.572e-05/0.8238, allocations: 44.53 kB / 0.9278 GB, free: 6.215 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.128e-05/0.8238, allocations: 23.98 kB / 0.9278 GB, free: 6.191 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004952/0.8243, allocations: 415.1 kB / 0.9282 GB, free: 5.789 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8243, allocations: 0 / 0.9282 GB, free: 5.789 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009205/0.8253, allocations: 367 kB / 0.9286 GB, free: 5.43 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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 Backend phase and start with SimCode phase: time 0.0002859/0.8256, allocations: 187.8 kB / 0.9288 GB, free: 5.238 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001167/0.8267, allocations: 0.7903 MB / 0.9295 GB, free: 4.445 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.8268, allocations: 0 / 0.9295 GB, free: 4.445 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005463/0.8273, allocations: 423.5 kB / 0.9299 GB, free: 4.035 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002712/0.83, allocations: 0.5662 MB / 0.9305 GB, free: 3.48 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003457/0.8335, allocations: 2.745 MB / 0.9332 GB, free: 0.7031 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007153/0.8342, allocations: 1.14 MB / 0.9343 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009581/0.8352, allocations: 271.1 kB / 0.9345 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002236/0.8354, allocations: 75.42 kB / 0.9346 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of SimCode: time 4.91e-07/0.8354, allocations: 0 / 0.9346 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of Templates: time 0.02879/0.8642, allocations: 18.13 MB / 0.9523 GB, free: 13.29 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)