Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001704/0.001704, allocations: 117.4 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.002015/0.002015, allocations: 214.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.472/1.472, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.003/3.003, allocations: 0.5003 GB / 0.8026 GB, free: 6.684 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_latest_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.00195/0.00195, allocations: 71.89 kB / 1.165 GB, free: 480 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8978/0.8997, allocations: 178.9 MB / 1.34 GB, free: 16.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.3518/1.252, allocations: 298.7 MB / 1.632 GB, free: 13.02 MB / 1.311 GB Notification: Performance of NFInst.instExpressions: time 0.03339/1.285, allocations: 23.14 MB / 1.654 GB, free: 5.824 MB / 1.326 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003337/1.288, allocations: 103.2 kB / 1.655 GB, free: 5.723 MB / 1.326 GB Notification: Performance of NFTyping.typeComponents: time 0.005325/1.294, allocations: 1.884 MB / 1.656 GB, free: 3.828 MB / 1.326 GB Notification: Performance of NFTyping.typeBindings: time 0.01595/1.31, allocations: 6.312 MB / 1.663 GB, free: 13.49 MB / 1.342 GB Notification: Performance of NFTyping.typeClassSections: time 0.00846/1.318, allocations: 2.932 MB / 1.665 GB, free: 10.56 MB / 1.342 GB Notification: Performance of NFFlatten.flatten: time 0.01089/1.329, allocations: 7.296 MB / 1.673 GB, free: 3.242 MB / 1.342 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004736/1.334, allocations: 2.465 MB / 1.675 GB, free: 0.7266 MB / 1.342 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007806/1.341, allocations: 3.24 MB / 1.678 GB, free: 13.5 MB / 1.357 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005321/1.347, allocations: 2.848 MB / 1.681 GB, free: 10.65 MB / 1.357 GB Notification: Performance of NFPackage.collectConstants: time 0.001157/1.348, allocations: 340 kB / 1.681 GB, free: 10.32 MB / 1.357 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01282/1.361, allocations: 6.32 MB / 1.687 GB, free: 3.984 MB / 1.357 GB Notification: Performance of NFScalarize.scalarize: time 0.002384/1.363, allocations: 1.492 MB / 1.689 GB, free: 2.488 MB / 1.357 GB Notification: Performance of NFVerifyModel.verify: time 0.003337/1.366, allocations: 1.902 MB / 1.691 GB, free: 0.5781 MB / 1.357 GB Notification: Performance of NFConvertDAE.convert: time 0.01487/1.381, allocations: 6.962 MB / 1.698 GB, free: 9.594 MB / 1.373 GB Notification: Performance of FrontEnd - DAE generated: time 9.848e-06/1.381, allocations: 4 kB / 1.698 GB, free: 9.59 MB / 1.373 GB Notification: Performance of FrontEnd: time 2.194e-06/1.381, allocations: 0 / 1.698 GB, free: 9.59 MB / 1.373 GB Notification: Performance of Transformations before backend: time 0.0001544/1.381, allocations: 0 / 1.698 GB, free: 9.59 MB / 1.373 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.0114/1.393, allocations: 4.2 MB / 1.702 GB, free: 5.312 MB / 1.373 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/1.393, allocations: 12.03 kB / 1.702 GB, free: 5.301 MB / 1.373 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.776e-05/1.393, allocations: 73.38 kB / 1.702 GB, free: 5.227 MB / 1.373 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005832/1.394, allocations: 392 kB / 1.702 GB, free: 4.836 MB / 1.373 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005715/1.399, allocations: 0.8643 MB / 1.703 GB, free: 3.969 MB / 1.373 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0038/1.403, allocations: 1.866 MB / 1.705 GB, free: 2.047 MB / 1.373 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001799/1.403, allocations: 209.4 kB / 1.705 GB, free: 1.84 MB / 1.373 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004858/1.404, allocations: 283.9 kB / 1.705 GB, free: 1.562 MB / 1.373 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006425/1.41, allocations: 3.593 MB / 1.709 GB, free: 13.84 MB / 1.389 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.78e-05/1.41, allocations: 11.94 kB / 1.709 GB, free: 13.83 MB / 1.389 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002809/1.411, allocations: 115.9 kB / 1.709 GB, free: 13.72 MB / 1.389 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001651/1.411, allocations: 149.3 kB / 1.709 GB, free: 13.57 MB / 1.389 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005955/1.417, allocations: 3.284 MB / 1.712 GB, free: 10.27 MB / 1.389 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.01775/1.434, allocations: 14.23 MB / 1.726 GB, free: 10.82 MB / 1.404 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003803/1.438, allocations: 2.368 MB / 1.728 GB, free: 8.387 MB / 1.404 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001992/1.44, allocations: 1.255 MB / 1.73 GB, free: 7.129 MB / 1.404 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001346/1.442, allocations: 1.375 MB / 1.731 GB, free: 5.457 MB / 1.404 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00207/1.444, allocations: 1.226 MB / 1.732 GB, free: 4.223 MB / 1.404 GB Notification: Performance of pre-optimization done (n=213): time 3.978e-06/1.444, allocations: 4 kB / 1.732 GB, free: 4.219 MB / 1.404 GB Notification: Performance of matching and sorting (n=213): time 0.006061/1.45, allocations: 3.18 MB / 1.735 GB, free: 1.035 MB / 1.404 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.584e-05/1.45, allocations: 77.41 kB / 1.735 GB, free: 0.9453 MB / 1.404 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002014/1.452, allocations: 1.449 MB / 1.737 GB, free: 15.49 MB / 1.42 GB Notification: Performance of collectPreVariables (initialization): time 0.0001744/1.452, allocations: 73.7 kB / 1.737 GB, free: 15.41 MB / 1.42 GB Notification: Performance of collectInitialEqns (initialization): time 0.001008/1.453, allocations: 1.141 MB / 1.738 GB, free: 14.26 MB / 1.42 GB Notification: Performance of collectInitialBindings (initialization): time 0.000764/1.454, allocations: 0.7707 MB / 1.739 GB, free: 13.48 MB / 1.42 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005821/1.454, allocations: 363.5 kB / 1.739 GB, free: 13.12 MB / 1.42 GB Notification: Performance of setup shared object (initialization): time 0.0001211/1.454, allocations: 305.1 kB / 1.739 GB, free: 12.82 MB / 1.42 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001607/1.456, allocations: 0.9136 MB / 1.74 GB, free: 11.9 MB / 1.42 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001907/1.458, allocations: 1.251 MB / 1.741 GB, free: 10.53 MB / 1.42 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003655/1.462, allocations: 2.325 MB / 1.744 GB, free: 8.098 MB / 1.42 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/1.462, allocations: 4 kB / 1.744 GB, free: 8.094 MB / 1.42 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004681/1.466, allocations: 2.606 MB / 1.746 GB, free: 5.473 MB / 1.42 GB Notification: Performance of prepare postOptimizeDAE: time 5.431e-05/1.466, allocations: 37.7 kB / 1.746 GB, free: 5.43 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/1.466, allocations: 4 kB / 1.746 GB, free: 5.426 MB / 1.42 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.716e-05/1.466, allocations: 23.94 kB / 1.746 GB, free: 5.402 MB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001999/1.468, allocations: 471.9 kB / 1.747 GB, free: 4.941 MB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-05/1.468, allocations: 19.94 kB / 1.747 GB, free: 4.922 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00198/1.47, allocations: 194.6 kB / 1.747 GB, free: 4.73 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001586/1.471, allocations: 75.98 kB / 1.747 GB, free: 4.656 MB / 1.42 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.001249/1.472, allocations: 0.6863 MB / 1.748 GB, free: 3.961 MB / 1.42 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004679/1.472, allocations: 230.6 kB / 1.748 GB, free: 3.734 MB / 1.42 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004687/1.477, allocations: 2.515 MB / 1.75 GB, free: 1.203 MB / 1.42 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.078e-05/1.477, allocations: 27.94 kB / 1.75 GB, free: 1.176 MB / 1.42 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/1.477, allocations: 4 kB / 1.75 GB, free: 1.172 MB / 1.42 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003737/1.481, allocations: 2.335 MB / 1.753 GB, free: 14.77 MB / 1.436 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009948/1.491, allocations: 5.597 MB / 1.758 GB, free: 9.059 MB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/1.491, allocations: 8.312 kB / 1.758 GB, free: 9.051 MB / 1.436 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002275/1.493, allocations: 471.3 kB / 1.759 GB, free: 8.59 MB / 1.436 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.871e-05/1.493, allocations: 12 kB / 1.759 GB, free: 8.578 MB / 1.436 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001458/1.493, allocations: 51.98 kB / 1.759 GB, free: 8.527 MB / 1.436 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.752e-05/1.493, allocations: 19.98 kB / 1.759 GB, free: 8.508 MB / 1.436 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.493, allocations: 11.88 kB / 1.759 GB, free: 8.496 MB / 1.436 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006316/1.499, allocations: 3.807 MB / 1.762 GB, free: 4.645 MB / 1.436 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001234/1.501, allocations: 0.55 MB / 1.763 GB, free: 4.074 MB / 1.436 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000302/1.501, allocations: 47.98 kB / 1.763 GB, free: 4.027 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001459/1.502, allocations: 65.84 kB / 1.763 GB, free: 3.965 MB / 1.436 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003202/1.503, allocations: 149.7 kB / 1.763 GB, free: 3.816 MB / 1.436 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000145/1.503, allocations: 75.91 kB / 1.763 GB, free: 3.742 MB / 1.436 GB Notification: Performance of sorting global known variables: time 0.00141/1.504, allocations: 0.9866 MB / 1.764 GB, free: 2.762 MB / 1.436 GB Notification: Performance of sort global known variables: time 9e-08/1.504, allocations: 0 / 1.764 GB, free: 2.762 MB / 1.436 GB Notification: Performance of remove unused functions: time 0.002232/1.507, allocations: 0.9473 MB / 1.765 GB, free: 1.812 MB / 1.436 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.006948/1.514, allocations: 4.619 MB / 1.77 GB, free: 13.14 MB / 1.451 GB Notification: Performance of simCode: created initialization part: time 0.004002/1.518, allocations: 2.231 MB / 1.772 GB, free: 10.89 MB / 1.451 GB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/1.518, allocations: 4 kB / 1.772 GB, free: 10.89 MB / 1.451 GB Notification: Performance of simCode: created simulation system equations: time 0.001925/1.519, allocations: 1.149 MB / 1.773 GB, free: 9.746 MB / 1.451 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005789/1.525, allocations: 1.287 MB / 1.774 GB, free: 8.48 MB / 1.451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0302/1.555, allocations: 18.64 MB / 1.792 GB, free: 5.336 MB / 1.467 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00183/1.557, allocations: 1.968 MB / 1.794 GB, free: 3.332 MB / 1.467 GB Notification: Performance of simCode: alias equations: time 0.002579/1.56, allocations: 0.721 MB / 1.795 GB, free: 2.609 MB / 1.467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001725/1.562, allocations: 1.101 MB / 1.796 GB, free: 1.508 MB / 1.467 GB Notification: Performance of SimCode: time 6.81e-07/1.562, allocations: 3.938 kB / 1.796 GB, free: 1.504 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1383/1.7, allocations: 66.05 MB / 1.861 GB, free: 84 kB / 1.529 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.23/14.93, allocations: 15.86 kB / 1.861 GB, free: 68 kB / 1.529 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 21.398325394955464] Failed to read output from testmodel.py, exit status != 0: 15.102509096032009 15.123798986 13.737939468 Calling exit ...