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.001156/0.001156, allocations: 73.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001778/0.001778, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 1.016/1.016, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.003129/0.003129, allocations: 237.7 kB / 261.3 MB, free: 12.66 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.7345/0.7345, allocations: 138.4 MB / 456.3 MB, free: 29.9 MB / 410.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 3.296e-06/3.296e-06, allocations: 3.984 kB / 0.5563 GB, free: 15.9 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.298e-05/2.628e-05, allocations: 5.969 kB / 0.5563 GB, free: 15.89 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.3845/0.3845, allocations: 148.9 MB / 0.7017 GB, free: 51.7 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.007091/0.3916, allocations: 3.7 MB / 0.7053 GB, free: 51.3 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001755/0.3934, allocations: 48.84 kB / 0.7054 GB, free: 51.28 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0008285/0.3942, allocations: 313.4 kB / 0.7057 GB, free: 51.15 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003757/0.398, allocations: 1.372 MB / 0.707 GB, free: 50.57 MB / 0.5573 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.001565/0.3995, allocations: 0.5644 MB / 0.7076 GB, free: 50.32 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.004718/0.4043, allocations: 3.32 MB / 0.7108 GB, free: 48.92 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001253/0.4055, allocations: 0.8396 MB / 0.7116 GB, free: 48.46 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003272/0.4088, allocations: 1.724 MB / 0.7133 GB, free: 47.89 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001584/0.4104, allocations: 1.052 MB / 0.7144 GB, free: 47.67 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002332/0.4106, allocations: 123.8 kB / 0.7145 GB, free: 47.67 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009596/0.4116, allocations: 380.5 kB / 0.7148 GB, free: 47.61 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0004124/0.412, allocations: 0.5588 MB / 0.7154 GB, free: 47.36 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0006509/0.4126, allocations: 0.5375 MB / 0.7159 GB, free: 47.17 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001552/0.4142, allocations: 1.294 MB / 0.7172 GB, free: 46.7 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.4142, allocations: 0 / 0.7172 GB, free: 46.7 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.834e-06/0.4142, allocations: 0 / 0.7172 GB, free: 46.7 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.912e-05/0.4142, allocations: 3.938 kB / 0.7172 GB, free: 46.7 MB / 0.5573 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.002441/0.4167, allocations: 1.703 MB / 0.7188 GB, free: 45.72 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.4167, allocations: 10.56 kB / 0.7188 GB, free: 45.72 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/0.4179, allocations: 432.7 kB / 0.7193 GB, free: 45.58 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008575/0.4187, allocations: 0.7448 MB / 0.72 GB, free: 45.15 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.194e-05/0.4188, allocations: 79.08 kB / 0.7201 GB, free: 45.11 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.4189, allocations: 106.2 kB / 0.7202 GB, free: 45.08 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007368/0.4196, allocations: 0.7845 MB / 0.7209 GB, free: 44.64 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.4196, allocations: 4 kB / 0.7209 GB, free: 44.64 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.515e-05/0.4197, allocations: 46.36 kB / 0.721 GB, free: 44.61 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.118e-05/0.4197, allocations: 57.78 kB / 0.721 GB, free: 44.6 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004968/0.4202, allocations: 409.4 kB / 0.7214 GB, free: 44.54 MB / 0.5573 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.002959/0.4232, allocations: 2.574 MB / 0.7239 GB, free: 43.35 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005648/0.4238, allocations: 458.4 kB / 0.7244 GB, free: 43.23 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.424, allocations: 212.5 kB / 0.7246 GB, free: 43.2 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.23e-05/0.424, allocations: 23.12 kB / 0.7246 GB, free: 43.2 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003084/0.4243, allocations: 466 kB / 0.725 GB, free: 42.86 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=76): time 2.635e-06/0.4243, allocations: 0 / 0.725 GB, free: 42.86 MB / 0.5573 GB Notification: Performance of matching and sorting (n=76): time 0.0007915/0.4251, allocations: 0.5511 MB / 0.7256 GB, free: 42.72 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.4251, allocations: 59.59 kB / 0.7256 GB, free: 42.66 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003079/0.4255, allocations: 0.5125 MB / 0.7261 GB, free: 42.45 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/0.4255, allocations: 48.58 kB / 0.7262 GB, free: 42.4 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.4257, allocations: 0.5235 MB / 0.7267 GB, free: 42 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.4258, allocations: 288.5 kB / 0.727 GB, free: 41.79 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/0.4259, allocations: 141.5 kB / 0.7271 GB, free: 41.72 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.753e-05/0.426, allocations: 0.566 MB / 0.7277 GB, free: 41.22 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.4262, allocations: 92.56 kB / 0.7277 GB, free: 41.21 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.4264, allocations: 256.2 kB / 0.728 GB, free: 41.06 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003375/0.4267, allocations: 398.8 kB / 0.7284 GB, free: 40.83 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.4267, allocations: 0 / 0.7284 GB, free: 40.83 MB / 0.5573 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0005461/0.4272, allocations: 0.5088 MB / 0.7289 GB, free: 40.66 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.4273, allocations: 5.25 kB / 0.7289 GB, free: 40.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.4273, allocations: 3.062 kB / 0.7289 GB, free: 40.66 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.4273, allocations: 5.25 kB / 0.7289 GB, free: 40.66 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003538/0.4276, allocations: 153.8 kB / 0.729 GB, free: 40.65 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.4276, allocations: 9.359 kB / 0.729 GB, free: 40.65 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003628/0.428, allocations: 54.31 kB / 0.7291 GB, free: 40.61 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.428, allocations: 24.47 kB / 0.7291 GB, free: 40.6 MB / 0.5573 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.0002008/0.4282, allocations: 203.9 kB / 0.7293 GB, free: 40.4 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.4283, allocations: 103.6 kB / 0.7294 GB, free: 40.35 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.4284, allocations: 99.5 kB / 0.7295 GB, free: 40.27 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.4285, allocations: 10.48 kB / 0.7295 GB, free: 40.27 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.4285, allocations: 0 / 0.7295 GB, free: 40.27 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004507/0.4289, allocations: 0.6755 MB / 0.7302 GB, free: 39.76 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.4303, allocations: 1.273 MB / 0.7314 GB, free: 39 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.4303, allocations: 2.344 kB / 0.7314 GB, free: 39 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004234/0.4307, allocations: 171.1 kB / 0.7316 GB, free: 38.96 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.4307, allocations: 2.406 kB / 0.7316 GB, free: 38.96 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.451e-05/0.4308, allocations: 29.84 kB / 0.7316 GB, free: 38.94 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.4308, allocations: 2.656 kB / 0.7316 GB, free: 38.94 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.4308, allocations: 3.031 kB / 0.7316 GB, free: 38.94 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006552/0.4314, allocations: 0.7569 MB / 0.7324 GB, free: 38.54 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001942/0.4316, allocations: 153.9 kB / 0.7325 GB, free: 38.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.059e-05/0.4317, allocations: 14.59 kB / 0.7325 GB, free: 38.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002754/0.4319, allocations: 28.33 kB / 0.7325 GB, free: 38.4 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.369e-05/0.432, allocations: 45.03 kB / 0.7326 GB, free: 38.37 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.044e-05/0.432, allocations: 21.16 kB / 0.7326 GB, free: 38.36 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001563/0.4322, allocations: 322.2 kB / 0.7329 GB, free: 38.18 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.4322, allocations: 0 / 0.7329 GB, free: 38.18 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0006729/0.4329, allocations: 374.9 kB / 0.7333 GB, free: 38.1 MB / 0.5573 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.0001851/0.433, allocations: 127.7 kB / 0.7334 GB, free: 37.99 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004447/0.4335, allocations: 379.5 kB / 0.7338 GB, free: 37.88 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4335, allocations: 0 / 0.7338 GB, free: 37.88 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.4337, allocations: 222.9 kB / 0.734 GB, free: 37.81 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.435, allocations: 0.5298 MB / 0.7345 GB, free: 37.56 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002361/0.4373, allocations: 1.784 MB / 0.7362 GB, free: 36.39 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001639/0.4375, allocations: 257.2 kB / 0.7365 GB, free: 36.21 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005674/0.438, allocations: 147.9 kB / 0.7366 GB, free: 36.13 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006885/0.4387, allocations: 442.4 kB / 0.737 GB, free: 35.96 MB / 0.5573 GB Notification: Performance of SimCode: time 2.375e-06/0.4387, allocations: 0 / 0.737 GB, free: 35.96 MB / 0.5573 GB Notification: Performance of Templates: time 0.02139/0.4601, allocations: 19.67 MB / 0.7562 GB, free: 23.32 MB / 0.5573 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.522762347012758]