Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001355, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 193.3 kB / 16.14 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.927/2.927, allocations: 437 MB / 0.7099 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 67.89 kB / 0.8686 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9565/0.958, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.332/2.29, allocations: 292.1 MB / 1.302 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03682/2.327, allocations: 23.26 MB / 1.325 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006329/2.333, allocations: 70.31 kB / 1.325 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006935/2.34, allocations: 1.546 MB / 1.326 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02274/2.363, allocations: 5.781 MB / 1.332 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01064/2.374, allocations: 2.631 MB / 1.334 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01706/2.391, allocations: 10.72 MB / 1.345 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005979/2.397, allocations: 2.528 MB / 1.347 GB, free: 484 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0109/2.408, allocations: 2.528 MB / 1.35 GB, free: 328 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009104/2.417, allocations: 2.829 MB / 1.353 GB, free: 15.97 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.002247/2.419, allocations: 206.1 kB / 1.353 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02675/2.446, allocations: 6.894 MB / 1.36 GB, free: 15.91 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.005222/2.451, allocations: 1.342 MB / 1.361 GB, free: 15.77 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.009578/2.461, allocations: 1.754 MB / 1.363 GB, free: 15.3 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.03051/2.492, allocations: 7.186 MB / 1.37 GB, free: 13.2 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.232e-05/2.492, allocations: 0 / 1.37 GB, free: 13.2 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.336e-06/2.492, allocations: 0 / 1.37 GB, free: 13.2 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0004966/2.492, allocations: 0 / 1.37 GB, free: 13.2 MB / 1.014 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.02676/2.519, allocations: 4.09 MB / 1.374 GB, free: 10.7 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.563e-05/2.519, allocations: 7.844 kB / 1.374 GB, free: 10.7 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001868/2.521, allocations: 391.6 kB / 1.374 GB, free: 10.41 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008344/2.529, allocations: 0.8392 MB / 1.375 GB, free: 10.02 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006171/2.536, allocations: 1.796 MB / 1.377 GB, free: 8.848 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002383/2.536, allocations: 210.9 kB / 1.377 GB, free: 8.75 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001224/2.537, allocations: 278.9 kB / 1.377 GB, free: 8.656 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009161/2.546, allocations: 3.593 MB / 1.381 GB, free: 6.508 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-05/2.546, allocations: 9.594 kB / 1.381 GB, free: 6.504 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003408/2.547, allocations: 114.7 kB / 1.381 GB, free: 6.422 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002094/2.547, allocations: 148.2 kB / 1.381 GB, free: 6.391 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008117/2.555, allocations: 3.29 MB / 1.384 GB, free: 4.777 MB / 1.014 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.02583/2.581, allocations: 14.14 MB / 1.398 GB, free: 7.699 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004628/2.586, allocations: 2.491 MB / 1.4 GB, free: 5.152 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002604/2.588, allocations: 1.352 MB / 1.402 GB, free: 3.797 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001939/2.59, allocations: 1.381 MB / 1.403 GB, free: 2.125 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002738/2.593, allocations: 1.221 MB / 1.404 GB, free: 0.8984 MB / 1.029 GB Notification: Performance of pre-optimization done (n=213): time 5.47e-06/2.593, allocations: 0 / 1.404 GB, free: 0.8984 MB / 1.029 GB Notification: Performance of matching and sorting (n=213): time 0.006984/2.6, allocations: 3.166 MB / 1.407 GB, free: 13.73 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.964e-05/2.6, allocations: 77.41 kB / 1.407 GB, free: 13.64 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002683/2.603, allocations: 1.452 MB / 1.409 GB, free: 12.19 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0003081/2.603, allocations: 69.7 kB / 1.409 GB, free: 12.11 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001367/2.605, allocations: 1.118 MB / 1.41 GB, free: 10.98 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.001068/2.606, allocations: 0.7316 MB / 1.411 GB, free: 10.26 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000617/2.606, allocations: 359.5 kB / 1.411 GB, free: 9.898 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001628/2.607, allocations: 309.1 kB / 1.411 GB, free: 9.594 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001734/2.608, allocations: 0.9097 MB / 1.412 GB, free: 8.68 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001952/2.61, allocations: 1.265 MB / 1.413 GB, free: 7.301 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003898/2.614, allocations: 2.32 MB / 1.416 GB, free: 4.902 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-05/2.614, allocations: 3.938 kB / 1.416 GB, free: 4.898 MB / 1.045 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005473/2.62, allocations: 2.606 MB / 1.418 GB, free: 2.32 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.42e-05/2.62, allocations: 37.69 kB / 1.418 GB, free: 2.277 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.233e-05/2.62, allocations: 8 kB / 1.418 GB, free: 2.27 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.559e-05/2.62, allocations: 16 kB / 1.418 GB, free: 2.254 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002065/2.622, allocations: 471.1 kB / 1.419 GB, free: 1.82 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.463e-05/2.622, allocations: 19.56 kB / 1.419 GB, free: 1.805 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003545/2.626, allocations: 393.9 kB / 1.419 GB, free: 1.418 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002672/2.626, allocations: 83.98 kB / 1.419 GB, free: 1.336 MB / 1.045 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.002015/2.628, allocations: 0.6887 MB / 1.42 GB, free: 0.6641 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001098/2.629, allocations: 213.5 kB / 1.42 GB, free: 464 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005601/2.635, allocations: 2.523 MB / 1.422 GB, free: 13.91 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.021e-05/2.635, allocations: 20 kB / 1.422 GB, free: 13.89 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.445e-05/2.635, allocations: 0 / 1.422 GB, free: 13.89 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003882/2.639, allocations: 2.33 MB / 1.425 GB, free: 11.5 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01308/2.652, allocations: 5.611 MB / 1.43 GB, free: 5.852 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.528e-05/2.652, allocations: 7.938 kB / 1.43 GB, free: 5.844 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002392/2.654, allocations: 476.9 kB / 1.431 GB, free: 5.398 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.63e-05/2.654, allocations: 8 kB / 1.431 GB, free: 5.391 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002668/2.654, allocations: 59.97 kB / 1.431 GB, free: 5.332 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.366e-05/2.655, allocations: 15.19 kB / 1.431 GB, free: 5.32 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/2.655, allocations: 0 / 1.431 GB, free: 5.32 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007918/2.662, allocations: 3.79 MB / 1.434 GB, free: 1.484 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002598/2.665, allocations: 0.548 MB / 1.435 GB, free: 0.918 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001032/2.666, allocations: 47.98 kB / 1.435 GB, free: 0.8711 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002948/2.669, allocations: 244.4 kB / 1.435 GB, free: 0.6328 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000389/2.67, allocations: 141.8 kB / 1.435 GB, free: 0.4961 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002168/2.67, allocations: 75.91 kB / 1.436 GB, free: 432 kB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002365/2.672, allocations: 0.9866 MB / 1.436 GB, free: 15.44 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.11e-07/2.672, allocations: 0 / 1.436 GB, free: 15.44 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003729/2.676, allocations: 0.9312 MB / 1.437 GB, free: 14.51 MB / 1.076 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.007892/2.684, allocations: 4.625 MB / 1.442 GB, free: 9.871 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004284/2.688, allocations: 2.332 MB / 1.444 GB, free: 7.57 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.194e-05/2.688, allocations: 4 kB / 1.444 GB, free: 7.566 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002049/2.69, allocations: 1.221 MB / 1.445 GB, free: 6.395 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007115/2.697, allocations: 1.233 MB / 1.447 GB, free: 5.168 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04319/2.741, allocations: 21.37 MB / 1.467 GB, free: 14.49 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002921/2.744, allocations: 1.972 MB / 1.469 GB, free: 12.48 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.00382/2.747, allocations: 0.729 MB / 1.47 GB, free: 11.75 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001994/2.749, allocations: 1.097 MB / 1.471 GB, free: 10.65 MB / 1.107 GB Notification: Performance of SimCode: time 1.393e-06/2.749, allocations: 0 / 1.471 GB, free: 10.65 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1245/2.874, allocations: 63.03 MB / 1.533 GB, free: 12.4 MB / 1.17 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002317/2.874, allocations: 246.9 kB / 1.533 GB, free: 12.15 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.142/7.017, allocations: 0 / 1.533 GB, free: 12.15 MB / 1.17 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)