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.001602/0.001602, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001884/0.001884, allocations: 211.2 kB / 22.24 MB, free: 4.859 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.544/1.544, allocations: 230.6 MB / 256 MB, free: 7.797 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.004765/0.004765, allocations: 298.4 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.797/1.797, allocations: 180.6 MB / 0.5369 GB, free: 14.44 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: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) [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.002989/0.002989, allocations: 107.8 kB / 0.7395 GB, free: 28.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2252, allocations: 95.38 MB / 0.8327 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep): time 0.846/1.071, allocations: 262.1 MB / 1.089 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.03363/1.105, allocations: 21.35 MB / 1.109 GB, free: 3.156 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004178/1.109, allocations: 99.38 kB / 1.11 GB, free: 3.156 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.005324/1.114, allocations: 1.704 MB / 1.111 GB, free: 2.293 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01726/1.132, allocations: 6.382 MB / 1.117 GB, free: 13.62 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.009236/1.141, allocations: 2.964 MB / 1.12 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01201/1.153, allocations: 7.383 MB / 1.128 GB, free: 4.625 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004909/1.158, allocations: 2.145 MB / 1.13 GB, free: 2.43 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008076/1.166, allocations: 3.006 MB / 1.133 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005846/1.172, allocations: 2.767 MB / 1.135 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001359/1.173, allocations: 340 kB / 1.136 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01249/1.186, allocations: 4.924 MB / 1.14 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002728/1.188, allocations: 1.5 MB / 1.142 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.004298/1.193, allocations: 1.599 MB / 1.143 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01616/1.209, allocations: 6.787 MB / 1.15 GB, free: 13.49 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/1.209, allocations: 0 / 1.15 GB, free: 13.49 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.054e-06/1.209, allocations: 0 / 1.15 GB, free: 13.49 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001983/1.209, allocations: 0 / 1.15 GB, free: 13.49 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.0134/1.222, allocations: 4.115 MB / 1.154 GB, free: 9.316 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.904e-05/1.222, allocations: 9.344 kB / 1.154 GB, free: 9.309 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001333/1.224, allocations: 400 kB / 1.155 GB, free: 8.91 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006323/1.23, allocations: 0.8642 MB / 1.155 GB, free: 8.043 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005567/1.236, allocations: 1.782 MB / 1.157 GB, free: 6.207 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002694/1.236, allocations: 205.4 kB / 1.157 GB, free: 6.004 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001152/1.237, allocations: 279.9 kB / 1.158 GB, free: 5.73 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00937/1.246, allocations: 3.927 MB / 1.161 GB, free: 1.598 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001019/1.247, allocations: 7.938 kB / 1.161 GB, free: 1.59 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005663/1.247, allocations: 112 kB / 1.162 GB, free: 1.48 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001998/1.247, allocations: 149.3 kB / 1.162 GB, free: 1.332 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007286/1.255, allocations: 3.272 MB / 1.165 GB, free: 14.05 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.01796/1.273, allocations: 9.017 MB / 1.174 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004065/1.277, allocations: 2.057 MB / 1.176 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002258/1.279, allocations: 1.248 MB / 1.177 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008968/1.28, allocations: 181.9 kB / 1.177 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002573/1.282, allocations: 1.552 MB / 1.179 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=213): time 4.969e-06/1.282, allocations: 0 / 1.179 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of matching and sorting (n=213): time 0.006731/1.289, allocations: 3.177 MB / 1.182 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.801e-05/1.289, allocations: 81.39 kB / 1.182 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002743/1.292, allocations: 1.468 MB / 1.183 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0002878/1.292, allocations: 61.7 kB / 1.183 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.00127/1.293, allocations: 1.145 MB / 1.184 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001029/1.294, allocations: 0.7707 MB / 1.185 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006218/1.295, allocations: 359.6 kB / 1.185 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001261/1.295, allocations: 301.1 kB / 1.186 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001683/1.297, allocations: 0.9387 MB / 1.187 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002066/1.299, allocations: 1.414 MB / 1.188 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00375/1.303, allocations: 2.325 MB / 1.19 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.158e-05/1.303, allocations: 4 kB / 1.19 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.00496/1.308, allocations: 2.639 MB / 1.193 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.722e-05/1.308, allocations: 37.7 kB / 1.193 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.02e-05/1.308, allocations: 8.812 kB / 1.193 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.408e-05/1.308, allocations: 16 kB / 1.193 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002016/1.31, allocations: 471.8 kB / 1.193 GB, free: 184 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.835e-05/1.31, allocations: 19.94 kB / 1.193 GB, free: 164 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002227/1.312, allocations: 191.3 kB / 1.194 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001894/1.312, allocations: 79.98 kB / 1.194 GB, free: 15.89 MB / 0.8419 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.001481/1.314, allocations: 0.6854 MB / 1.194 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006277/1.314, allocations: 230.6 kB / 1.195 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004792/1.319, allocations: 2.515 MB / 1.197 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.079e-05/1.319, allocations: 20.06 kB / 1.197 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.44e-05/1.319, allocations: 7.938 kB / 1.197 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003881/1.323, allocations: 2.347 MB / 1.199 GB, free: 10 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01027/1.333, allocations: 5.117 MB / 1.204 GB, free: 4.797 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/1.333, allocations: 3.938 kB / 1.204 GB, free: 4.793 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002274/1.336, allocations: 471.4 kB / 1.205 GB, free: 4.332 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-05/1.336, allocations: 16.12 kB / 1.205 GB, free: 4.316 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001958/1.336, allocations: 55.98 kB / 1.205 GB, free: 4.262 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.49e-05/1.336, allocations: 11.98 kB / 1.205 GB, free: 4.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/1.336, allocations: 7.938 kB / 1.205 GB, free: 4.242 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006689/1.343, allocations: 3.801 MB / 1.209 GB, free: 404 kB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001766/1.344, allocations: 486.1 kB / 1.209 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004488/1.345, allocations: 51.92 kB / 1.209 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001602/1.346, allocations: 63.91 kB / 1.209 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003258/1.347, allocations: 161.6 kB / 1.209 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001539/1.347, allocations: 71.97 kB / 1.209 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001552/1.348, allocations: 0.9866 MB / 1.21 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7.1e-08/1.348, allocations: 0 / 1.21 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002596/1.351, allocations: 0.9356 MB / 1.211 GB, free: 13.66 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.007513/1.359, allocations: 4.622 MB / 1.216 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.004197/1.363, allocations: 2.261 MB / 1.218 GB, free: 6.707 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/1.363, allocations: 0 / 1.218 GB, free: 6.707 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002143/1.365, allocations: 1.143 MB / 1.219 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006537/1.371, allocations: 1.297 MB / 1.22 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03411/1.406, allocations: 18.74 MB / 1.239 GB, free: 1.023 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001737/1.407, allocations: 1.411 MB / 1.24 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.003271/1.411, allocations: 0.7249 MB / 1.241 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002111/1.413, allocations: 1.093 MB / 1.242 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of SimCode: time 1.613e-06/1.413, allocations: 0 / 1.242 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1365/1.549, allocations: 71.6 MB / 1.312 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.46/16.01, allocations: 4.062 kB / 1.312 GB, free: 7.293 MB / 0.9512 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_CO2TransportStep.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.205227348022163] Failed to read output from testmodel.py, exit status != 0: 16.16812401311472 16.192744548 14.979282326 Calling exit ...