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.001416/0.001416, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001359/0.001359, allocations: 194 kB / 16.25 MB, free: 6.637 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.464/1.464, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002854/0.002854, allocations: 282.7 kB / 290.4 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.092/1.092, allocations: 178.6 MB / 0.5069 GB, free: 4.754 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003031/0.003032, allocations: 101.5 kB / 0.6059 GB, free: 24.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1792, allocations: 89.15 MB / 0.693 GB, free: 4.707 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.5422/0.7214, allocations: 201.6 MB / 0.8898 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01095/0.7324, allocations: 6.34 MB / 0.896 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001863/0.7343, allocations: 31.81 kB / 0.896 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002112/0.7364, allocations: 0.6572 MB / 0.8967 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008046/0.7445, allocations: 2.522 MB / 0.8991 GB, free: 8.836 MB / 0.6231 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.00214/0.7466, allocations: 0.6478 MB / 0.8998 GB, free: 8.191 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004903/0.7516, allocations: 3.27 MB / 0.903 GB, free: 4.91 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001679/0.7533, allocations: 1.116 MB / 0.9041 GB, free: 3.773 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00273/0.756, allocations: 1.257 MB / 0.9053 GB, free: 2.512 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002589/0.7586, allocations: 1.175 MB / 0.9064 GB, free: 1.34 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002013/0.7588, allocations: 128 kB / 0.9066 GB, free: 1.215 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004873/0.7637, allocations: 2.466 MB / 0.909 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006691/0.7644, allocations: 0.5104 MB / 0.9095 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001031/0.7654, allocations: 0.7469 MB / 0.9102 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005195/0.7706, allocations: 2.933 MB / 0.9131 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.7707, allocations: 3.984 kB / 0.9131 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.452e-06/0.7707, allocations: 0 / 0.9131 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.053e-05/0.7707, allocations: 0 / 0.9131 GB, free: 10.54 MB / 0.6387 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.004292/0.775, allocations: 1.773 MB / 0.9148 GB, free: 8.707 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.775, allocations: 8.031 kB / 0.9148 GB, free: 8.699 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002349/0.7774, allocations: 346.2 kB / 0.9151 GB, free: 8.359 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001535/0.7789, allocations: 0.8466 MB / 0.916 GB, free: 7.469 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.529e-05/0.779, allocations: 78 kB / 0.916 GB, free: 7.391 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001741/0.7792, allocations: 100 kB / 0.9161 GB, free: 7.293 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002218/0.7814, allocations: 1.191 MB / 0.9173 GB, free: 6.07 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/0.7815, allocations: 0 / 0.9173 GB, free: 6.07 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/0.7816, allocations: 39.98 kB / 0.9173 GB, free: 6.031 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.705e-05/0.7817, allocations: 66.06 kB / 0.9174 GB, free: 5.965 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002115/0.7838, allocations: 1.25 MB / 0.9186 GB, free: 4.707 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 preOpt removeSimpleEquations (simulation): time 0.00719/0.791, allocations: 5.069 MB / 0.9236 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001716/0.7928, allocations: 1.154 MB / 0.9247 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008295/0.7936, allocations: 0.5051 MB / 0.9252 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.54e-05/0.7937, allocations: 20.78 kB / 0.9252 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008543/0.7946, allocations: 484.2 kB / 0.9257 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=76): time 3.226e-06/0.7946, allocations: 4 kB / 0.9257 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.002296/0.7969, allocations: 1.153 MB / 0.9268 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.7969, allocations: 60 kB / 0.9268 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008189/0.7978, allocations: 0.5783 MB / 0.9274 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.14e-05/0.7979, allocations: 41.7 kB / 0.9274 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003838/0.7982, allocations: 463.6 kB / 0.9279 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002999/0.7985, allocations: 272.1 kB / 0.9282 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002262/0.7988, allocations: 130.6 kB / 0.9283 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002161/0.799, allocations: 390.7 kB / 0.9286 GB, free: 9.816 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005164/0.7995, allocations: 329.8 kB / 0.929 GB, free: 9.492 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006832/0.8002, allocations: 446.2 kB / 0.9294 GB, free: 9.023 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.8015, allocations: 0.825 MB / 0.9302 GB, free: 8.16 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.8015, allocations: 8 kB / 0.9302 GB, free: 8.152 MB / 0.6544 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001593/0.8031, allocations: 0.9296 MB / 0.9311 GB, free: 7.215 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.8031, allocations: 4 kB / 0.9311 GB, free: 7.211 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.8031, allocations: 4 kB / 0.9311 GB, free: 7.207 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.8032, allocations: 8 kB / 0.9311 GB, free: 7.199 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007078/0.8039, allocations: 156.1 kB / 0.9313 GB, free: 7.047 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.8039, allocations: 8 kB / 0.9313 GB, free: 7.039 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.805, allocations: 155.2 kB / 0.9314 GB, free: 6.887 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.894e-05/0.8051, allocations: 27.94 kB / 0.9315 GB, free: 6.859 MB / 0.6544 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.0005609/0.8056, allocations: 337.5 kB / 0.9318 GB, free: 6.52 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.8058, allocations: 83.06 kB / 0.9319 GB, free: 6.438 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002359/0.806, allocations: 107.8 kB / 0.932 GB, free: 6.324 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.806, allocations: 7.938 kB / 0.932 GB, free: 6.316 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.8061, allocations: 4 kB / 0.932 GB, free: 6.312 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001393/0.8075, allocations: 1.089 MB / 0.933 GB, free: 5.137 MB / 0.6544 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.003773/0.8112, allocations: 2.308 MB / 0.9353 GB, free: 2.742 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.8113, allocations: 1.938 kB / 0.9353 GB, free: 2.742 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000884/0.8122, allocations: 171.8 kB / 0.9355 GB, free: 2.574 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/0.8122, allocations: 4 kB / 0.9355 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.656e-05/0.8122, allocations: 16 kB / 0.9355 GB, free: 2.555 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.827e-06/0.8123, allocations: 4 kB / 0.9355 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.8123, allocations: 8.016 kB / 0.9355 GB, free: 2.543 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002086/0.8144, allocations: 1.358 MB / 0.9368 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005158/0.8149, allocations: 252 kB / 0.9371 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.815, allocations: 12 kB / 0.9371 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008295/0.8158, allocations: 104.7 kB / 0.9372 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.372e-05/0.8159, allocations: 40.59 kB / 0.9372 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.19e-05/0.816, allocations: 31.98 kB / 0.9372 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000603/0.8166, allocations: 411.1 kB / 0.9376 GB, free: 328 kB / 0.6544 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8166, allocations: 3.938 kB / 0.9376 GB, free: 324 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001133/0.8178, allocations: 367 kB / 0.938 GB, free: 15.96 MB / 0.67 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.000346/0.8181, allocations: 190.4 kB / 0.9382 GB, free: 15.77 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00194/0.8201, allocations: 1.036 MB / 0.9392 GB, free: 14.73 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.8201, allocations: 0.6875 kB / 0.9392 GB, free: 14.73 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006062/0.8207, allocations: 427.5 kB / 0.9396 GB, free: 14.31 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002587/0.8233, allocations: 0.5916 MB / 0.9402 GB, free: 13.74 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004234/0.8275, allocations: 2.629 MB / 0.9427 GB, free: 11.08 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008822/0.8284, allocations: 1.136 MB / 0.9438 GB, free: 9.914 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00117/0.8296, allocations: 279.1 kB / 0.9441 GB, free: 9.637 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002505/0.8299, allocations: 71.42 kB / 0.9442 GB, free: 9.566 MB / 0.67 GB Notification: Performance of SimCode: time 1.092e-06/0.8299, allocations: 4 kB / 0.9442 GB, free: 9.562 MB / 0.67 GB Notification: Performance of Templates: time 0.03542/0.8653, allocations: 19 MB / 0.9627 GB, free: 6.824 MB / 0.6856 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)