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.001281/0.001281, allocations: 110.4 kB / 18.94 MB, free: 2.949 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: 218.3 kB / 22.26 MB, free: 5.125 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.399/1.399, allocations: 230.6 MB / 256 MB, free: 7.969 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.003985/0.003985, allocations: 280.2 kB / 312.7 MB, free: 2.793 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.924/1.924, allocations: 180.6 MB / 0.5369 GB, free: 12.99 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.002795/0.002795, allocations: 95.17 kB / 0.7396 GB, free: 28.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1862, allocations: 95.39 MB / 0.8328 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep): time 0.773/0.9593, allocations: 299.7 MB / 1.125 GB, free: 15.1 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.03676/0.996, allocations: 23.24 MB / 1.148 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005101/1.001, allocations: 103.2 kB / 1.148 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.006841/1.008, allocations: 1.888 MB / 1.15 GB, free: 5.805 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01874/1.027, allocations: 6.442 MB / 1.156 GB, free: 15.33 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.008964/1.036, allocations: 2.992 MB / 1.159 GB, free: 12.34 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01181/1.048, allocations: 7.447 MB / 1.167 GB, free: 4.875 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004304/1.052, allocations: 2.169 MB / 1.169 GB, free: 2.652 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008602/1.06, allocations: 2.995 MB / 1.172 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006793/1.067, allocations: 2.89 MB / 1.174 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001226/1.068, allocations: 344 kB / 1.175 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01508/1.084, allocations: 6.441 MB / 1.181 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.002767/1.086, allocations: 1.5 MB / 1.183 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.004199/1.09, allocations: 1.906 MB / 1.184 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01708/1.108, allocations: 6.955 MB / 1.191 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/1.108, allocations: 0 / 1.191 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.094e-06/1.108, allocations: 0 / 1.191 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001837/1.108, allocations: 0 / 1.191 GB, free: 11.6 MB / 0.8262 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.01221/1.12, allocations: 4.131 MB / 1.195 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.986e-05/1.12, allocations: 13.34 kB / 1.195 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006264/1.121, allocations: 392.9 kB / 1.196 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005683/1.126, allocations: 0.8643 MB / 1.196 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004586/1.131, allocations: 1.778 MB / 1.198 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001863/1.131, allocations: 209.4 kB / 1.198 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006381/1.132, allocations: 283.9 kB / 1.199 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006983/1.139, allocations: 3.593 MB / 1.202 GB, free: 112 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.578e-05/1.139, allocations: 7.938 kB / 1.202 GB, free: 104 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002996/1.139, allocations: 116 kB / 1.202 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000169/1.139, allocations: 141.2 kB / 1.202 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006281/1.146, allocations: 3.284 MB / 1.206 GB, free: 12.55 MB / 0.8419 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.01997/1.166, allocations: 14.1 MB / 1.219 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003818/1.169, allocations: 2.075 MB / 1.221 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00207/1.171, allocations: 1.247 MB / 1.223 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007767/1.172, allocations: 189.8 kB / 1.223 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00214/1.174, allocations: 1.226 MB / 1.224 GB, free: 8.48 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=213): time 4.418e-06/1.174, allocations: 0 / 1.224 GB, free: 8.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=213): time 0.00613/1.18, allocations: 3.169 MB / 1.227 GB, free: 5.309 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.458e-05/1.181, allocations: 85.39 kB / 1.227 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002283/1.183, allocations: 1.452 MB / 1.229 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002723/1.183, allocations: 73.64 kB / 1.229 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001136/1.184, allocations: 1.137 MB / 1.23 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009773/1.185, allocations: 0.7707 MB / 1.231 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005965/1.186, allocations: 355.6 kB / 1.231 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001351/1.186, allocations: 313.1 kB / 1.231 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001638/1.188, allocations: 0.9136 MB / 1.232 GB, free: 172 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001937/1.189, allocations: 1.251 MB / 1.233 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003701/1.193, allocations: 2.333 MB / 1.236 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/1.193, allocations: 0 / 1.236 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.00495/1.198, allocations: 2.611 MB / 1.238 GB, free: 9.734 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.844e-05/1.198, allocations: 37.64 kB / 1.238 GB, free: 9.691 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/1.198, allocations: 8 kB / 1.238 GB, free: 9.684 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.643e-05/1.198, allocations: 16 kB / 1.238 GB, free: 9.668 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001995/1.2, allocations: 463.4 kB / 1.239 GB, free: 9.215 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.295e-05/1.2, allocations: 25.48 kB / 1.239 GB, free: 9.191 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001979/1.202, allocations: 202.6 kB / 1.239 GB, free: 8.992 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001518/1.202, allocations: 79.98 kB / 1.239 GB, free: 8.914 MB / 0.8731 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.001358/1.204, allocations: 0.6846 MB / 1.24 GB, free: 8.219 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000585/1.204, allocations: 222.6 kB / 1.24 GB, free: 8 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004679/1.209, allocations: 2.522 MB / 1.242 GB, free: 5.457 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-05/1.209, allocations: 23.98 kB / 1.242 GB, free: 5.434 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/1.209, allocations: 0 / 1.242 GB, free: 5.434 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003735/1.213, allocations: 2.332 MB / 1.245 GB, free: 3.039 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01037/1.223, allocations: 5.516 MB / 1.25 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/1.223, allocations: 0 / 1.25 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002178/1.225, allocations: 475.7 kB / 1.25 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-05/1.225, allocations: 8 kB / 1.25 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001458/1.226, allocations: 55.98 kB / 1.25 GB, free: 12.9 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.695e-05/1.226, allocations: 15.92 kB / 1.25 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.226, allocations: 4 kB / 1.251 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006255/1.232, allocations: 3.811 MB / 1.254 GB, free: 9.027 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001533/1.233, allocations: 482 kB / 1.255 GB, free: 8.555 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003763/1.234, allocations: 47.98 kB / 1.255 GB, free: 8.508 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/1.235, allocations: 66.36 kB / 1.255 GB, free: 8.445 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003073/1.235, allocations: 161.6 kB / 1.255 GB, free: 8.285 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001442/1.236, allocations: 75.86 kB / 1.255 GB, free: 8.211 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001425/1.237, allocations: 0.9866 MB / 1.256 GB, free: 7.23 MB / 0.8887 GB Notification: Performance of sort global known variables: time 8.1e-08/1.237, allocations: 0 / 1.256 GB, free: 7.23 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002175/1.239, allocations: 0.9435 MB / 1.257 GB, free: 6.285 MB / 0.8887 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.00692/1.246, allocations: 4.612 MB / 1.261 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004052/1.25, allocations: 2.228 MB / 1.264 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/1.25, allocations: 4 kB / 1.264 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001984/1.252, allocations: 1.143 MB / 1.265 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005704/1.258, allocations: 1.283 MB / 1.266 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03296/1.291, allocations: 18.65 MB / 1.284 GB, free: 9.824 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001937/1.293, allocations: 1.968 MB / 1.286 GB, free: 7.82 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002792/1.296, allocations: 0.7249 MB / 1.287 GB, free: 7.094 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001844/1.297, allocations: 1.097 MB / 1.288 GB, free: 5.996 MB / 0.92 GB Notification: Performance of SimCode: time 1.412e-06/1.297, allocations: 0 / 1.288 GB, free: 5.996 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1331/1.431, allocations: 67.68 MB / 1.354 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.67/17.1, allocations: 3.938 kB / 1.354 GB, free: 2.984 MB / 0.9825 GB " [Timeout remaining time 643] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_CO2TransportStep.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.4598451080019] Failed to read output from testmodel.py, exit status != 0: 17.24449013300182 17.605091897 16.49460576 Calling exit ...