Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001306/0.001306, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.001377/0.001377, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.488/1.488, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.918/2.918, allocations: 0.49 GB / 0.7923 GB, free: 1.348 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_12_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.001991/0.001991, allocations: 67.89 kB / 1.15 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9513/0.9533, allocations: 176.1 MB / 1.322 GB, free: 24.74 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.3657/1.319, allocations: 298.7 MB / 1.613 GB, free: 14.27 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.03749/1.356, allocations: 23.15 MB / 1.636 GB, free: 7.059 MB / 1.311 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004351/1.361, allocations: 99.25 kB / 1.636 GB, free: 6.961 MB / 1.311 GB Notification: Performance of NFTyping.typeComponents: time 0.006156/1.367, allocations: 1.884 MB / 1.638 GB, free: 5.066 MB / 1.311 GB Notification: Performance of NFTyping.typeBindings: time 0.0187/1.386, allocations: 6.317 MB / 1.644 GB, free: 14.72 MB / 1.326 GB Notification: Performance of NFTyping.typeClassSections: time 0.009381/1.395, allocations: 2.932 MB / 1.647 GB, free: 11.79 MB / 1.326 GB Notification: Performance of NFFlatten.flatten: time 0.01215/1.407, allocations: 7.305 MB / 1.654 GB, free: 4.461 MB / 1.326 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005536/1.413, allocations: 2.461 MB / 1.656 GB, free: 1.941 MB / 1.326 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0093/1.422, allocations: 3.226 MB / 1.659 GB, free: 14.73 MB / 1.342 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006271/1.428, allocations: 2.854 MB / 1.662 GB, free: 11.88 MB / 1.342 GB Notification: Performance of NFPackage.collectConstants: time 0.00149/1.43, allocations: 344 kB / 1.663 GB, free: 11.54 MB / 1.342 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01452/1.444, allocations: 6.32 MB / 1.669 GB, free: 5.203 MB / 1.342 GB Notification: Performance of NFScalarize.scalarize: time 0.002805/1.447, allocations: 1.492 MB / 1.67 GB, free: 3.707 MB / 1.342 GB Notification: Performance of NFVerifyModel.verify: time 0.005296/1.452, allocations: 1.91 MB / 1.672 GB, free: 1.789 MB / 1.342 GB Notification: Performance of NFConvertDAE.convert: time 0.01893/1.471, allocations: 6.947 MB / 1.679 GB, free: 10.82 MB / 1.357 GB Notification: Performance of FrontEnd - DAE generated: time 8.246e-06/1.471, allocations: 0 / 1.679 GB, free: 10.82 MB / 1.357 GB Notification: Performance of FrontEnd: time 2.184e-06/1.471, allocations: 0 / 1.679 GB, free: 10.82 MB / 1.357 GB Notification: Performance of Transformations before backend: time 0.0002424/1.472, allocations: 0 / 1.679 GB, free: 10.82 MB / 1.357 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.01395/1.486, allocations: 4.206 MB / 1.683 GB, free: 6.531 MB / 1.357 GB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/1.486, allocations: 19.97 kB / 1.683 GB, free: 6.512 MB / 1.357 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001046/1.486, allocations: 73.44 kB / 1.683 GB, free: 6.438 MB / 1.357 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001273/1.487, allocations: 388.1 kB / 1.683 GB, free: 6.051 MB / 1.357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006533/1.494, allocations: 0.8604 MB / 1.684 GB, free: 5.188 MB / 1.357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004481/1.498, allocations: 1.874 MB / 1.686 GB, free: 3.258 MB / 1.357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002401/1.498, allocations: 209.4 kB / 1.686 GB, free: 3.051 MB / 1.357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009452/1.499, allocations: 283.9 kB / 1.687 GB, free: 2.773 MB / 1.357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008341/1.508, allocations: 3.6 MB / 1.69 GB, free: 15.05 MB / 1.373 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.306e-05/1.508, allocations: 7.938 kB / 1.69 GB, free: 15.04 MB / 1.373 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003334/1.508, allocations: 119.9 kB / 1.69 GB, free: 14.93 MB / 1.373 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001925/1.508, allocations: 141.3 kB / 1.69 GB, free: 14.79 MB / 1.373 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007071/1.515, allocations: 3.292 MB / 1.694 GB, free: 11.48 MB / 1.373 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.02105/1.536, allocations: 14.22 MB / 1.707 GB, free: 12.04 MB / 1.389 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00431/1.541, allocations: 2.368 MB / 1.71 GB, free: 9.602 MB / 1.389 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002259/1.543, allocations: 1.243 MB / 1.711 GB, free: 8.355 MB / 1.389 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001493/1.544, allocations: 1.382 MB / 1.712 GB, free: 6.68 MB / 1.389 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002366/1.547, allocations: 1.237 MB / 1.714 GB, free: 5.43 MB / 1.389 GB Notification: Performance of pre-optimization done (n=213): time 3.998e-06/1.547, allocations: 0 / 1.714 GB, free: 5.43 MB / 1.389 GB Notification: Performance of matching and sorting (n=213): time 0.006447/1.553, allocations: 3.181 MB / 1.717 GB, free: 2.246 MB / 1.389 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.682e-05/1.553, allocations: 77.41 kB / 1.717 GB, free: 2.16 MB / 1.389 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002346/1.556, allocations: 1.452 MB / 1.718 GB, free: 0.7031 MB / 1.389 GB Notification: Performance of collectPreVariables (initialization): time 0.0003145/1.556, allocations: 65.7 kB / 1.718 GB, free: 0.6328 MB / 1.389 GB Notification: Performance of collectInitialEqns (initialization): time 0.00113/1.557, allocations: 1.137 MB / 1.719 GB, free: 15.48 MB / 1.404 GB Notification: Performance of collectInitialBindings (initialization): time 0.001014/1.558, allocations: 0.7707 MB / 1.72 GB, free: 14.7 MB / 1.404 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006345/1.559, allocations: 363.5 kB / 1.72 GB, free: 14.34 MB / 1.404 GB Notification: Performance of setup shared object (initialization): time 0.0001356/1.559, allocations: 301.1 kB / 1.721 GB, free: 14.04 MB / 1.404 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001718/1.56, allocations: 0.9136 MB / 1.722 GB, free: 13.12 MB / 1.404 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002049/1.563, allocations: 1.255 MB / 1.723 GB, free: 11.75 MB / 1.404 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003983/1.567, allocations: 2.329 MB / 1.725 GB, free: 9.309 MB / 1.404 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/1.567, allocations: 4 kB / 1.725 GB, free: 9.305 MB / 1.404 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005191/1.572, allocations: 2.602 MB / 1.728 GB, free: 6.688 MB / 1.404 GB Notification: Performance of prepare postOptimizeDAE: time 6.639e-05/1.572, allocations: 38.59 kB / 1.728 GB, free: 6.645 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/1.572, allocations: 8 kB / 1.728 GB, free: 6.637 MB / 1.404 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.663e-05/1.572, allocations: 23.75 kB / 1.728 GB, free: 6.617 MB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00217/1.574, allocations: 467.3 kB / 1.728 GB, free: 6.16 MB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.227e-05/1.574, allocations: 19.98 kB / 1.728 GB, free: 6.141 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002216/1.576, allocations: 190.6 kB / 1.728 GB, free: 5.953 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000207/1.576, allocations: 79.98 kB / 1.728 GB, free: 5.875 MB / 1.404 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.001515/1.578, allocations: 0.6846 MB / 1.729 GB, free: 5.18 MB / 1.404 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006724/1.579, allocations: 226.6 kB / 1.729 GB, free: 4.957 MB / 1.404 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005069/1.584, allocations: 2.522 MB / 1.732 GB, free: 2.422 MB / 1.404 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.201e-05/1.584, allocations: 20 kB / 1.732 GB, free: 2.402 MB / 1.404 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/1.584, allocations: 0 / 1.732 GB, free: 2.402 MB / 1.404 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003994/1.588, allocations: 2.327 MB / 1.734 GB, free: 8 kB / 1.404 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01148/1.599, allocations: 5.616 MB / 1.74 GB, free: 10.28 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.43e-05/1.599, allocations: 8.062 kB / 1.74 GB, free: 10.27 MB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002415/1.602, allocations: 467.6 kB / 1.74 GB, free: 9.812 MB / 1.42 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.43e-05/1.602, allocations: 12 kB / 1.74 GB, free: 9.801 MB / 1.42 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001709/1.602, allocations: 59.92 kB / 1.74 GB, free: 9.742 MB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.268e-05/1.602, allocations: 8 kB / 1.74 GB, free: 9.734 MB / 1.42 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/1.602, allocations: 7.938 kB / 1.74 GB, free: 9.727 MB / 1.42 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006721/1.609, allocations: 3.822 MB / 1.744 GB, free: 5.855 MB / 1.42 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001467/1.61, allocations: 0.546 MB / 1.744 GB, free: 5.289 MB / 1.42 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003989/1.61, allocations: 44 kB / 1.744 GB, free: 5.246 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001564/1.612, allocations: 63.95 kB / 1.744 GB, free: 5.184 MB / 1.42 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003649/1.612, allocations: 157.6 kB / 1.745 GB, free: 5.031 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/1.613, allocations: 67.97 kB / 1.745 GB, free: 4.965 MB / 1.42 GB Notification: Performance of sorting global known variables: time 0.001632/1.614, allocations: 0.9945 MB / 1.746 GB, free: 3.977 MB / 1.42 GB Notification: Performance of sort global known variables: time 1.01e-07/1.614, allocations: 0 / 1.746 GB, free: 3.977 MB / 1.42 GB Notification: Performance of remove unused functions: time 0.002678/1.617, allocations: 0.9434 MB / 1.747 GB, free: 3.031 MB / 1.42 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.007613/1.624, allocations: 4.616 MB / 1.751 GB, free: 14.36 MB / 1.436 GB Notification: Performance of simCode: created initialization part: time 0.004397/1.629, allocations: 2.226 MB / 1.753 GB, free: 12.12 MB / 1.436 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/1.629, allocations: 1.812 kB / 1.753 GB, free: 12.12 MB / 1.436 GB Notification: Performance of simCode: created simulation system equations: time 0.002182/1.631, allocations: 1.148 MB / 1.754 GB, free: 10.97 MB / 1.436 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007111/1.638, allocations: 1.286 MB / 1.756 GB, free: 9.711 MB / 1.436 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03848/1.677, allocations: 18.64 MB / 1.774 GB, free: 6.566 MB / 1.451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00248/1.679, allocations: 1.968 MB / 1.776 GB, free: 4.562 MB / 1.451 GB Notification: Performance of simCode: alias equations: time 0.002692/1.682, allocations: 0.7249 MB / 1.776 GB, free: 3.836 MB / 1.451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001941/1.684, allocations: 1.097 MB / 1.778 GB, free: 2.738 MB / 1.451 GB Notification: Performance of SimCode: time 1.072e-06/1.684, allocations: 0 / 1.778 GB, free: 2.738 MB / 1.451 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1239/1.808, allocations: 66.05 MB / 1.842 GB, free: 1.391 MB / 1.514 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.15/15.96, allocations: 14.62 kB / 1.842 GB, free: 1.379 MB / 1.514 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat --tempDir=temp_Buildings_12_Buildings_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 22.45024255599128] Failed to read output from testmodel.py, exit status != 0: 16.17948900599731 16.198779785 14.72327042 Calling exit ...