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.002473/0.002473, allocations: 85.48 kB / 19.44 MB, free: 344 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.002308/0.002308, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.574/1.574, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.003265/0.003265, allocations: 242.2 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.209/1.209, allocations: 138.5 MB / 454.7 MB, free: 1.492 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.422e-06/1.422e-06, allocations: 0 / 0.5543 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/2.76e-05, allocations: 5.547 kB / 0.5543 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.4571/0.4571, allocations: 201.7 MB / 0.7513 GB, free: 3.273 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01329/0.4704, allocations: 6.499 MB / 0.7576 GB, free: 12.76 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001754/0.4722, allocations: 55.62 kB / 0.7577 GB, free: 12.7 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.002594/0.4748, allocations: 0.6911 MB / 0.7583 GB, free: 12.01 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.009176/0.4839, allocations: 2.876 MB / 0.7611 GB, free: 9.117 MB / 0.573 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.002371/0.4863, allocations: 0.7311 MB / 0.7619 GB, free: 8.387 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.005619/0.4919, allocations: 3.395 MB / 0.7652 GB, free: 4.98 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001958/0.4939, allocations: 0.8468 MB / 0.766 GB, free: 4.121 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004421/0.4983, allocations: 1.714 MB / 0.7677 GB, free: 2.402 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003269/0.5016, allocations: 1.082 MB / 0.7687 GB, free: 1.344 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0004522/0.502, allocations: 128 kB / 0.7689 GB, free: 1.219 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005359/0.5074, allocations: 1.951 MB / 0.7708 GB, free: 15.26 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.001016/0.5084, allocations: 0.5844 MB / 0.7713 GB, free: 14.68 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.001503/0.5099, allocations: 0.5341 MB / 0.7719 GB, free: 14.14 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.006511/0.5164, allocations: 2.82 MB / 0.7746 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.5164, allocations: 4 kB / 0.7746 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5164, allocations: 0 / 0.7746 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.079e-05/0.5165, allocations: 0 / 0.7746 GB, free: 11.31 MB / 0.5886 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.005453/0.5219, allocations: 1.931 MB / 0.7765 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.522, allocations: 8.75 kB / 0.7765 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002613/0.5246, allocations: 465.2 kB / 0.7769 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002003/0.5266, allocations: 0.8169 MB / 0.7777 GB, free: 8.02 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.18e-05/0.5267, allocations: 74.02 kB / 0.7778 GB, free: 7.945 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002223/0.5269, allocations: 111.9 kB / 0.7779 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002186/0.5291, allocations: 1.068 MB / 0.779 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.128e-05/0.5291, allocations: 4 kB / 0.779 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001306/0.5293, allocations: 47.98 kB / 0.779 GB, free: 6.637 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.23e-05/0.5293, allocations: 62.06 kB / 0.7791 GB, free: 6.574 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001958/0.5313, allocations: 0.8006 MB / 0.7799 GB, free: 5.766 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 preOpt removeSimpleEquations (simulation): time 0.00701/0.5383, allocations: 3.186 MB / 0.783 GB, free: 2.531 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/0.5397, allocations: 0.582 MB / 0.7835 GB, free: 1.941 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006565/0.5403, allocations: 320.5 kB / 0.7838 GB, free: 1.629 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.596e-05/0.5404, allocations: 24.64 kB / 0.7839 GB, free: 1.602 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008568/0.5412, allocations: 0.562 MB / 0.7844 GB, free: 0.9766 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=76): time 2.875e-06/0.5412, allocations: 0 / 0.7844 GB, free: 0.9766 MB / 0.5886 GB Notification: Performance of matching and sorting (n=76): time 0.001878/0.5431, allocations: 0.7903 MB / 0.7852 GB, free: 184 kB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.5432, allocations: 60.06 kB / 0.7852 GB, free: 112 kB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009073/0.5441, allocations: 0.6432 MB / 0.7859 GB, free: 15.45 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.106e-05/0.5442, allocations: 45.7 kB / 0.7859 GB, free: 15.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005094/0.5447, allocations: 0.5501 MB / 0.7865 GB, free: 14.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004578/0.5451, allocations: 297.7 kB / 0.7867 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002889/0.5454, allocations: 164.3 kB / 0.7869 GB, free: 14.38 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0004273/0.5458, allocations: 0.6093 MB / 0.7875 GB, free: 13.76 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004188/0.5463, allocations: 193.8 kB / 0.7877 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005965/0.5469, allocations: 370.8 kB / 0.788 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.5479, allocations: 0.6026 MB / 0.7886 GB, free: 12.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.5479, allocations: 3.938 kB / 0.7886 GB, free: 12.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001375/0.5493, allocations: 0.6881 MB / 0.7893 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.5493, allocations: 4 kB / 0.7893 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.5493, allocations: 4 kB / 0.7893 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/0.5494, allocations: 8 kB / 0.7893 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007352/0.5501, allocations: 151.8 kB / 0.7895 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-05/0.5501, allocations: 12.72 kB / 0.7895 GB, free: 11.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007435/0.5509, allocations: 56.86 kB / 0.7895 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.465e-05/0.5509, allocations: 28.31 kB / 0.7895 GB, free: 11.55 MB / 0.6042 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.0004526/0.5514, allocations: 288.4 kB / 0.7898 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002219/0.5516, allocations: 103.5 kB / 0.7899 GB, free: 11.15 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002967/0.5519, allocations: 99.23 kB / 0.79 GB, free: 11.05 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.5519, allocations: 11.98 kB / 0.79 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.5519, allocations: 0 / 0.79 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001252/0.5532, allocations: 0.8352 MB / 0.7908 GB, free: 10.12 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003377/0.5565, allocations: 1.799 MB / 0.7926 GB, free: 8.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.5565, allocations: 0 / 0.7926 GB, free: 8.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009116/0.5575, allocations: 179.8 kB / 0.7928 GB, free: 8.094 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/0.5575, allocations: 7.938 kB / 0.7928 GB, free: 8.086 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.673e-05/0.5575, allocations: 16.73 kB / 0.7928 GB, free: 8.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/0.5575, allocations: 4 kB / 0.7928 GB, free: 8.066 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5575, allocations: 3.938 kB / 0.7928 GB, free: 8.062 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001897/0.5594, allocations: 1.051 MB / 0.7938 GB, free: 6.984 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004857/0.5599, allocations: 167.3 kB / 0.794 GB, free: 6.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.56, allocations: 20.94 kB / 0.794 GB, free: 6.801 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006107/0.5606, allocations: 23.98 kB / 0.794 GB, free: 6.777 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.5607, allocations: 44.58 kB / 0.7941 GB, free: 6.734 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.137e-05/0.5608, allocations: 23.98 kB / 0.7941 GB, free: 6.711 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005186/0.5613, allocations: 410.8 kB / 0.7945 GB, free: 6.312 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8e-08/0.5613, allocations: 0 / 0.7945 GB, free: 6.312 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009694/0.5623, allocations: 383.1 kB / 0.7948 GB, free: 5.938 MB / 0.6042 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.0003119/0.5626, allocations: 177.1 kB / 0.795 GB, free: 5.758 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001111/0.5637, allocations: 0.5582 MB / 0.7956 GB, free: 5.195 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.5637, allocations: 8.062 kB / 0.7956 GB, free: 5.188 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005359/0.5643, allocations: 312.5 kB / 0.7959 GB, free: 4.883 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002576/0.5668, allocations: 0.5411 MB / 0.7964 GB, free: 4.398 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003299/0.5701, allocations: 1.873 MB / 0.7982 GB, free: 2.488 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006528/0.5708, allocations: 0.523 MB / 0.7987 GB, free: 1.938 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007882/0.5716, allocations: 222.6 kB / 0.7989 GB, free: 1.715 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000244/0.5718, allocations: 72.48 kB / 0.799 GB, free: 1.641 MB / 0.6042 GB Notification: Performance of SimCode: time 8.32e-07/0.5718, allocations: 0 / 0.799 GB, free: 1.641 MB / 0.6042 GB Notification: Performance of Templates: time 0.035/0.6068, allocations: 18.42 MB / 0.817 GB, free: 15.68 MB / 0.6355 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.101186210988089]