Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.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.0009372/0.0009372, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009547/0.001892, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006919/0.0006919, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009312/0.001623, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9251/0.9251, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08847/1.014, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002097/0.002097, allocations: 234.1 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009472/0.003044, allocations: 475.7 kB / 244.8 MB, free: 14.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.054/1.054, allocations: 138.7 MB / 384.3 MB, free: 364 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06692/1.121, allocations: 42.39 MB / 426.7 MB, free: 5.832 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep") translateModel(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 428.1 MB, free: 4.445 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.486e-05, allocations: 6.25 kB / 428.1 MB, free: 4.438 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep): time 0.3449/0.345, allocations: 161.6 MB / 0.5759 GB, free: 14.69 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01308/0.358, allocations: 9.593 MB / 0.5853 GB, free: 5.102 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001648/0.3597, allocations: 107.2 kB / 0.5854 GB, free: 4.996 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001106/0.3608, allocations: 0.6516 MB / 0.586 GB, free: 4.34 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.004168/0.3649, allocations: 2.848 MB / 0.5888 GB, free: 1.477 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002754/0.3677, allocations: 1.704 MB / 0.5905 GB, free: 15.77 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.006195/0.3739, allocations: 7.403 MB / 0.5977 GB, free: 8.359 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003464/0.3774, allocations: 2.387 MB / 0.6 GB, free: 5.984 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005124/0.3825, allocations: 4.211 MB / 0.6041 GB, free: 1.898 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00261/0.3851, allocations: 2.437 MB / 0.6065 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.000427/0.3855, allocations: 335.9 kB / 0.6068 GB, free: 15.13 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00151/0.387, allocations: 0.9594 MB / 0.6078 GB, free: 14.17 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0008705/0.3879, allocations: 1.376 MB / 0.6091 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.001064/0.389, allocations: 1.135 MB / 0.6102 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.002442/0.3914, allocations: 3.084 MB / 0.6132 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.3914, allocations: 4 kB / 0.6132 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3914, allocations: 0 / 0.6132 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.366e-05/0.3915, allocations: 0 / 0.6132 GB, free: 8.555 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 709 * Number of variables: 709 Notification: Performance of Generate backend data structure: time 0.004363/0.3958, allocations: 4.42 MB / 0.6176 GB, free: 4.07 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.837e-05/0.3958, allocations: 8.75 kB / 0.6176 GB, free: 4.062 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002395/0.3982, allocations: 1.073 MB / 0.6186 GB, free: 2.988 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001559/0.3998, allocations: 1.336 MB / 0.6199 GB, free: 1.598 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.3999, allocations: 209.4 kB / 0.6201 GB, free: 1.391 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002608/0.4002, allocations: 283.9 kB / 0.6204 GB, free: 1.113 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002275/0.4024, allocations: 2.463 MB / 0.6228 GB, free: 14.44 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.337e-05/0.4025, allocations: 0 / 0.6228 GB, free: 14.44 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001575/0.4026, allocations: 118.4 kB / 0.6229 GB, free: 14.33 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.754e-05/0.4027, allocations: 145.2 kB / 0.623 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.404, allocations: 1.025 MB / 0.624 GB, free: 13.13 MB / 0.6042 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.0061/0.4101, allocations: 7.01 MB / 0.6309 GB, free: 5.98 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.4112, allocations: 1.094 MB / 0.632 GB, free: 4.891 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004934/0.4117, allocations: 499.8 kB / 0.6324 GB, free: 4.402 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002938/0.412, allocations: 141.9 kB / 0.6326 GB, free: 4.262 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007431/0.4127, allocations: 0.9706 MB / 0.6335 GB, free: 3.199 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=213): time 3.086e-06/0.4127, allocations: 0 / 0.6335 GB, free: 3.199 MB / 0.6042 GB Notification: Performance of matching and sorting (n=213): time 0.001451/0.4142, allocations: 1.136 MB / 0.6346 GB, free: 2.062 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.4142, allocations: 77.41 kB / 0.6347 GB, free: 1.973 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008753/0.4151, allocations: 1.092 MB / 0.6358 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-05/0.4152, allocations: 69.64 kB / 0.6358 GB, free: 0.7969 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004227/0.4156, allocations: 0.9741 MB / 0.6368 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003827/0.416, allocations: 0.7628 MB / 0.6375 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003475/0.4164, allocations: 371.9 kB / 0.6379 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002042/0.4166, allocations: 305.1 kB / 0.6382 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003643/0.4169, allocations: 293.2 kB / 0.6385 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005761/0.4175, allocations: 0.8784 MB / 0.6393 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.4186, allocations: 1.252 MB / 0.6405 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.443e-06/0.4186, allocations: 4 kB / 0.6405 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=283) (initialization): time 0.001434/0.42, allocations: 1.239 MB / 0.6417 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.738e-05/0.42, allocations: 37.7 kB / 0.6418 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.42, allocations: 12 kB / 0.6418 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.4201, allocations: 24 kB / 0.6418 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.4212, allocations: 0.5583 MB / 0.6424 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.819e-05/0.4213, allocations: 24.56 kB / 0.6424 GB, free: 9.609 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007678/0.422, allocations: 201.3 kB / 0.6426 GB, free: 9.418 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.4221, allocations: 71.98 kB / 0.6426 GB, free: 9.348 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (282): * Single equations (assignments): 281 * Array equations: 0 * Algorithm blocks: 1 * 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.0003621/0.4225, allocations: 248 kB / 0.6429 GB, free: 9.094 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002154/0.4227, allocations: 203.8 kB / 0.6431 GB, free: 8.895 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.4239, allocations: 1.094 MB / 0.6441 GB, free: 7.785 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.4239, allocations: 20 kB / 0.6442 GB, free: 7.766 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.4239, allocations: 0 / 0.6442 GB, free: 7.766 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007964/0.4247, allocations: 0.9294 MB / 0.6451 GB, free: 6.773 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002819/0.4275, allocations: 2.59 MB / 0.6476 GB, free: 4.102 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.4275, allocations: 4 kB / 0.6476 GB, free: 4.098 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001606/0.4291, allocations: 0.5746 MB / 0.6482 GB, free: 3.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004347/0.4296, allocations: 338 kB / 0.6485 GB, free: 3.188 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.667e-06/0.4296, allocations: 12 kB / 0.6485 GB, free: 3.176 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.264e-05/0.4297, allocations: 43.98 kB / 0.6485 GB, free: 3.133 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/0.4297, allocations: 11.94 kB / 0.6486 GB, free: 3.121 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.4297, allocations: 4 kB / 0.6486 GB, free: 3.117 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/0.4312, allocations: 1.625 MB / 0.6501 GB, free: 1.434 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001619/0.4314, allocations: 51.98 kB / 0.6502 GB, free: 1.383 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005719/0.432, allocations: 51.23 kB / 0.6502 GB, free: 1.336 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001953/0.4322, allocations: 158.1 kB / 0.6504 GB, free: 1.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.48e-05/0.4323, allocations: 51.91 kB / 0.6504 GB, free: 1.129 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003628/0.4326, allocations: 0.5392 MB / 0.651 GB, free: 0.5898 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4326, allocations: 0 / 0.651 GB, free: 0.5898 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.2461/0.6787, allocations: 0.9623 MB / 0.6519 GB, free: 81.1 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mC[1]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (217): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006531/0.6794, allocations: 220.7 kB / 0.6521 GB, free: 81.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001643/0.681, allocations: 1.111 MB / 0.6532 GB, free: 80.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.33e-05/0.6811, allocations: 39.5 kB / 0.6532 GB, free: 80.89 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008424/0.6819, allocations: 0.6762 MB / 0.6539 GB, free: 80.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004557/0.6865, allocations: 6.684 MB / 0.6604 GB, free: 74.58 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01351/0.7, allocations: 4.728 MB / 0.665 GB, free: 72.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005605/0.7006, allocations: 0.641 MB / 0.6657 GB, free: 72.46 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.00146/0.702, allocations: 389.3 kB / 0.666 GB, free: 72.43 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001556/0.7036, allocations: 0.8008 MB / 0.6668 GB, free: 72.35 MB / 0.6198 GB Notification: Performance of SimCode: time 1.232e-06/0.7036, allocations: 0.875 kB / 0.6668 GB, free: 72.35 MB / 0.6198 GB Notification: Performance of Templates: time 0.04783/0.7514, allocations: 49.29 MB / 0.715 GB, free: 56.65 MB / 0.6198 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.171396927908063]