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.001958/0.001958, allocations: 88.72 kB / 19.44 MB, free: 356 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.001751/0.001751, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.45/1.45, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.002586/0.002586, allocations: 225.8 kB / 259.8 MB, free: 12.84 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 1.142/1.142, allocations: 138.4 MB / 454.7 MB, free: 1.457 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.453e-06/1.453e-06, allocations: 0 / 0.5543 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.231e-05/2.377e-05, allocations: 6.312 kB / 0.5543 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.3957/0.3957, allocations: 180.5 MB / 0.7306 GB, free: 6.062 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01191/0.4076, allocations: 5.992 MB / 0.7365 GB, free: 56 kB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001344/0.409, allocations: 51.62 kB / 0.7365 GB, free: 4 kB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.00213/0.4111, allocations: 0.695 MB / 0.7372 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.008003/0.4191, allocations: 2.876 MB / 0.74 GB, free: 12.41 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.002205/0.4213, allocations: 0.7291 MB / 0.7407 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.005079/0.4264, allocations: 3.394 MB / 0.744 GB, free: 8.277 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00172/0.4281, allocations: 0.8429 MB / 0.7449 GB, free: 7.422 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003964/0.4321, allocations: 1.706 MB / 0.7465 GB, free: 5.711 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00294/0.435, allocations: 1.062 MB / 0.7476 GB, free: 4.672 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0005271/0.4356, allocations: 128 kB / 0.7477 GB, free: 4.547 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004884/0.4404, allocations: 1.955 MB / 0.7496 GB, free: 2.586 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0009285/0.4414, allocations: 0.5687 MB / 0.7502 GB, free: 2.016 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.00133/0.4427, allocations: 0.5419 MB / 0.7507 GB, free: 1.473 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.005972/0.4487, allocations: 2.816 MB / 0.7534 GB, free: 14.65 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.4487, allocations: 0 / 0.7534 GB, free: 14.65 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4487, allocations: 0 / 0.7534 GB, free: 14.65 MB / 0.573 GB Notification: Performance of Transformations before backend: time 6.544e-05/0.4487, allocations: 0 / 0.7534 GB, free: 14.65 MB / 0.573 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.005391/0.4541, allocations: 1.73 MB / 0.7551 GB, free: 12.88 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.4542, allocations: 8.75 kB / 0.7551 GB, free: 12.87 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002826/0.457, allocations: 462.6 kB / 0.7556 GB, free: 12.42 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00194/0.4589, allocations: 0.8688 MB / 0.7564 GB, free: 11.52 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.861e-05/0.459, allocations: 70.02 kB / 0.7565 GB, free: 11.45 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00025/0.4593, allocations: 112 kB / 0.7566 GB, free: 11.34 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002646/0.4619, allocations: 1.388 MB / 0.758 GB, free: 9.867 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/0.4619, allocations: 4 kB / 0.758 GB, free: 9.863 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/0.4621, allocations: 40 kB / 0.758 GB, free: 9.824 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001028/0.4622, allocations: 62.06 kB / 0.7581 GB, free: 9.762 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002653/0.4648, allocations: 1.249 MB / 0.7593 GB, free: 8.504 MB / 0.573 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.007068/0.4719, allocations: 2.998 MB / 0.7622 GB, free: 5.465 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/0.4735, allocations: 0.8393 MB / 0.763 GB, free: 4.621 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008686/0.4744, allocations: 489.6 kB / 0.7635 GB, free: 4.145 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 6.582e-05/0.4745, allocations: 16.66 kB / 0.7635 GB, free: 4.125 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001056/0.4755, allocations: 0.6776 MB / 0.7642 GB, free: 3.387 MB / 0.573 GB Notification: Performance of pre-optimization done (n=76): time 2.515e-06/0.4755, allocations: 3.938 kB / 0.7642 GB, free: 3.383 MB / 0.573 GB Notification: Performance of matching and sorting (n=76): time 0.002422/0.4779, allocations: 1.177 MB / 0.7653 GB, free: 2.199 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.478, allocations: 60.06 kB / 0.7654 GB, free: 2.129 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.4791, allocations: 0.4952 MB / 0.7659 GB, free: 1.621 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 8.812e-05/0.4792, allocations: 45.7 kB / 0.7659 GB, free: 1.57 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004544/0.4796, allocations: 484.5 kB / 0.7664 GB, free: 1.09 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003641/0.48, allocations: 273.7 kB / 0.7666 GB, free: 0.8203 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000256/0.4803, allocations: 130.7 kB / 0.7668 GB, free: 0.6875 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002577/0.4805, allocations: 386.7 kB / 0.7671 GB, free: 308 kB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006187/0.4811, allocations: 329.8 kB / 0.7674 GB, free: 15.98 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007078/0.4818, allocations: 448.7 kB / 0.7679 GB, free: 15.5 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001422/0.4833, allocations: 0.8268 MB / 0.7687 GB, free: 14.64 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.4833, allocations: 4 kB / 0.7687 GB, free: 14.64 MB / 0.5886 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001835/0.4851, allocations: 0.9613 MB / 0.7696 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.4851, allocations: 10.12 kB / 0.7696 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.4851, allocations: 4 kB / 0.7696 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.694e-05/0.4852, allocations: 4 kB / 0.7696 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007793/0.486, allocations: 151.8 kB / 0.7698 GB, free: 13.51 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.795e-05/0.486, allocations: 4.781 kB / 0.7698 GB, free: 13.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000789/0.4868, allocations: 63.55 kB / 0.7698 GB, free: 13.44 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.425e-05/0.4868, allocations: 24.31 kB / 0.7699 GB, free: 13.42 MB / 0.5886 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.0006332/0.4875, allocations: 341.5 kB / 0.7702 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002755/0.4877, allocations: 99.53 kB / 0.7703 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002876/0.488, allocations: 103.2 kB / 0.7704 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.488, allocations: 8 kB / 0.7704 GB, free: 12.87 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.488, allocations: 0 / 0.7704 GB, free: 12.87 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001643/0.4897, allocations: 1.085 MB / 0.7714 GB, free: 11.7 MB / 0.5886 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.003919/0.4936, allocations: 1.906 MB / 0.7733 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.4936, allocations: 0 / 0.7733 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000965/0.4946, allocations: 179.8 kB / 0.7735 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.418e-05/0.4946, allocations: 7.938 kB / 0.7735 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.493e-05/0.4947, allocations: 19.98 kB / 0.7735 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.854e-06/0.4947, allocations: 4 kB / 0.7735 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4947, allocations: 0 / 0.7735 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002422/0.4971, allocations: 1.371 MB / 0.7749 GB, free: 8.148 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004932/0.4976, allocations: 179.3 kB / 0.775 GB, free: 7.973 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/0.4977, allocations: 19.94 kB / 0.775 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006831/0.4984, allocations: 23.98 kB / 0.7751 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.4985, allocations: 44.56 kB / 0.7751 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.897e-05/0.4986, allocations: 24 kB / 0.7751 GB, free: 7.863 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0005689/0.4992, allocations: 362.8 kB / 0.7755 GB, free: 7.512 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8e-08/0.4992, allocations: 0 / 0.7755 GB, free: 7.512 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001079/0.5002, allocations: 371.2 kB / 0.7758 GB, free: 7.148 MB / 0.5886 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.0003079/0.5006, allocations: 179.2 kB / 0.776 GB, free: 6.965 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001404/0.502, allocations: 0.7634 MB / 0.7767 GB, free: 6.199 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.502, allocations: 128 / 0.7767 GB, free: 6.199 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0006455/0.5026, allocations: 415.5 kB / 0.7771 GB, free: 5.797 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002555/0.5052, allocations: 0.5383 MB / 0.7777 GB, free: 5.312 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0038/0.509, allocations: 2.065 MB / 0.7797 GB, free: 3.215 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009789/0.5099, allocations: 0.5386 MB / 0.7802 GB, free: 2.645 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001024/0.511, allocations: 270.7 kB / 0.7805 GB, free: 2.375 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002688/0.5112, allocations: 76.44 kB / 0.7805 GB, free: 2.297 MB / 0.5886 GB Notification: Performance of SimCode: time 1.443e-06/0.5112, allocations: 0 / 0.7805 GB, free: 2.297 MB / 0.5886 GB Notification: Performance of Templates: time 0.03497/0.5462, allocations: 18.38 MB / 0.7985 GB, free: 392 kB / 0.6042 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.63875450193882]