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.001196/0.001197, allocations: 104.5 kB / 15.98 MB, free: 6.344 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.001139/0.001139, allocations: 199 kB / 16.91 MB, free: 6.188 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.198/1.198, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 12.69/12.69, allocations: 115.3 MB / 406.1 MB, free: 6.414 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 71.89 kB / 493.2 MB, free: 0.6836 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4739/0.4754, allocations: 76.17 MB / 0.556 GB, free: 36.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.CO2TransportStep): time 0.7714/1.247, allocations: 290.8 MB / 0.84 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03548/1.282, allocations: 22.93 MB / 0.8624 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006029/1.288, allocations: 69.91 kB / 0.8625 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.006651/1.295, allocations: 1.607 MB / 0.8641 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.02033/1.316, allocations: 5.764 MB / 0.8697 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.009613/1.325, allocations: 2.663 MB / 0.8723 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0117/1.337, allocations: 7.308 MB / 0.8794 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005648/1.343, allocations: 2.879 MB / 0.8822 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009482/1.352, allocations: 2.907 MB / 0.8851 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007473/1.36, allocations: 2.877 MB / 0.8879 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001483/1.361, allocations: 340 kB / 0.8882 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01638/1.377, allocations: 6.224 MB / 0.8943 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.003147/1.381, allocations: 1.472 MB / 0.8957 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.005841/1.387, allocations: 1.915 MB / 0.8976 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02077/1.407, allocations: 7.292 MB / 0.9047 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/1.407, allocations: 0 / 0.9047 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.245e-06/1.407, allocations: 0 / 0.9047 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.000212/1.408, allocations: 0 / 0.9047 GB, free: 10.28 MB / 0.6231 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.0148/1.422, allocations: 4.091 MB / 0.9087 GB, free: 6.148 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.28e-05/1.423, allocations: 8.031 kB / 0.9087 GB, free: 6.141 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001213/1.424, allocations: 399.3 kB / 0.9091 GB, free: 5.746 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006624/1.43, allocations: 0.8476 MB / 0.9099 GB, free: 4.902 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004452/1.435, allocations: 1.786 MB / 0.9117 GB, free: 3.09 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001998/1.435, allocations: 208.7 kB / 0.9119 GB, free: 2.887 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000832/1.436, allocations: 274.8 kB / 0.9121 GB, free: 2.621 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008688/1.445, allocations: 3.603 MB / 0.9156 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.994e-05/1.445, allocations: 4 kB / 0.9157 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004188/1.445, allocations: 114.9 kB / 0.9158 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002075/1.445, allocations: 145.3 kB / 0.9159 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007365/1.453, allocations: 3.284 MB / 0.9191 GB, free: 11.34 MB / 0.6387 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.02186/1.475, allocations: 14.16 MB / 0.9329 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004419/1.479, allocations: 2.478 MB / 0.9354 GB, free: 9.559 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002227/1.481, allocations: 1.352 MB / 0.9367 GB, free: 8.199 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001447/1.483, allocations: 1.376 MB / 0.938 GB, free: 6.535 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002443/1.485, allocations: 1.222 MB / 0.9392 GB, free: 5.305 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=213): time 4.719e-06/1.485, allocations: 7.938 kB / 0.9392 GB, free: 5.297 MB / 0.6544 GB Notification: Performance of matching and sorting (n=213): time 0.006741/1.492, allocations: 3.164 MB / 0.9423 GB, free: 2.129 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.516e-05/1.492, allocations: 73.41 kB / 0.9424 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00262/1.495, allocations: 1.456 MB / 0.9438 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002484/1.495, allocations: 61.7 kB / 0.9439 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001317/1.496, allocations: 1.118 MB / 0.945 GB, free: 15.39 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008868/1.497, allocations: 0.7341 MB / 0.9457 GB, free: 14.66 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007224/1.498, allocations: 363.5 kB / 0.946 GB, free: 14.3 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001368/1.498, allocations: 309.1 kB / 0.9463 GB, free: 13.99 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001765/1.5, allocations: 0.9097 MB / 0.9472 GB, free: 13.08 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002132/1.502, allocations: 1.255 MB / 0.9484 GB, free: 11.7 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003964/1.506, allocations: 2.325 MB / 0.9507 GB, free: 9.27 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/1.506, allocations: 4 kB / 0.9507 GB, free: 9.266 MB / 0.67 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.00526/1.511, allocations: 2.598 MB / 0.9532 GB, free: 6.652 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.139e-05/1.511, allocations: 37.69 kB / 0.9533 GB, free: 6.609 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-05/1.512, allocations: 8 kB / 0.9533 GB, free: 6.602 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.874e-05/1.512, allocations: 16 kB / 0.9533 GB, free: 6.586 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002139/1.514, allocations: 467.3 kB / 0.9537 GB, free: 6.129 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.645e-05/1.514, allocations: 28.12 kB / 0.9538 GB, free: 6.102 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003526/1.517, allocations: 393.8 kB / 0.9541 GB, free: 5.715 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002514/1.518, allocations: 75.98 kB / 0.9542 GB, free: 5.641 MB / 0.67 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.00162/1.519, allocations: 0.6885 MB / 0.9549 GB, free: 4.941 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007322/1.52, allocations: 213.5 kB / 0.9551 GB, free: 4.73 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005276/1.525, allocations: 2.526 MB / 0.9576 GB, free: 2.188 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.847e-05/1.525, allocations: 20 kB / 0.9576 GB, free: 2.168 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.676e-05/1.525, allocations: 0 / 0.9576 GB, free: 2.168 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004015/1.529, allocations: 2.339 MB / 0.9599 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0122/1.542, allocations: 5.604 MB / 0.9653 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/1.542, allocations: 0 / 0.9653 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002479/1.544, allocations: 483.8 kB / 0.9658 GB, free: 9.633 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.822e-05/1.544, allocations: 8 kB / 0.9658 GB, free: 9.625 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002132/1.544, allocations: 63.95 kB / 0.9659 GB, free: 9.562 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-05/1.544, allocations: 11.94 kB / 0.9659 GB, free: 9.551 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/1.544, allocations: 7.938 kB / 0.9659 GB, free: 9.543 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006905/1.551, allocations: 3.795 MB / 0.9696 GB, free: 5.699 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001883/1.553, allocations: 0.5371 MB / 0.9701 GB, free: 5.141 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005972/1.554, allocations: 47.98 kB / 0.9702 GB, free: 5.094 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002784/1.557, allocations: 242.3 kB / 0.9704 GB, free: 4.859 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003783/1.557, allocations: 153.7 kB / 0.9705 GB, free: 4.711 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000223/1.557, allocations: 67.97 kB / 0.9706 GB, free: 4.645 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001846/1.559, allocations: 0.9944 MB / 0.9716 GB, free: 3.656 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.11e-07/1.559, allocations: 0 / 0.9716 GB, free: 3.656 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003437/1.563, allocations: 0.9312 MB / 0.9725 GB, free: 2.723 MB / 0.6856 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.008241/1.571, allocations: 4.626 MB / 0.977 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.009738/1.581, allocations: 3.878 MB / 0.9808 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/1.581, allocations: 5.75 kB / 0.9808 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002352/1.583, allocations: 1.226 MB / 0.982 GB, free: 8.949 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008003/1.591, allocations: 1.286 MB / 0.9832 GB, free: 7.719 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0448/1.636, allocations: 21.37 MB / 1.004 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002623/1.639, allocations: 1.968 MB / 1.006 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003748/1.642, allocations: 0.725 MB / 1.007 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001959/1.644, allocations: 1.101 MB / 1.008 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of SimCode: time 2.735e-06/1.644, allocations: 0 / 1.008 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3799/2.024, allocations: 64.63 MB / 1.071 GB, free: 296 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/2.024, allocations: 239.5 kB / 1.071 GB, free: 295.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.452/5.476, allocations: 2.109 kB / 1.071 GB, free: 295.8 MB / 0.7325 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)