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.001447/0.001447, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001777/0.001777, allocations: 210.8 kB / 22.25 MB, free: 5.262 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.467/1.467, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.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.002651/0.002651, allocations: 292.7 kB / 312.7 MB, free: 2.617 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.235/1.235, allocations: 180.6 MB / 0.5369 GB, free: 14.61 MB / 382.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.002934/0.002934, allocations: 95.11 kB / 0.74 GB, free: 27.7 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1525, allocations: 95.38 MB / 0.8331 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.5973/0.7498, allocations: 180.8 MB / 1.01 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009309/0.7591, allocations: 5.996 MB / 1.016 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00121/0.7603, allocations: 47.25 kB / 1.016 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001701/0.762, allocations: 0.6889 MB / 1.016 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006726/0.7687, allocations: 2.797 MB / 1.019 GB, free: 3.531 MB / 0.7169 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.001728/0.7705, allocations: 0.734 MB / 1.02 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003782/0.7742, allocations: 3.319 MB / 1.023 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001231/0.7755, allocations: 0.8052 MB / 1.024 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002345/0.7778, allocations: 1.313 MB / 1.025 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002035/0.7799, allocations: 1.126 MB / 1.026 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000169/0.78, allocations: 127.2 kB / 1.026 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003539/0.7836, allocations: 1.923 MB / 1.028 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000467/0.784, allocations: 0.5302 MB / 1.029 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000708/0.7847, allocations: 0.6196 MB / 1.029 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004054/0.7888, allocations: 2.726 MB / 1.032 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.7888, allocations: 2.719 kB / 1.032 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.983e-06/0.7888, allocations: 0.9062 kB / 1.032 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.706e-05/0.7888, allocations: 0 / 1.032 GB, free: 2.988 MB / 0.7169 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.003817/0.7926, allocations: 1.728 MB / 1.034 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.7927, allocations: 12.09 kB / 1.034 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002096/0.7948, allocations: 351.8 kB / 1.034 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001521/0.7963, allocations: 0.8193 MB / 1.035 GB, free: 17.87 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.423e-05/0.7964, allocations: 77.47 kB / 1.035 GB, free: 17.87 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.7965, allocations: 101 kB / 1.035 GB, free: 17.87 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00184/0.7983, allocations: 1.392 MB / 1.036 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/0.7984, allocations: 4.984 kB / 1.036 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.7985, allocations: 46.75 kB / 1.036 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-05/0.7985, allocations: 59.95 kB / 1.036 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001647/0.8002, allocations: 1.247 MB / 1.038 GB, free: 17.51 MB / 0.7325 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.005018/0.8052, allocations: 2.955 MB / 1.04 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/0.8064, allocations: 0.8336 MB / 1.041 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005849/0.807, allocations: 490.3 kB / 1.042 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.151e-05/0.8071, allocations: 16.22 kB / 1.042 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007331/0.8078, allocations: 0.6791 MB / 1.042 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 2.525e-06/0.8078, allocations: 0.8125 kB / 1.042 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.001671/0.8095, allocations: 1.157 MB / 1.044 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.8095, allocations: 61.09 kB / 1.044 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004862/0.81, allocations: 0.5126 MB / 1.044 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.637e-05/0.8101, allocations: 38.58 kB / 1.044 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002257/0.8103, allocations: 479.2 kB / 1.045 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/0.8105, allocations: 280.1 kB / 1.045 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001698/0.8106, allocations: 129.5 kB / 1.045 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001907/0.8108, allocations: 380.2 kB / 1.045 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004052/0.8112, allocations: 333.1 kB / 1.046 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004605/0.8117, allocations: 448.7 kB / 1.046 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009284/0.8126, allocations: 0.8249 MB / 1.047 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.8126, allocations: 0 / 1.047 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001187/0.8138, allocations: 0.9303 MB / 1.048 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.8138, allocations: 6.562 kB / 1.048 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.8138, allocations: 6.281 kB / 1.048 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.8139, allocations: 8.125 kB / 1.048 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006307/0.8145, allocations: 153.3 kB / 1.048 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.8145, allocations: 13.25 kB / 1.048 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006872/0.8152, allocations: 59.92 kB / 1.048 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.687e-05/0.8152, allocations: 27.16 kB / 1.048 GB, free: 15.11 MB / 0.7325 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.0004538/0.8157, allocations: 331.2 kB / 1.048 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.8158, allocations: 77.16 kB / 1.048 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001957/0.816, allocations: 102 kB / 1.049 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.816, allocations: 8.688 kB / 1.049 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.816, allocations: 4.531 kB / 1.049 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00118/0.8172, allocations: 1.091 MB / 1.05 GB, free: 14.07 MB / 0.7325 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.002928/0.8201, allocations: 1.898 MB / 1.051 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.8201, allocations: 8 kB / 1.052 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008072/0.8209, allocations: 178.2 kB / 1.052 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.8209, allocations: 3.406 kB / 1.052 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.033e-05/0.821, allocations: 15.66 kB / 1.052 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.821, allocations: 4.125 kB / 1.052 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.821, allocations: 0 / 1.052 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.8228, allocations: 1.349 MB / 1.053 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004617/0.8233, allocations: 186.2 kB / 1.053 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.8234, allocations: 13.5 kB / 1.053 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006126/0.824, allocations: 25.28 kB / 1.053 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.598e-05/0.8241, allocations: 48.38 kB / 1.053 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.473e-05/0.8241, allocations: 27.14 kB / 1.053 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004238/0.8246, allocations: 354.3 kB / 1.054 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8246, allocations: 0 / 1.054 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009098/0.8255, allocations: 378.5 kB / 1.054 GB, free: 12.13 MB / 0.7325 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.0002634/0.8257, allocations: 182.8 kB / 1.054 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001113/0.8268, allocations: 0.7676 MB / 1.055 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.8268, allocations: 0 / 1.055 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005156/0.8274, allocations: 407.7 kB / 1.055 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002276/0.8296, allocations: 0.5407 MB / 1.056 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003317/0.8329, allocations: 2.186 MB / 1.058 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005501/0.8335, allocations: 0.5409 MB / 1.058 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008578/0.8344, allocations: 260.7 kB / 1.059 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002156/0.8346, allocations: 73.12 kB / 1.059 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of SimCode: time 7.52e-07/0.8346, allocations: 3.938 kB / 1.059 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of Templates: time 0.03164/0.8662, allocations: 20.42 MB / 1.079 GB, free: 15.29 MB / 0.7481 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.258118260651827] Failed to read output from testmodel.py, exit status != 0: 0.8742064405232668 0.8903479049999999 0.09806828100000001 Calling exit ...