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.0007179/0.0007179, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0007454/0.0007454, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8679/0.8679, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.001409/0.001409, allocations: 240.7 kB / 260.2 MB, free: 13.02 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.6759/0.6759, allocations: 138.4 MB / 455.1 MB, free: 29.94 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 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 2.254e-06/2.254e-06, allocations: 0 / 0.6475 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.059e-05/3.284e-05, allocations: 8.953 kB / 0.6475 GB, free: 1.336 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.3961/0.3962, allocations: 180.5 MB / 0.8238 GB, free: 6.055 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.007169/0.4033, allocations: 5.991 MB / 0.8297 GB, free: 52 kB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000981/0.4043, allocations: 51.62 kB / 0.8297 GB, free: 0 / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001395/0.4057, allocations: 0.6951 MB / 0.8304 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.004723/0.4104, allocations: 2.876 MB / 0.8332 GB, free: 12.41 MB / 0.6667 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.001421/0.4119, allocations: 0.7349 MB / 0.8339 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.003021/0.4149, allocations: 3.383 MB / 0.8372 GB, free: 8.289 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008884/0.4158, allocations: 0.8168 MB / 0.838 GB, free: 7.445 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001897/0.4177, allocations: 1.695 MB / 0.8397 GB, free: 5.746 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001528/0.4192, allocations: 1.051 MB / 0.8407 GB, free: 4.699 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.4193, allocations: 128 kB / 0.8408 GB, free: 4.574 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002787/0.4221, allocations: 1.951 MB / 0.8427 GB, free: 2.617 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0003946/0.4225, allocations: 0.5609 MB / 0.8433 GB, free: 2.055 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0004474/0.4229, allocations: 0.538 MB / 0.8438 GB, free: 1.516 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003162/0.4261, allocations: 2.817 MB / 0.8466 GB, free: 14.69 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4261, allocations: 0.5625 kB / 0.8466 GB, free: 14.69 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4261, allocations: 0 / 0.8466 GB, free: 14.69 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.269e-05/0.4261, allocations: 0 / 0.8466 GB, free: 14.69 MB / 0.6823 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.00246/0.4286, allocations: 1.731 MB / 0.8483 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.4286, allocations: 9.938 kB / 0.8483 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/0.4298, allocations: 358.9 kB / 0.8486 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.4308, allocations: 0.8257 MB / 0.8494 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.485e-05/0.4309, allocations: 78 kB / 0.8495 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.431, allocations: 100 kB / 0.8496 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/0.4323, allocations: 1.392 MB / 0.8509 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.4324, allocations: 0 / 0.8509 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001475/0.4325, allocations: 36 kB / 0.851 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.311e-05/0.4326, allocations: 66.06 kB / 0.851 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/0.4338, allocations: 1.234 MB / 0.8522 GB, free: 8.719 MB / 0.6823 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.003633/0.4374, allocations: 2.971 MB / 0.8551 GB, free: 5.707 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008974/0.4383, allocations: 0.8334 MB / 0.856 GB, free: 4.867 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004854/0.4388, allocations: 486.7 kB / 0.8564 GB, free: 4.395 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.413e-05/0.4389, allocations: 16.64 kB / 0.8564 GB, free: 4.379 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005678/0.4394, allocations: 0.6814 MB / 0.8571 GB, free: 3.633 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=76): time 2.836e-06/0.4394, allocations: 0 / 0.8571 GB, free: 3.633 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76): time 0.001334/0.4408, allocations: 1.153 MB / 0.8582 GB, free: 2.477 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.4408, allocations: 60.06 kB / 0.8583 GB, free: 2.406 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004191/0.4412, allocations: 0.5145 MB / 0.8588 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.871e-05/0.4413, allocations: 41.7 kB / 0.8588 GB, free: 1.832 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000225/0.4415, allocations: 476.6 kB / 0.8593 GB, free: 1.359 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001707/0.4417, allocations: 269.8 kB / 0.8595 GB, free: 1.094 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.4418, allocations: 138.7 kB / 0.8597 GB, free: 0.9531 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.4419, allocations: 374.8 kB / 0.86 GB, free: 0.5781 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003185/0.4422, allocations: 333.8 kB / 0.8603 GB, free: 260 kB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000383/0.4426, allocations: 452.7 kB / 0.8608 GB, free: 15.77 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008922/0.4435, allocations: 0.8233 MB / 0.8616 GB, free: 14.91 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.4435, allocations: 0 / 0.8616 GB, free: 14.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0008996/0.4444, allocations: 0.9223 MB / 0.8625 GB, free: 13.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.4444, allocations: 9.719 kB / 0.8625 GB, free: 13.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.4445, allocations: 4 kB / 0.8625 GB, free: 13.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.4445, allocations: 4 kB / 0.8625 GB, free: 13.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003748/0.4448, allocations: 164.1 kB / 0.8627 GB, free: 13.81 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.4449, allocations: 4 kB / 0.8627 GB, free: 13.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003646/0.4452, allocations: 63.45 kB / 0.8627 GB, free: 13.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/0.4453, allocations: 29.12 kB / 0.8628 GB, free: 13.71 MB / 0.698 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.0003722/0.4456, allocations: 333.9 kB / 0.8631 GB, free: 13.38 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.835e-05/0.4457, allocations: 79.52 kB / 0.8631 GB, free: 13.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.4458, allocations: 103.2 kB / 0.8632 GB, free: 13.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.4458, allocations: 11.28 kB / 0.8633 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.4458, allocations: 0 / 0.8633 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008213/0.4467, allocations: 1.097 MB / 0.8643 GB, free: 12.01 MB / 0.698 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.001929/0.4486, allocations: 1.898 MB / 0.8662 GB, free: 10.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.4486, allocations: 0 / 0.8662 GB, free: 10.06 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000438/0.449, allocations: 171.8 kB / 0.8663 GB, free: 9.891 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/0.449, allocations: 9.375 kB / 0.8664 GB, free: 9.883 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.184e-05/0.4491, allocations: 20 kB / 0.8664 GB, free: 9.863 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.4491, allocations: 0 / 0.8664 GB, free: 9.863 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4491, allocations: 9.125 kB / 0.8664 GB, free: 9.855 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.4503, allocations: 1.348 MB / 0.8677 GB, free: 8.484 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002504/0.4505, allocations: 175.3 kB / 0.8679 GB, free: 8.312 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.74e-05/0.4506, allocations: 16 kB / 0.8679 GB, free: 8.297 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000295/0.4509, allocations: 23.95 kB / 0.8679 GB, free: 8.273 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.4509, allocations: 48.5 kB / 0.8679 GB, free: 8.227 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.391e-05/0.451, allocations: 23.98 kB / 0.868 GB, free: 8.203 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000299/0.4513, allocations: 358.8 kB / 0.8683 GB, free: 7.855 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4513, allocations: 0 / 0.8683 GB, free: 7.855 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00075/0.452, allocations: 375.3 kB / 0.8687 GB, free: 7.488 MB / 0.698 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.0002251/0.4522, allocations: 181.5 kB / 0.8688 GB, free: 7.305 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007667/0.453, allocations: 0.7629 MB / 0.8696 GB, free: 6.543 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.453, allocations: 3.938 kB / 0.8696 GB, free: 6.539 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003482/0.4534, allocations: 407.6 kB / 0.87 GB, free: 6.141 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.4546, allocations: 0.5344 MB / 0.8705 GB, free: 5.648 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002324/0.4569, allocations: 2.122 MB / 0.8726 GB, free: 3.484 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.4573, allocations: 0.5386 MB / 0.8731 GB, free: 2.918 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000199/0.4575, allocations: 84.42 kB / 0.8732 GB, free: 2.836 MB / 0.698 GB Notification: Performance of SimCode: time 1.022e-06/0.4575, allocations: 0 / 0.8732 GB, free: 2.836 MB / 0.698 GB Notification: Performance of Templates: time 0.01704/0.4746, allocations: 16.1 MB / 0.8889 GB, free: 2.887 MB / 0.7136 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.63057160563767] Failed to read output from testmodel.py, exit status != 0: 0.48175669368356466 0.48979608300000005 0.061253054 Calling exit ...