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.0006633/0.0006633, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009591/0.001622, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006814/0.0006814, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009305/0.001612, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9647/0.9647, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07426/1.039, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002019/0.002019, allocations: 242.4 kB / 244.4 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00151/0.003529, allocations: 471.7 kB / 244.8 MB, free: 14.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6734/0.6734, allocations: 138.7 MB / 384.3 MB, free: 368 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06954/0.743, allocations: 42.4 MB / 426.7 MB, free: 5.816 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 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.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.072e-06/1.072e-06, allocations: 0 / 428.1 MB, free: 4.484 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.143e-05/1.25e-05, allocations: 2.312 kB / 428.1 MB, free: 4.48 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.3293/0.3293, allocations: 151.5 MB / 0.5659 GB, free: 8.898 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.005786/0.3351, allocations: 3.83 MB / 0.5697 GB, free: 5.082 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005838/0.3357, allocations: 47.62 kB / 0.5697 GB, free: 5.035 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.000575/0.3363, allocations: 317.9 kB / 0.57 GB, free: 4.723 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.001807/0.3381, allocations: 1.368 MB / 0.5714 GB, free: 3.348 MB / 0.5417 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.0007236/0.3388, allocations: 0.5487 MB / 0.5719 GB, free: 2.801 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.002231/0.341, allocations: 3.327 MB / 0.5752 GB, free: 15.47 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/0.3422, allocations: 0.8875 MB / 0.576 GB, free: 14.58 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001863/0.344, allocations: 1.773 MB / 0.5778 GB, free: 12.85 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008456/0.3449, allocations: 0.9871 MB / 0.5787 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001151/0.345, allocations: 124 kB / 0.5788 GB, free: 11.74 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005973/0.3456, allocations: 379.2 kB / 0.5792 GB, free: 11.37 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003186/0.3459, allocations: 0.4949 MB / 0.5797 GB, free: 10.88 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003711/0.3463, allocations: 467.2 kB / 0.5801 GB, free: 10.42 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.3473, allocations: 1.199 MB / 0.5813 GB, free: 9.215 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.239e-05/0.3473, allocations: 0 / 0.5813 GB, free: 9.215 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3473, allocations: 0 / 0.5813 GB, free: 9.215 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.435e-05/0.3473, allocations: 0 / 0.5813 GB, free: 9.215 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.002321/0.3496, allocations: 1.912 MB / 0.5832 GB, free: 7.258 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.3497, allocations: 8.75 kB / 0.5832 GB, free: 7.25 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/0.3512, allocations: 425.1 kB / 0.5836 GB, free: 6.836 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009119/0.3521, allocations: 0.6238 MB / 0.5842 GB, free: 6.184 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.277e-05/0.3521, allocations: 82 kB / 0.5843 GB, free: 6.102 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.3523, allocations: 100 kB / 0.5844 GB, free: 6.004 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009544/0.3532, allocations: 0.8445 MB / 0.5852 GB, free: 5.074 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.3532, allocations: 0 / 0.5852 GB, free: 5.074 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.192e-05/0.3533, allocations: 41.12 kB / 0.5852 GB, free: 5.035 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-05/0.3534, allocations: 62.06 kB / 0.5853 GB, free: 4.973 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005712/0.354, allocations: 342.8 kB / 0.5856 GB, free: 4.617 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.003196/0.3571, allocations: 2.152 MB / 0.5877 GB, free: 2.43 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006106/0.3578, allocations: 402.8 kB / 0.5881 GB, free: 2.035 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002571/0.358, allocations: 181.7 kB / 0.5883 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.287e-05/0.3581, allocations: 20.66 kB / 0.5883 GB, free: 1.836 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004187/0.3585, allocations: 462.5 kB / 0.5887 GB, free: 1.328 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=76): time 2.325e-06/0.3585, allocations: 0 / 0.5887 GB, free: 1.328 MB / 0.5573 GB Notification: Performance of matching and sorting (n=76): time 0.0007488/0.3592, allocations: 429.9 kB / 0.5891 GB, free: 0.9023 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.3593, allocations: 60.06 kB / 0.5892 GB, free: 0.832 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003315/0.3596, allocations: 447.1 kB / 0.5896 GB, free: 392 kB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.816e-05/0.3596, allocations: 41.7 kB / 0.5897 GB, free: 344 kB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002754/0.3599, allocations: 402 kB / 0.5901 GB, free: 15.93 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/0.3601, allocations: 285.5 kB / 0.5903 GB, free: 15.65 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/0.3603, allocations: 122.6 kB / 0.5904 GB, free: 15.53 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.3604, allocations: 386.4 kB / 0.5908 GB, free: 15.14 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.3605, allocations: 92.8 kB / 0.5909 GB, free: 15.05 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.3607, allocations: 201.4 kB / 0.5911 GB, free: 14.82 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004174/0.3612, allocations: 356.7 kB / 0.5914 GB, free: 14.44 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.3612, allocations: 0 / 0.5914 GB, free: 14.44 MB / 0.573 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0005415/0.3617, allocations: 395.9 kB / 0.5918 GB, free: 14.04 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.3617, allocations: 8 kB / 0.5918 GB, free: 14.04 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.3617, allocations: 1.188 kB / 0.5918 GB, free: 14.04 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.3618, allocations: 8 kB / 0.5918 GB, free: 14.03 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005695/0.3623, allocations: 188.1 kB / 0.592 GB, free: 13.84 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.3623, allocations: 7.938 kB / 0.592 GB, free: 13.84 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003632/0.3627, allocations: 63.45 kB / 0.5921 GB, free: 13.77 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.783e-05/0.3627, allocations: 16 kB / 0.5921 GB, free: 13.76 MB / 0.573 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.0001926/0.3629, allocations: 161.5 kB / 0.5922 GB, free: 13.59 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.363, allocations: 71.92 kB / 0.5923 GB, free: 13.52 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.3632, allocations: 95.25 kB / 0.5924 GB, free: 13.43 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.3632, allocations: 8 kB / 0.5924 GB, free: 13.42 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3632, allocations: 3.984 kB / 0.5924 GB, free: 13.41 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004579/0.3636, allocations: 0.5932 MB / 0.593 GB, free: 12.73 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.3649, allocations: 1.006 MB / 0.594 GB, free: 11.69 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3649, allocations: 0 / 0.594 GB, free: 11.69 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000754/0.3657, allocations: 231.2 kB / 0.5942 GB, free: 11.46 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002032/0.3659, allocations: 135.2 kB / 0.5943 GB, free: 11.33 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.3659, allocations: 4 kB / 0.5943 GB, free: 11.33 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.953e-05/0.3659, allocations: 19.98 kB / 0.5943 GB, free: 11.31 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.3659, allocations: 0 / 0.5943 GB, free: 11.31 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3659, allocations: 0 / 0.5943 GB, free: 11.31 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007048/0.3667, allocations: 0.5983 MB / 0.5949 GB, free: 10.7 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.46e-05/0.3667, allocations: 15.98 kB / 0.5949 GB, free: 10.68 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003211/0.367, allocations: 20 kB / 0.595 GB, free: 10.66 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.794e-05/0.3671, allocations: 48.5 kB / 0.595 GB, free: 10.61 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.162e-05/0.3672, allocations: 23.98 kB / 0.595 GB, free: 10.59 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001726/0.3673, allocations: 196.4 kB / 0.5952 GB, free: 10.4 MB / 0.573 GB Notification: Performance of sort global known variables: time 8e-08/0.3673, allocations: 0 / 0.5952 GB, free: 10.4 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0006238/0.368, allocations: 367.2 kB / 0.5956 GB, free: 10.04 MB / 0.573 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.0001797/0.3681, allocations: 108.8 kB / 0.5957 GB, free: 9.922 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0004577/0.3686, allocations: 344.8 kB / 0.596 GB, free: 9.578 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-05/0.3686, allocations: 26.53 kB / 0.596 GB, free: 9.551 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002814/0.3689, allocations: 235.1 kB / 0.5963 GB, free: 9.324 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002346/0.3713, allocations: 2.945 MB / 0.5991 GB, free: 5.914 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006063/0.3773, allocations: 1.799 MB / 0.6009 GB, free: 4.086 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.3775, allocations: 261.4 kB / 0.6011 GB, free: 3.805 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0005314/0.3781, allocations: 146.3 kB / 0.6013 GB, free: 3.672 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008409/0.3789, allocations: 375 kB / 0.6016 GB, free: 3.301 MB / 0.573 GB Notification: Performance of SimCode: time 9.02e-07/0.3789, allocations: 0 / 0.6016 GB, free: 3.301 MB / 0.573 GB Notification: Performance of Templates: time 0.02512/0.404, allocations: 20.7 MB / 0.6219 GB, free: 15.17 MB / 0.6042 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: 3.812377012334764]