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.001329/0.001329, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001477/0.001477, allocations: 166.7 kB / 22.46 MB, free: 5.359 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.437/1.437, allocations: 177.1 MB / 202.8 MB, free: 9.188 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.002474/0.002474, allocations: 238.7 kB / 259.4 MB, free: 496 kB / 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.07/1.07, allocations: 138.4 MB / 454.3 MB, free: 2.035 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: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.6468 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.639e-05, allocations: 6.281 kB / 0.6468 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.4599/0.46, allocations: 180.5 MB / 0.8231 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01033/0.4703, allocations: 6.01 MB / 0.829 GB, free: 5.871 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.4714, allocations: 47.62 kB / 0.829 GB, free: 5.824 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001803/0.4732, allocations: 0.6873 MB / 0.8297 GB, free: 5.133 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006919/0.4801, allocations: 2.868 MB / 0.8325 GB, free: 2.25 MB / 0.6544 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.001871/0.482, allocations: 0.7318 MB / 0.8332 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004477/0.4865, allocations: 3.39 MB / 0.8365 GB, free: 14.12 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001333/0.4878, allocations: 0.8128 MB / 0.8373 GB, free: 13.29 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002888/0.4907, allocations: 1.706 MB / 0.839 GB, free: 11.57 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002141/0.4928, allocations: 1.034 MB / 0.84 GB, free: 10.55 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002098/0.493, allocations: 132 kB / 0.8401 GB, free: 10.42 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004053/0.4971, allocations: 1.962 MB / 0.842 GB, free: 8.449 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000632/0.4977, allocations: 0.5609 MB / 0.8426 GB, free: 7.887 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0007933/0.4985, allocations: 0.538 MB / 0.8431 GB, free: 7.348 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004361/0.5029, allocations: 2.809 MB / 0.8458 GB, free: 4.531 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.575e-06/0.5029, allocations: 8 kB / 0.8458 GB, free: 4.523 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.412e-06/0.5029, allocations: 3.938 kB / 0.8458 GB, free: 4.52 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.72e-05/0.5029, allocations: 0 / 0.8458 GB, free: 4.52 MB / 0.67 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.004101/0.507, allocations: 1.723 MB / 0.8475 GB, free: 2.758 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.507, allocations: 13.34 kB / 0.8475 GB, free: 2.746 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002361/0.5094, allocations: 354.9 kB / 0.8479 GB, free: 2.398 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00155/0.511, allocations: 0.8258 MB / 0.8487 GB, free: 1.543 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.712e-05/0.511, allocations: 70.02 kB / 0.8487 GB, free: 1.473 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001724/0.5112, allocations: 104 kB / 0.8488 GB, free: 1.371 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002214/0.5134, allocations: 1.388 MB / 0.8502 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/0.5134, allocations: 3.938 kB / 0.8502 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/0.5135, allocations: 47.98 kB / 0.8503 GB, free: 15.85 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.628e-05/0.5136, allocations: 54.08 kB / 0.8503 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002096/0.5157, allocations: 1.249 MB / 0.8515 GB, free: 14.54 MB / 0.6856 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.00576/0.5215, allocations: 2.961 MB / 0.8544 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/0.523, allocations: 0.8266 MB / 0.8552 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007737/0.5237, allocations: 491.1 kB / 0.8557 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 5.706e-05/0.5238, allocations: 12.66 kB / 0.8557 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009151/0.5247, allocations: 0.6853 MB / 0.8564 GB, free: 9.465 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=76): time 2.796e-06/0.5247, allocations: 0 / 0.8564 GB, free: 9.465 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76): time 0.002144/0.5269, allocations: 1.157 MB / 0.8575 GB, free: 8.305 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.5269, allocations: 60.06 kB / 0.8576 GB, free: 8.234 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006397/0.5275, allocations: 0.4991 MB / 0.858 GB, free: 7.723 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.876e-05/0.5276, allocations: 41.7 kB / 0.8581 GB, free: 7.676 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003531/0.528, allocations: 476.7 kB / 0.8585 GB, free: 7.203 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002655/0.5282, allocations: 281.5 kB / 0.8588 GB, free: 6.926 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002216/0.5284, allocations: 126.7 kB / 0.8589 GB, free: 6.797 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000202/0.5286, allocations: 382.7 kB / 0.8593 GB, free: 6.414 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005327/0.5292, allocations: 329.8 kB / 0.8596 GB, free: 6.094 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006235/0.5298, allocations: 455 kB / 0.86 GB, free: 5.613 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.531, allocations: 0.824 MB / 0.8609 GB, free: 4.754 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.531, allocations: 0 / 0.8609 GB, free: 4.754 MB / 0.6856 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001485/0.5325, allocations: 0.934 MB / 0.8618 GB, free: 3.812 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.5325, allocations: 7.984 kB / 0.8618 GB, free: 3.805 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.5326, allocations: 4 kB / 0.8618 GB, free: 3.801 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.5326, allocations: 11.94 kB / 0.8618 GB, free: 3.789 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007057/0.5333, allocations: 150.3 kB / 0.8619 GB, free: 3.645 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/0.5333, allocations: 8.344 kB / 0.8619 GB, free: 3.637 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007484/0.534, allocations: 67.5 kB / 0.862 GB, free: 3.57 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.892e-05/0.5341, allocations: 24 kB / 0.862 GB, free: 3.547 MB / 0.6856 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.0004907/0.5346, allocations: 333.5 kB / 0.8623 GB, free: 3.211 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.5347, allocations: 79.53 kB / 0.8624 GB, free: 3.133 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002329/0.535, allocations: 107.2 kB / 0.8625 GB, free: 3.023 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.535, allocations: 4 kB / 0.8625 GB, free: 3.02 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.535, allocations: 4 kB / 0.8625 GB, free: 3.016 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001488/0.5365, allocations: 1.085 MB / 0.8636 GB, free: 1.848 MB / 0.6856 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.003377/0.5398, allocations: 1.903 MB / 0.8654 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.5399, allocations: 4 kB / 0.8655 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009106/0.5408, allocations: 171.8 kB / 0.8656 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-05/0.5408, allocations: 7.938 kB / 0.8656 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.405e-05/0.5408, allocations: 19.98 kB / 0.8656 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.593e-06/0.5408, allocations: 4 kB / 0.8656 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5409, allocations: 0 / 0.8656 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002204/0.5431, allocations: 1.352 MB / 0.867 GB, free: 14.31 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004085/0.5435, allocations: 170.2 kB / 0.8671 GB, free: 14.15 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.5436, allocations: 19.94 kB / 0.8671 GB, free: 14.13 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006715/0.5443, allocations: 27.75 kB / 0.8672 GB, free: 14.11 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.5444, allocations: 44.56 kB / 0.8672 GB, free: 14.06 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.53e-05/0.5444, allocations: 28 kB / 0.8672 GB, free: 14.04 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0004742/0.5449, allocations: 358.8 kB / 0.8676 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9e-08/0.5449, allocations: 0 / 0.8676 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.000934/0.5458, allocations: 371.2 kB / 0.8679 GB, free: 13.32 MB / 0.7012 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.000321/0.5462, allocations: 183.9 kB / 0.8681 GB, free: 13.14 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001324/0.5475, allocations: 0.7668 MB / 0.8689 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5475, allocations: 0 / 0.8689 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0006408/0.5481, allocations: 411.5 kB / 0.8693 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002633/0.5508, allocations: 0.5274 MB / 0.8698 GB, free: 11.49 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003537/0.5543, allocations: 2.051 MB / 0.8718 GB, free: 9.406 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000672/0.555, allocations: 0.5423 MB / 0.8723 GB, free: 8.836 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008498/0.5558, allocations: 274 kB / 0.8726 GB, free: 8.566 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002599/0.5561, allocations: 72.48 kB / 0.8726 GB, free: 8.496 MB / 0.7012 GB Notification: Performance of SimCode: time 7.52e-07/0.5561, allocations: 0 / 0.8726 GB, free: 8.496 MB / 0.7012 GB Notification: Performance of Templates: time 0.03348/0.5896, allocations: 18.33 MB / 0.8905 GB, free: 6.605 MB / 0.7169 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: 6.639982860535383] Failed to read output from testmodel.py, exit status != 0: 0.5992426462471485 0.6137307399999999 0.10757178599999995 Calling exit ...