Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="IBPSA_latest_IBPSA_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.001186/0.001186, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009626/0.0009627, allocations: 208.4 kB / 16.79 MB, free: 6.84 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.161/1.161, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 5.45/5.45, allocations: 115.3 MB / 406 MB, free: 2.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 68.44 kB / 493 MB, free: 6.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1261, allocations: 76.18 MB / 0.5558 GB, free: 10.76 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.CO2TransportStep): time 0.7562/0.8824, allocations: 292 MB / 0.8411 GB, free: 1.379 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02492/0.9073, allocations: 23.26 MB / 0.8638 GB, free: 1.176 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00331/0.9107, allocations: 68.47 kB / 0.8638 GB, free: 1.176 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003688/0.9144, allocations: 1.56 MB / 0.8654 GB, free: 1.145 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01267/0.9271, allocations: 5.775 MB / 0.871 GB, free: 0.8672 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005933/0.933, allocations: 2.63 MB / 0.8736 GB, free: 0.7852 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008871/0.9419, allocations: 10.73 MB / 0.884 GB, free: 0.7656 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00295/0.9449, allocations: 2.524 MB / 0.8865 GB, free: 16.39 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005688/0.9506, allocations: 2.542 MB / 0.889 GB, free: 16.37 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004309/0.9549, allocations: 2.817 MB / 0.8917 GB, free: 16.36 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004744/0.9554, allocations: 203.1 kB / 0.8919 GB, free: 16.36 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01096/0.9663, allocations: 6.904 MB / 0.8987 GB, free: 16.3 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001532/0.9679, allocations: 1.335 MB / 0.9 GB, free: 16.2 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002635/0.9705, allocations: 1.763 MB / 0.9017 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01072/0.9813, allocations: 7.181 MB / 0.9087 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.9813, allocations: 0 / 0.9087 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of FrontEnd: time 8.81e-07/0.9813, allocations: 0 / 0.9087 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.286e-05/0.9814, allocations: 0 / 0.9087 GB, free: 12.91 MB / 0.6544 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.008383/0.9897, allocations: 4.09 MB / 0.9127 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.9898, allocations: 11.22 kB / 0.9127 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004055/0.9902, allocations: 395.7 kB / 0.9131 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00509/0.9953, allocations: 0.8508 MB / 0.9139 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002799/0.9981, allocations: 1.789 MB / 0.9157 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.9982, allocations: 211.1 kB / 0.9159 GB, free: 9.406 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003593/0.9986, allocations: 271.7 kB / 0.9161 GB, free: 9.406 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005312/1.004, allocations: 3.6 MB / 0.9196 GB, free: 8.348 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.103e-05/1.004, allocations: 5.531 kB / 0.9196 GB, free: 8.348 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002334/1.004, allocations: 113.5 kB / 0.9198 GB, free: 8.348 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001257/1.004, allocations: 148 kB / 0.9199 GB, free: 8.328 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005039/1.009, allocations: 3.291 MB / 0.9231 GB, free: 6.586 MB / 0.6544 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.01404/1.023, allocations: 14.15 MB / 0.9369 GB, free: 9.613 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003372/1.027, allocations: 2.484 MB / 0.9394 GB, free: 7.082 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001799/1.029, allocations: 1.349 MB / 0.9407 GB, free: 5.73 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001114/1.03, allocations: 1.375 MB / 0.942 GB, free: 4.066 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001852/1.032, allocations: 1.225 MB / 0.9432 GB, free: 2.836 MB / 0.67 GB Notification: Performance of pre-optimization done (n=213): time 4.198e-06/1.032, allocations: 4 kB / 0.9432 GB, free: 2.832 MB / 0.67 GB Notification: Performance of matching and sorting (n=213): time 0.005231/1.037, allocations: 3.168 MB / 0.9463 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/1.037, allocations: 73.41 kB / 0.9464 GB, free: 15.58 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001636/1.039, allocations: 1.46 MB / 0.9478 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001287/1.039, allocations: 69.64 kB / 0.9479 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007429/1.04, allocations: 1.111 MB / 0.949 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005835/1.04, allocations: 0.7411 MB / 0.9497 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005479/1.041, allocations: 363.5 kB / 0.95 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.606e-05/1.041, allocations: 305.1 kB / 0.9503 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001452/1.042, allocations: 0.9097 MB / 0.9512 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001684/1.044, allocations: 1.255 MB / 0.9524 GB, free: 9.234 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003219/1.047, allocations: 2.324 MB / 0.9547 GB, free: 6.832 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/1.047, allocations: 8 kB / 0.9547 GB, free: 6.824 MB / 0.6856 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004043/1.051, allocations: 2.601 MB / 0.9572 GB, free: 4.25 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.725e-05/1.051, allocations: 33.7 kB / 0.9573 GB, free: 4.211 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/1.051, allocations: 8 kB / 0.9573 GB, free: 4.203 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.682e-05/1.051, allocations: 16.66 kB / 0.9573 GB, free: 4.188 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00184/1.053, allocations: 467.9 kB / 0.9578 GB, free: 3.758 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.283e-05/1.053, allocations: 18.53 kB / 0.9578 GB, free: 3.742 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002323/1.056, allocations: 397.8 kB / 0.9581 GB, free: 3.352 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/1.056, allocations: 75.98 kB / 0.9582 GB, free: 3.277 MB / 0.6856 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.001126/1.057, allocations: 0.6865 MB / 0.9589 GB, free: 2.609 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000341/1.057, allocations: 213.5 kB / 0.9591 GB, free: 2.398 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00409/1.061, allocations: 2.529 MB / 0.9616 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/1.061, allocations: 20 kB / 0.9616 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/1.061, allocations: 0 / 0.9616 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003257/1.065, allocations: 2.336 MB / 0.9639 GB, free: 13.44 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008534/1.073, allocations: 5.606 MB / 0.9693 GB, free: 7.789 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/1.073, allocations: 320 / 0.9693 GB, free: 7.789 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002064/1.075, allocations: 480.1 kB / 0.9698 GB, free: 7.34 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.098e-05/1.075, allocations: 8 kB / 0.9698 GB, free: 7.332 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000128/1.075, allocations: 55.97 kB / 0.9699 GB, free: 7.277 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.165e-05/1.075, allocations: 14.53 kB / 0.9699 GB, free: 7.266 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/1.075, allocations: 4 kB / 0.9699 GB, free: 7.262 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005328/1.081, allocations: 3.798 MB / 0.9736 GB, free: 3.422 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/1.082, allocations: 0.5332 MB / 0.9741 GB, free: 2.867 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002854/1.082, allocations: 51.98 kB / 0.9742 GB, free: 2.816 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001726/1.084, allocations: 239.5 kB / 0.9744 GB, free: 2.582 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002839/1.084, allocations: 148.4 kB / 0.9745 GB, free: 2.441 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001375/1.084, allocations: 71.97 kB / 0.9746 GB, free: 2.371 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001184/1.085, allocations: 0.9945 MB / 0.9756 GB, free: 1.383 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.81e-07/1.085, allocations: 0 / 0.9756 GB, free: 1.383 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001847/1.087, allocations: 0.9273 MB / 0.9765 GB, free: 464 kB / 0.7012 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.006057/1.093, allocations: 4.638 MB / 0.981 GB, free: 11.81 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003565/1.097, allocations: 2.326 MB / 0.9833 GB, free: 9.52 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/1.097, allocations: 8.188 kB / 0.9833 GB, free: 9.512 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001767/1.099, allocations: 1.223 MB / 0.9845 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004734/1.103, allocations: 1.229 MB / 0.9857 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02981/1.133, allocations: 21.37 MB / 1.007 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001851/1.135, allocations: 1.968 MB / 1.008 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002674/1.138, allocations: 0.729 MB / 1.009 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001531/1.139, allocations: 1.093 MB / 1.01 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of SimCode: time 6.81e-07/1.139, allocations: 2.531 kB / 1.01 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08518/1.225, allocations: 63.01 MB / 1.072 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002138/1.225, allocations: 239.4 kB / 1.072 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.166/4.391, allocations: 0 / 1.072 GB, free: 14.12 MB / 0.8106 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_CO2TransportStep.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)