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.001534/0.001534, allocations: 78.73 kB / 19.01 MB, free: 2.859 MB / 14.72 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.001575/0.001575, allocations: 160.3 kB / 22.26 MB, free: 5.105 MB / 14.72 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.454/1.454, allocations: 177.2 MB / 202.6 MB, free: 9.273 MB / 190.1 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.002536/0.002536, allocations: 225.9 kB / 259.2 MB, free: 0.5898 MB / 238.1 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.075/1.075, allocations: 138.5 MB / 454.2 MB, free: 1.996 MB / 366.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003009/0.003009, allocations: 103.8 kB / 0.6466 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4026/0.4056, allocations: 95.35 MB / 0.7397 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.237/0.6426, allocations: 180.6 MB / 0.9161 GB, free: 9.887 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01045/0.653, allocations: 5.985 MB / 0.9219 GB, free: 3.883 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.6543, allocations: 47.62 kB / 0.922 GB, free: 3.836 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001994/0.6563, allocations: 0.7032 MB / 0.9227 GB, free: 3.129 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.007292/0.6635, allocations: 2.793 MB / 0.9254 GB, free: 332 kB / 0.7481 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.00217/0.6657, allocations: 0.7375 MB / 0.9261 GB, free: 15.59 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.005136/0.6709, allocations: 3.325 MB / 0.9294 GB, free: 12.26 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001709/0.6726, allocations: 0.8052 MB / 0.9301 GB, free: 11.43 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003522/0.6761, allocations: 1.738 MB / 0.9318 GB, free: 9.688 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002494/0.6786, allocations: 1.131 MB / 0.9329 GB, free: 8.559 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0002439/0.6788, allocations: 128 kB / 0.9331 GB, free: 8.434 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004795/0.6836, allocations: 1.917 MB / 0.9349 GB, free: 6.512 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0006666/0.6843, allocations: 0.5297 MB / 0.9355 GB, free: 5.98 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0009126/0.6852, allocations: 0.6226 MB / 0.9361 GB, free: 5.355 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.005028/0.6902, allocations: 2.722 MB / 0.9387 GB, free: 2.625 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.6902, allocations: 0 / 0.9387 GB, free: 2.625 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6902, allocations: 4 kB / 0.9387 GB, free: 2.621 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.896e-05/0.6903, allocations: 0 / 0.9387 GB, free: 2.621 MB / 0.7637 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.004329/0.6946, allocations: 1.738 MB / 0.9404 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.6946, allocations: 9.344 kB / 0.9404 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002313/0.6969, allocations: 362.9 kB / 0.9408 GB, free: 492 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3628/1.06, allocations: 0.8084 MB / 0.9416 GB, free: 201.8 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.11e-05/1.06, allocations: 78.25 kB / 0.9416 GB, free: 201.8 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/1.06, allocations: 99.83 kB / 0.9417 GB, free: 201.8 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002121/1.062, allocations: 1.395 MB / 0.9431 GB, free: 201.2 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/1.062, allocations: 1.812 kB / 0.9431 GB, free: 201.2 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-05/1.062, allocations: 41 kB / 0.9431 GB, free: 201.2 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.052e-05/1.062, allocations: 60.28 kB / 0.9432 GB, free: 201.2 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001976/1.064, allocations: 1.244 MB / 0.9444 GB, free: 200.8 MB / 0.7637 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.005525/1.07, allocations: 2.963 MB / 0.9473 GB, free: 199.6 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/1.071, allocations: 0.8206 MB / 0.9481 GB, free: 199.2 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009082/1.072, allocations: 489.9 kB / 0.9486 GB, free: 199 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 8.018e-05/1.072, allocations: 17.77 kB / 0.9486 GB, free: 199 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008794/1.073, allocations: 0.6781 MB / 0.9492 GB, free: 198.6 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=76): time 3.166e-06/1.073, allocations: 0 / 0.9492 GB, free: 198.6 MB / 0.7637 GB Notification: Performance of matching and sorting (n=76): time 0.002466/1.076, allocations: 1.157 MB / 0.9504 GB, free: 198.1 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/1.076, allocations: 64.33 kB / 0.9504 GB, free: 198 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007667/1.077, allocations: 0.5052 MB / 0.9509 GB, free: 197.8 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 5.969e-05/1.077, allocations: 41.52 kB / 0.951 GB, free: 197.8 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.000312/1.077, allocations: 476 kB / 0.9514 GB, free: 197.5 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002464/1.077, allocations: 282.8 kB / 0.9517 GB, free: 197.3 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002415/1.077, allocations: 131 kB / 0.9518 GB, free: 197.2 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001135/1.078, allocations: 377.8 kB / 0.9522 GB, free: 196.9 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004412/1.078, allocations: 336.2 kB / 0.9525 GB, free: 196.7 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004388/1.078, allocations: 449.5 kB / 0.9529 GB, free: 196.5 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008653/1.079, allocations: 0.8215 MB / 0.9537 GB, free: 196.1 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.079, allocations: 0 / 0.9537 GB, free: 196.1 MB / 0.7637 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0011/1.08, allocations: 0.9331 MB / 0.9546 GB, free: 195.7 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/1.08, allocations: 5.625 kB / 0.9547 GB, free: 195.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/1.08, allocations: 2.812 kB / 0.9547 GB, free: 195.7 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/1.08, allocations: 6.969 kB / 0.9547 GB, free: 195.7 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006529/1.081, allocations: 160.4 kB / 0.9548 GB, free: 195.6 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/1.081, allocations: 8 kB / 0.9548 GB, free: 195.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006651/1.082, allocations: 56.56 kB / 0.9549 GB, free: 195.5 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.48e-05/1.082, allocations: 27.66 kB / 0.9549 GB, free: 195.5 MB / 0.7637 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.0003497/1.082, allocations: 330.3 kB / 0.9552 GB, free: 195.2 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/1.082, allocations: 83.47 kB / 0.9553 GB, free: 195.1 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001792/1.082, allocations: 102.7 kB / 0.9554 GB, free: 195 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/1.082, allocations: 8 kB / 0.9554 GB, free: 195 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.71e-05/1.082, allocations: 2.5 kB / 0.9554 GB, free: 195 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009459/1.083, allocations: 1.098 MB / 0.9565 GB, free: 193.9 MB / 0.7637 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.002347/1.086, allocations: 1.905 MB / 0.9583 GB, free: 192.1 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/1.086, allocations: 0 / 0.9583 GB, free: 192.1 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007748/1.087, allocations: 175.8 kB / 0.9585 GB, free: 191.9 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/1.087, allocations: 4 kB / 0.9585 GB, free: 191.9 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.833e-05/1.087, allocations: 19.97 kB / 0.9585 GB, free: 191.9 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.349e-06/1.087, allocations: 4 kB / 0.9585 GB, free: 191.9 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/1.087, allocations: 0 / 0.9585 GB, free: 191.9 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/1.088, allocations: 1.348 MB / 0.9598 GB, free: 190.6 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002932/1.088, allocations: 171.3 kB / 0.96 GB, free: 190.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.175e-05/1.088, allocations: 23.98 kB / 0.96 GB, free: 190.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005933/1.089, allocations: 19.89 kB / 0.9601 GB, free: 190.3 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.626e-05/1.089, allocations: 56.5 kB / 0.9601 GB, free: 190.3 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.813e-05/1.089, allocations: 23.98 kB / 0.9601 GB, free: 190.3 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002968/1.089, allocations: 362.8 kB / 0.9605 GB, free: 189.9 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1e-07/1.089, allocations: 3.969 kB / 0.9605 GB, free: 189.9 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0007669/1.09, allocations: 371.3 kB / 0.9608 GB, free: 189.6 MB / 0.7637 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.0002384/1.09, allocations: 173.4 kB / 0.961 GB, free: 189.4 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0009384/1.091, allocations: 0.7616 MB / 0.9617 GB, free: 188.6 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/1.091, allocations: 3.938 kB / 0.9617 GB, free: 188.6 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0004182/1.092, allocations: 403.6 kB / 0.9621 GB, free: 188.2 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002181/1.094, allocations: 0.5347 MB / 0.9627 GB, free: 187.7 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002793/1.097, allocations: 2.192 MB / 0.9648 GB, free: 185.6 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/1.097, allocations: 0.5425 MB / 0.9653 GB, free: 185 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0007335/1.098, allocations: 263.4 kB / 0.9656 GB, free: 184.7 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/1.098, allocations: 76.48 kB / 0.9656 GB, free: 184.7 MB / 0.7637 GB Notification: Performance of SimCode: time 9.61e-07/1.098, allocations: 0 / 0.9656 GB, free: 184.7 MB / 0.7637 GB Notification: Performance of Templates: time 0.02367/1.122, allocations: 18.52 MB / 0.9837 GB, free: 166.6 MB / 0.7637 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: 7.306894330307841] Failed to read output from testmodel.py, exit status != 0: 1.1297440454363823 1.138104558 0.44555725599999996 Calling exit ...