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.001821/0.001821, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001892/0.001892, allocations: 220.6 kB / 23 MB, free: 4.918 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.571/1.571, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.003656/0.003656, allocations: 292.1 kB / 313.5 MB, free: 2.715 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.489/1.489, allocations: 180.6 MB / 0.5377 GB, free: 14.57 MB / 382.1 MB " [Timeout remaining time 178] 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.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: 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.002981/0.002981, allocations: 107 kB / 0.7407 GB, free: 27.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2293, allocations: 95.39 MB / 0.8339 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep): time 0.9349/1.164, allocations: 262.1 MB / 1.09 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.03867/1.203, allocations: 21.33 MB / 1.111 GB, free: 2.914 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004849/1.208, allocations: 103.7 kB / 1.111 GB, free: 2.91 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.006076/1.214, allocations: 1.708 MB / 1.112 GB, free: 2.043 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0195/1.233, allocations: 6.389 MB / 1.119 GB, free: 13.29 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.009495/1.243, allocations: 2.959 MB / 1.122 GB, free: 11.07 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01206/1.255, allocations: 7.389 MB / 1.129 GB, free: 4.324 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004549/1.259, allocations: 2.137 MB / 1.131 GB, free: 2.137 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008893/1.268, allocations: 3.002 MB / 1.134 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006668/1.275, allocations: 2.765 MB / 1.137 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001295/1.276, allocations: 340 kB / 1.137 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01399/1.29, allocations: 4.928 MB / 1.142 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.003023/1.293, allocations: 1.496 MB / 1.143 GB, free: 5.617 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.004165/1.297, allocations: 1.599 MB / 1.145 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01806/1.315, allocations: 6.791 MB / 1.151 GB, free: 13.19 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/1.315, allocations: 3.938 kB / 1.151 GB, free: 13.19 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.963e-06/1.315, allocations: 0 / 1.151 GB, free: 13.19 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001686/1.316, allocations: 0 / 1.151 GB, free: 13.19 MB / 0.795 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.01219/1.328, allocations: 4.124 MB / 1.155 GB, free: 9.004 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/1.328, allocations: 9.344 kB / 1.155 GB, free: 8.996 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005621/1.334, allocations: 0.8566 MB / 1.156 GB, free: 8.137 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004523/1.338, allocations: 1.79 MB / 1.158 GB, free: 6.293 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002015/1.338, allocations: 205.4 kB / 1.158 GB, free: 6.09 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005167/1.339, allocations: 279.9 kB / 1.158 GB, free: 5.816 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007265/1.346, allocations: 3.919 MB / 1.162 GB, free: 1.691 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.808e-05/1.346, allocations: 7.922 kB / 1.162 GB, free: 1.684 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002832/1.346, allocations: 124 kB / 1.162 GB, free: 1.562 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000192/1.347, allocations: 145.3 kB / 1.163 GB, free: 1.418 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006449/1.353, allocations: 3.272 MB / 1.166 GB, free: 14.13 MB / 0.8106 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.01669/1.37, allocations: 8.618 MB / 1.174 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003893/1.374, allocations: 2.058 MB / 1.176 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002103/1.376, allocations: 1.247 MB / 1.177 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007503/1.376, allocations: 173.9 kB / 1.178 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00241/1.379, allocations: 1.56 MB / 1.179 GB, free: 236 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=213): time 5.28e-06/1.379, allocations: 4 kB / 1.179 GB, free: 232 kB / 0.8106 GB Notification: Performance of matching and sorting (n=213): time 0.006474/1.385, allocations: 3.157 MB / 1.182 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.784e-05/1.385, allocations: 81.34 kB / 1.182 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002103/1.388, allocations: 1.239 MB / 1.183 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001879/1.388, allocations: 65.7 kB / 1.183 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001236/1.389, allocations: 1.148 MB / 1.185 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009294/1.39, allocations: 0.7707 MB / 1.185 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005955/1.39, allocations: 359.6 kB / 1.186 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001537/1.391, allocations: 305.1 kB / 1.186 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001742/1.392, allocations: 0.9387 MB / 1.187 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002153/1.395, allocations: 1.411 MB / 1.188 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003873/1.398, allocations: 2.325 MB / 1.191 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/1.398, allocations: 4 kB / 1.191 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.00508/1.403, allocations: 2.62 MB / 1.193 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.404e-05/1.404, allocations: 37.7 kB / 1.193 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.143e-05/1.404, allocations: 8 kB / 1.193 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.569e-05/1.404, allocations: 16 kB / 1.193 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00201/1.406, allocations: 463.3 kB / 1.194 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.059e-05/1.406, allocations: 19.94 kB / 1.194 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00208/1.408, allocations: 178.9 kB / 1.194 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001612/1.408, allocations: 79.98 kB / 1.194 GB, free: 0.6758 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (258): * Single equations (assignments): 257 * 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.0015/1.409, allocations: 0.6885 MB / 1.195 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005318/1.41, allocations: 206.7 kB / 1.195 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004767/1.415, allocations: 2.502 MB / 1.197 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.081e-05/1.415, allocations: 20 kB / 1.197 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.914e-06/1.415, allocations: 0 / 1.197 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003856/1.419, allocations: 2.339 MB / 1.199 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009738/1.428, allocations: 4.823 MB / 1.204 GB, free: 5.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/1.428, allocations: 0 / 1.204 GB, free: 5.93 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002243/1.431, allocations: 479.7 kB / 1.205 GB, free: 5.461 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.91e-05/1.431, allocations: 12 kB / 1.205 GB, free: 5.449 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000145/1.431, allocations: 51.98 kB / 1.205 GB, free: 5.398 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-05/1.431, allocations: 8 kB / 1.205 GB, free: 5.391 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/1.431, allocations: 4 kB / 1.205 GB, free: 5.387 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006587/1.437, allocations: 3.798 MB / 1.208 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001679/1.439, allocations: 462.2 kB / 1.209 GB, free: 1.086 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003025/1.439, allocations: 44 kB / 1.209 GB, free: 1.043 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/1.441, allocations: 59.97 kB / 1.209 GB, free: 0.9844 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003422/1.441, allocations: 165.5 kB / 1.209 GB, free: 0.8242 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001496/1.441, allocations: 75.97 kB / 1.209 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001332/1.442, allocations: 0.8254 MB / 1.21 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/1.442, allocations: 3.938 kB / 1.21 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002471/1.445, allocations: 0.9666 MB / 1.211 GB, free: 14.95 MB / 0.8575 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.0007142/1.446, allocations: 365 kB / 1.211 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.004191/1.45, allocations: 2.256 MB / 1.214 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/1.45, allocations: 4 kB / 1.214 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002006/1.452, allocations: 1.133 MB / 1.215 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005324/1.457, allocations: 1.136 MB / 1.216 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/1.468, allocations: 6.031 MB / 1.222 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001744/1.47, allocations: 1.414 MB / 1.223 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001139/1.471, allocations: 211.4 kB / 1.223 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of SimCode: time 1.994e-06/1.471, allocations: 0 / 1.223 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of Templates: time 0.07693/1.548, allocations: 41.25 MB / 1.263 GB, free: 9.211 MB / 0.9044 GB " [Timeout remaining time 658] 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 18.085147977340966] Failed to read output from testmodel.py, exit status != 0: 1.556570079177618 1.5719643189999999 0.253032857 Calling exit ...