Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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.001436/0.001436, allocations: 116.5 kB / 17.16 MB, free: 5.914 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.001491/0.001491, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.565/1.565, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.968/2.968, allocations: 476.7 MB / 0.7678 GB, free: 9.426 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.00204/0.00204, allocations: 71.89 kB / 1.113 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.292/1.294, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.3798/1.674, allocations: 298.6 MB / 1.571 GB, free: 0.9141 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.03804/1.712, allocations: 23.16 MB / 1.593 GB, free: 9.699 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004461/1.716, allocations: 103.2 kB / 1.593 GB, free: 9.598 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.006076/1.723, allocations: 1.88 MB / 1.595 GB, free: 7.707 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.01787/1.74, allocations: 6.316 MB / 1.601 GB, free: 1.367 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.009105/1.75, allocations: 2.933 MB / 1.604 GB, free: 14.43 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.0133/1.763, allocations: 7.302 MB / 1.611 GB, free: 7.109 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004907/1.768, allocations: 2.465 MB / 1.614 GB, free: 4.586 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008631/1.776, allocations: 2.968 MB / 1.617 GB, free: 1.629 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006406/1.783, allocations: 2.889 MB / 1.619 GB, free: 14.74 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.001311/1.784, allocations: 344 kB / 1.62 GB, free: 14.4 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01557/1.8, allocations: 6.34 MB / 1.626 GB, free: 8.047 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.003255/1.803, allocations: 1.496 MB / 1.627 GB, free: 6.547 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.005183/1.808, allocations: 1.906 MB / 1.629 GB, free: 4.633 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.0225/1.831, allocations: 6.962 MB / 1.636 GB, free: 13.65 MB / 1.326 GB Notification: Performance of FrontEnd - DAE generated: time 9.428e-06/1.831, allocations: 0 / 1.636 GB, free: 13.65 MB / 1.326 GB Notification: Performance of FrontEnd: time 2.816e-06/1.831, allocations: 0 / 1.636 GB, free: 13.65 MB / 1.326 GB Notification: Performance of Transformations before backend: time 0.0001965/1.831, allocations: 0 / 1.636 GB, free: 13.65 MB / 1.326 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.01508/1.846, allocations: 4.191 MB / 1.64 GB, free: 9.379 MB / 1.326 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/1.846, allocations: 8.031 kB / 1.64 GB, free: 9.371 MB / 1.326 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.335e-05/1.846, allocations: 73.44 kB / 1.64 GB, free: 9.297 MB / 1.326 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006207/1.847, allocations: 400 kB / 1.641 GB, free: 8.898 MB / 1.326 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006097/1.853, allocations: 0.8642 MB / 1.641 GB, free: 8.031 MB / 1.326 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004703/1.857, allocations: 1.866 MB / 1.643 GB, free: 6.109 MB / 1.326 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001966/1.858, allocations: 209.4 kB / 1.643 GB, free: 5.902 MB / 1.326 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000576/1.858, allocations: 279.9 kB / 1.644 GB, free: 5.629 MB / 1.326 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007367/1.866, allocations: 3.599 MB / 1.647 GB, free: 1.906 MB / 1.326 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.91e-05/1.866, allocations: 15.88 kB / 1.647 GB, free: 1.891 MB / 1.326 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003094/1.866, allocations: 119.9 kB / 1.647 GB, free: 1.773 MB / 1.326 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001926/1.866, allocations: 141.3 kB / 1.648 GB, free: 1.633 MB / 1.326 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00704/1.873, allocations: 3.292 MB / 1.651 GB, free: 14.33 MB / 1.342 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.02161/1.895, allocations: 14.24 MB / 1.665 GB, free: 14.87 MB / 1.357 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004159/1.899, allocations: 2.376 MB / 1.667 GB, free: 12.42 MB / 1.357 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002163/1.901, allocations: 1.243 MB / 1.668 GB, free: 11.18 MB / 1.357 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001425/1.903, allocations: 1.374 MB / 1.67 GB, free: 9.512 MB / 1.357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002247/1.905, allocations: 1.233 MB / 1.671 GB, free: 8.262 MB / 1.357 GB Notification: Performance of pre-optimization done (n=213): time 4.227e-06/1.905, allocations: 0 / 1.671 GB, free: 8.262 MB / 1.357 GB Notification: Performance of matching and sorting (n=213): time 0.006431/1.911, allocations: 3.181 MB / 1.674 GB, free: 5.078 MB / 1.357 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/1.911, allocations: 73.41 kB / 1.674 GB, free: 4.996 MB / 1.357 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002324/1.914, allocations: 1.456 MB / 1.675 GB, free: 3.535 MB / 1.357 GB Notification: Performance of collectPreVariables (initialization): time 0.0002029/1.914, allocations: 65.7 kB / 1.675 GB, free: 3.465 MB / 1.357 GB Notification: Performance of collectInitialEqns (initialization): time 0.001107/1.915, allocations: 1.137 MB / 1.676 GB, free: 2.316 MB / 1.357 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008213/1.916, allocations: 0.7668 MB / 1.677 GB, free: 1.543 MB / 1.357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006154/1.916, allocations: 363.5 kB / 1.678 GB, free: 1.18 MB / 1.357 GB Notification: Performance of setup shared object (initialization): time 0.0001258/1.917, allocations: 305.1 kB / 1.678 GB, free: 0.8789 MB / 1.357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001713/1.918, allocations: 0.9136 MB / 1.679 GB, free: 15.96 MB / 1.373 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00205/1.92, allocations: 1.251 MB / 1.68 GB, free: 14.59 MB / 1.373 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004004/1.924, allocations: 2.333 MB / 1.682 GB, free: 12.15 MB / 1.373 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/1.924, allocations: 0 / 1.682 GB, free: 12.15 MB / 1.373 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005421/1.93, allocations: 2.606 MB / 1.685 GB, free: 9.527 MB / 1.373 GB Notification: Performance of prepare postOptimizeDAE: time 6.421e-05/1.93, allocations: 37.69 kB / 1.685 GB, free: 9.484 MB / 1.373 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/1.93, allocations: 8 kB / 1.685 GB, free: 9.477 MB / 1.373 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.673e-05/1.93, allocations: 20.66 kB / 1.685 GB, free: 9.457 MB / 1.373 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002097/1.932, allocations: 467.3 kB / 1.685 GB, free: 9 MB / 1.373 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.481e-05/1.932, allocations: 19.98 kB / 1.685 GB, free: 8.98 MB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00235/1.934, allocations: 202.4 kB / 1.686 GB, free: 8.781 MB / 1.373 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000172/1.934, allocations: 75.98 kB / 1.686 GB, free: 8.707 MB / 1.373 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.001487/1.936, allocations: 0.6808 MB / 1.686 GB, free: 8.016 MB / 1.373 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006221/1.937, allocations: 226.6 kB / 1.686 GB, free: 7.793 MB / 1.373 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005245/1.942, allocations: 2.523 MB / 1.689 GB, free: 5.254 MB / 1.373 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-05/1.942, allocations: 23.94 kB / 1.689 GB, free: 5.23 MB / 1.373 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/1.942, allocations: 4 kB / 1.689 GB, free: 5.227 MB / 1.373 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003803/1.946, allocations: 2.331 MB / 1.691 GB, free: 2.832 MB / 1.373 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01036/1.956, allocations: 5.612 MB / 1.697 GB, free: 13.1 MB / 1.389 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.859e-06/1.956, allocations: 4 kB / 1.697 GB, free: 13.1 MB / 1.389 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002348/1.958, allocations: 475.3 kB / 1.697 GB, free: 12.63 MB / 1.389 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.82e-05/1.958, allocations: 8 kB / 1.697 GB, free: 12.62 MB / 1.389 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001501/1.959, allocations: 56.02 kB / 1.697 GB, free: 12.57 MB / 1.389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.531e-05/1.959, allocations: 12 kB / 1.697 GB, free: 12.56 MB / 1.389 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/1.959, allocations: 7.938 kB / 1.697 GB, free: 12.55 MB / 1.389 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006408/1.965, allocations: 3.807 MB / 1.701 GB, free: 8.695 MB / 1.389 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001353/1.966, allocations: 0.5499 MB / 1.702 GB, free: 8.125 MB / 1.389 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00032/1.967, allocations: 52 kB / 1.702 GB, free: 8.074 MB / 1.389 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001539/1.968, allocations: 67.95 kB / 1.702 GB, free: 8.008 MB / 1.389 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003154/1.969, allocations: 149.7 kB / 1.702 GB, free: 7.863 MB / 1.389 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001532/1.969, allocations: 71.97 kB / 1.702 GB, free: 7.793 MB / 1.389 GB Notification: Performance of sorting global known variables: time 0.001447/1.97, allocations: 0.9866 MB / 1.703 GB, free: 6.812 MB / 1.389 GB Notification: Performance of sort global known variables: time 9e-08/1.97, allocations: 0 / 1.703 GB, free: 6.812 MB / 1.389 GB Notification: Performance of remove unused functions: time 0.002375/1.972, allocations: 0.9473 MB / 1.704 GB, free: 5.863 MB / 1.389 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.007086/1.98, allocations: 4.63 MB / 1.708 GB, free: 1.176 MB / 1.389 GB Notification: Performance of simCode: created initialization part: time 0.004181/1.984, allocations: 2.223 MB / 1.71 GB, free: 14.94 MB / 1.404 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/1.984, allocations: 0 / 1.71 GB, free: 14.94 MB / 1.404 GB Notification: Performance of simCode: created simulation system equations: time 0.001975/1.986, allocations: 1.149 MB / 1.712 GB, free: 13.79 MB / 1.404 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006314/1.992, allocations: 1.288 MB / 1.713 GB, free: 12.52 MB / 1.404 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03274/2.025, allocations: 18.64 MB / 1.731 GB, free: 9.387 MB / 1.42 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001854/2.027, allocations: 1.971 MB / 1.733 GB, free: 7.379 MB / 1.42 GB Notification: Performance of simCode: alias equations: time 0.002823/2.029, allocations: 0.721 MB / 1.734 GB, free: 6.656 MB / 1.42 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001745/2.031, allocations: 1.101 MB / 1.735 GB, free: 5.559 MB / 1.42 GB Notification: Performance of SimCode: time 1.363e-06/2.031, allocations: 0 / 1.735 GB, free: 5.559 MB / 1.42 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1365/2.168, allocations: 66.05 MB / 1.799 GB, free: 4.234 MB / 1.482 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.33/16.5, allocations: 11.69 kB / 1.799 GB, free: 4.227 MB / 1.482 GB " [Timeout remaining time 283] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 23.426048677007202] Failed to read output from testmodel.py, exit status != 0: 16.676365339022595 16.700752493 14.865223036 Calling exit ...