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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009643/0.0009643, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.905/0.905, allocations: 177.1 MB / 203.4 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001642/0.001642, allocations: 241.9 kB / 260.2 MB, free: 12.83 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6699/0.6699, allocations: 138.4 MB / 455.2 MB, free: 1.555 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow") translateModel(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.5551 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.469e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.3151/0.3151, allocations: 151.7 MB / 0.7032 GB, free: 5.191 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.004371/0.3195, allocations: 3.719 MB / 0.7069 GB, free: 1.473 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007038/0.3202, allocations: 51.62 kB / 0.7069 GB, free: 1.422 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0005841/0.3208, allocations: 309.9 kB / 0.7072 GB, free: 1.117 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001822/0.3226, allocations: 1.381 MB / 0.7086 GB, free: 15.73 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 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.0008215/0.3234, allocations: 0.5543 MB / 0.7091 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.00262/0.326, allocations: 3.311 MB / 0.7123 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001224/0.3273, allocations: 0.8508 MB / 0.7132 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002333/0.3296, allocations: 1.713 MB / 0.7148 GB, free: 9.309 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001137/0.3307, allocations: 1.044 MB / 0.7159 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001862/0.3309, allocations: 128 kB / 0.716 GB, free: 8.137 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006662/0.3316, allocations: 379.2 kB / 0.7163 GB, free: 7.766 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0003617/0.3319, allocations: 0.561 MB / 0.7169 GB, free: 7.203 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0004985/0.3324, allocations: 0.5302 MB / 0.7174 GB, free: 6.672 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001286/0.3337, allocations: 1.297 MB / 0.7187 GB, free: 5.371 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3337, allocations: 4 kB / 0.7187 GB, free: 5.367 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3337, allocations: 7.984 kB / 0.7187 GB, free: 5.359 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.733e-05/0.3338, allocations: 0 / 0.7187 GB, free: 5.359 MB / 0.5261 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.002293/0.336, allocations: 1.697 MB / 0.7203 GB, free: 3.621 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.3361, allocations: 12.75 kB / 0.7204 GB, free: 3.609 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.3372, allocations: 439.7 kB / 0.7208 GB, free: 3.18 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008553/0.338, allocations: 0.7765 MB / 0.7215 GB, free: 2.379 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.182e-05/0.3381, allocations: 78 kB / 0.7216 GB, free: 2.301 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.3382, allocations: 108 kB / 0.7217 GB, free: 2.195 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009453/0.3391, allocations: 0.8614 MB / 0.7226 GB, free: 1.25 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.3392, allocations: 4.562 kB / 0.7226 GB, free: 1.246 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.222e-05/0.3392, allocations: 40 kB / 0.7226 GB, free: 1.207 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.191e-05/0.3393, allocations: 62.06 kB / 0.7227 GB, free: 1.145 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008215/0.3401, allocations: 0.4962 MB / 0.7231 GB, free: 0.6367 MB / 0.5261 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.003023/0.3431, allocations: 2.598 MB / 0.7257 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006554/0.3438, allocations: 0.4923 MB / 0.7262 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004542/0.3442, allocations: 255.8 kB / 0.7264 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.39e-05/0.3443, allocations: 20.64 kB / 0.7264 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003998/0.3447, allocations: 499.6 kB / 0.7269 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=76): time 2.365e-06/0.3447, allocations: 0 / 0.7269 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76): time 0.0009214/0.3456, allocations: 0.6341 MB / 0.7275 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.3456, allocations: 60.06 kB / 0.7276 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003723/0.346, allocations: 0.522 MB / 0.7281 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.221e-05/0.346, allocations: 41.7 kB / 0.7281 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002182/0.3463, allocations: 0.5149 MB / 0.7286 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.3464, allocations: 285.6 kB / 0.7289 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.3465, allocations: 136.3 kB / 0.729 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3467, allocations: 0.5625 MB / 0.7296 GB, free: 9.859 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.3469, allocations: 121.9 kB / 0.7297 GB, free: 9.738 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002618/0.3472, allocations: 294.7 kB / 0.73 GB, free: 9.402 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004855/0.3476, allocations: 449.2 kB / 0.7304 GB, free: 8.91 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3476, allocations: 0 / 0.7304 GB, free: 8.91 MB / 0.5417 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0006568/0.3483, allocations: 0.5708 MB / 0.731 GB, free: 8.332 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.3483, allocations: 4 kB / 0.731 GB, free: 8.328 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3483, allocations: 4 kB / 0.731 GB, free: 8.324 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.3483, allocations: 8 kB / 0.731 GB, free: 8.316 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003674/0.3487, allocations: 151.8 kB / 0.7311 GB, free: 8.168 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.3487, allocations: 12.28 kB / 0.7311 GB, free: 8.156 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003086/0.349, allocations: 59.56 kB / 0.7312 GB, free: 8.098 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/0.3491, allocations: 24 kB / 0.7312 GB, free: 8.074 MB / 0.5417 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.0001721/0.3492, allocations: 200.4 kB / 0.7314 GB, free: 7.867 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.3493, allocations: 103.5 kB / 0.7315 GB, free: 7.766 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.678e-05/0.3494, allocations: 103.2 kB / 0.7316 GB, free: 7.66 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.3494, allocations: 4 kB / 0.7316 GB, free: 7.656 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3494, allocations: 4 kB / 0.7316 GB, free: 7.652 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005771/0.35, allocations: 0.7337 MB / 0.7323 GB, free: 6.836 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001653/0.3517, allocations: 1.494 MB / 0.7338 GB, free: 5.289 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.3517, allocations: 4 kB / 0.7338 GB, free: 5.285 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000442/0.3521, allocations: 171.8 kB / 0.734 GB, free: 5.117 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.3521, allocations: 7.938 kB / 0.734 GB, free: 5.109 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.774e-05/0.3522, allocations: 19.98 kB / 0.734 GB, free: 5.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.3522, allocations: 4 kB / 0.734 GB, free: 5.086 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.3522, allocations: 0 / 0.734 GB, free: 5.086 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008549/0.353, allocations: 0.843 MB / 0.7348 GB, free: 4.219 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002042/0.3532, allocations: 163.3 kB / 0.735 GB, free: 4.059 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.328e-05/0.3533, allocations: 16 kB / 0.735 GB, free: 4.043 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.3535, allocations: 19.98 kB / 0.735 GB, free: 4.023 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.552e-05/0.3536, allocations: 52.56 kB / 0.735 GB, free: 3.973 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-05/0.3536, allocations: 20 kB / 0.7351 GB, free: 3.953 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002367/0.3539, allocations: 338.8 kB / 0.7354 GB, free: 3.625 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3539, allocations: 4 kB / 0.7354 GB, free: 3.621 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005261/0.3544, allocations: 371.2 kB / 0.7357 GB, free: 3.258 MB / 0.5417 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.0001587/0.3546, allocations: 135.1 kB / 0.7359 GB, free: 3.117 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005431/0.3551, allocations: 435 kB / 0.7363 GB, free: 2.691 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3551, allocations: 0 / 0.7363 GB, free: 2.691 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002507/0.3554, allocations: 248.6 kB / 0.7365 GB, free: 2.445 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.3566, allocations: 0.5355 MB / 0.7371 GB, free: 1.965 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002098/0.3587, allocations: 1.791 MB / 0.7388 GB, free: 144 kB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001852/0.3589, allocations: 263.5 kB / 0.7391 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000573/0.3595, allocations: 217.7 kB / 0.7393 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.3596, allocations: 72.48 kB / 0.7393 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of SimCode: time 1.232e-06/0.3596, allocations: 0 / 0.7393 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of Templates: time 0.02076/0.3804, allocations: 18.76 MB / 0.7577 GB, free: 13.27 MB / 0.573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.113777439109981]