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.000854/0.000854, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0008914/0.0008914, allocations: 169 kB / 23.27 MB, free: 1.223 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.9177/0.9177, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.001479/0.001479, allocations: 248.1 kB / 260.5 MB, free: 12.68 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.7155/0.7155, allocations: 138.5 MB / 455.5 MB, free: 1.414 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.403e-06/1.403e-06, allocations: 0 / 0.5556 GB, free: 268 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/1.993e-05, allocations: 2.312 kB / 0.5556 GB, free: 264 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.338/0.338, allocations: 148.9 MB / 0.701 GB, free: 7.191 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.004912/0.3429, allocations: 3.692 MB / 0.7046 GB, free: 3.5 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005781/0.3435, allocations: 51.62 kB / 0.7046 GB, free: 3.449 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0005946/0.3441, allocations: 305.9 kB / 0.7049 GB, free: 3.148 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001777/0.3459, allocations: 1.387 MB / 0.7063 GB, free: 1.754 MB / 0.5105 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.0006601/0.3465, allocations: 0.5521 MB / 0.7068 GB, free: 1.203 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.00226/0.3488, allocations: 3.322 MB / 0.7101 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000712/0.3495, allocations: 0.8368 MB / 0.7109 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001729/0.3512, allocations: 1.723 MB / 0.7126 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008009/0.352, allocations: 1.048 MB / 0.7136 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.3521, allocations: 128 kB / 0.7137 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004657/0.3526, allocations: 379.1 kB / 0.7141 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0003216/0.3529, allocations: 0.561 MB / 0.7146 GB, free: 9.223 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003616/0.3533, allocations: 0.5303 MB / 0.7152 GB, free: 8.691 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0009841/0.3543, allocations: 1.301 MB / 0.7164 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.3543, allocations: 0 / 0.7164 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.62e-07/0.3543, allocations: 0 / 0.7164 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.3543, allocations: 0 / 0.7164 GB, free: 7.387 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.002923/0.3572, allocations: 1.709 MB / 0.7181 GB, free: 5.637 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.3573, allocations: 8.75 kB / 0.7181 GB, free: 5.629 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001463/0.3587, allocations: 439.7 kB / 0.7185 GB, free: 5.199 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.3601, allocations: 0.7453 MB / 0.7192 GB, free: 4.43 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.936e-05/0.3601, allocations: 74.02 kB / 0.7193 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/0.3603, allocations: 108.5 kB / 0.7194 GB, free: 4.25 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.3613, allocations: 0.7794 MB / 0.7202 GB, free: 3.387 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.3613, allocations: 0 / 0.7202 GB, free: 3.387 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.745e-05/0.3614, allocations: 47.98 kB / 0.7202 GB, free: 3.34 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.88e-05/0.3615, allocations: 62.06 kB / 0.7203 GB, free: 3.277 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007152/0.3622, allocations: 406.6 kB / 0.7207 GB, free: 2.859 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.003625/0.3658, allocations: 2.577 MB / 0.7232 GB, free: 236 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006806/0.3665, allocations: 450 kB / 0.7236 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003002/0.3668, allocations: 216.5 kB / 0.7238 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 5.292e-05/0.3669, allocations: 28.02 kB / 0.7239 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004542/0.3673, allocations: 463.6 kB / 0.7243 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=76): time 2.184e-06/0.3673, allocations: 0 / 0.7243 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76): time 0.0009987/0.3683, allocations: 0.556 MB / 0.7248 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.3683, allocations: 60.06 kB / 0.7249 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004688/0.3688, allocations: 0.5101 MB / 0.7254 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.183e-05/0.3689, allocations: 41.7 kB / 0.7254 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004184/0.3693, allocations: 0.5227 MB / 0.7259 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002059/0.3695, allocations: 289.5 kB / 0.7262 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001851/0.3697, allocations: 144.2 kB / 0.7264 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002007/0.3699, allocations: 0.5663 MB / 0.7269 GB, free: 12.28 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.3701, allocations: 97.91 kB / 0.727 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002592/0.3703, allocations: 250.7 kB / 0.7272 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005125/0.3708, allocations: 401.1 kB / 0.7276 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.3708, allocations: 4.5 kB / 0.7276 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.000623/0.3715, allocations: 0.5045 MB / 0.7281 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.3715, allocations: 7.938 kB / 0.7281 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.3715, allocations: 4 kB / 0.7281 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.3715, allocations: 4 kB / 0.7281 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003332/0.3718, allocations: 156.7 kB / 0.7283 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.3718, allocations: 8 kB / 0.7283 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00027/0.3721, allocations: 55.56 kB / 0.7283 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.3721, allocations: 24 kB / 0.7284 GB, free: 10.68 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.000161/0.3723, allocations: 204.3 kB / 0.7286 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.141e-05/0.3724, allocations: 103.5 kB / 0.7287 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.172e-05/0.3725, allocations: 103.2 kB / 0.7288 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3725, allocations: 4 kB / 0.7288 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3725, allocations: 4.625 kB / 0.7288 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004344/0.3729, allocations: 0.6713 MB / 0.7294 GB, free: 9.496 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.3741, allocations: 1.272 MB / 0.7307 GB, free: 8.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.3741, allocations: 0 / 0.7307 GB, free: 8.18 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004017/0.3745, allocations: 175.2 kB / 0.7308 GB, free: 8.012 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.3745, allocations: 4 kB / 0.7308 GB, free: 8.008 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.914e-05/0.3745, allocations: 19.94 kB / 0.7309 GB, free: 7.988 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.3745, allocations: 11.5 kB / 0.7309 GB, free: 7.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3745, allocations: 0 / 0.7309 GB, free: 7.98 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006291/0.3752, allocations: 0.7614 MB / 0.7316 GB, free: 7.191 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001713/0.3753, allocations: 159.3 kB / 0.7318 GB, free: 7.035 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.953e-05/0.3754, allocations: 15.94 kB / 0.7318 GB, free: 7.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.3756, allocations: 23.19 kB / 0.7318 GB, free: 7 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.02e-05/0.3757, allocations: 44.56 kB / 0.7318 GB, free: 6.957 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.91e-05/0.3757, allocations: 23.98 kB / 0.7319 GB, free: 6.934 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001629/0.3759, allocations: 318.7 kB / 0.7322 GB, free: 6.625 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3759, allocations: 0 / 0.7322 GB, free: 6.625 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004407/0.3763, allocations: 371.2 kB / 0.7325 GB, free: 6.262 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.0001309/0.3764, allocations: 131.1 kB / 0.7326 GB, free: 6.125 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003595/0.3768, allocations: 380.8 kB / 0.733 GB, free: 5.754 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3768, allocations: 0 / 0.733 GB, free: 5.754 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001845/0.377, allocations: 221.2 kB / 0.7332 GB, free: 5.535 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.3781, allocations: 0.5395 MB / 0.7338 GB, free: 5.043 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.3799, allocations: 1.773 MB / 0.7355 GB, free: 3.23 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001633/0.3801, allocations: 259.5 kB / 0.7357 GB, free: 2.953 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003331/0.3804, allocations: 149.1 kB / 0.7359 GB, free: 2.805 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006522/0.3811, allocations: 433.9 kB / 0.7363 GB, free: 2.379 MB / 0.5417 GB Notification: Performance of SimCode: time 6.01e-07/0.3811, allocations: 0 / 0.7363 GB, free: 2.379 MB / 0.5417 GB Notification: Performance of Templates: time 0.02376/0.4049, allocations: 19.36 MB / 0.7552 GB, free: 15.52 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.095741984434426]