Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="IDEAS_dev_IDEAS_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.001406/0.001405, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002034/0.002034, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.024/2.024, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.739/1.739, allocations: 135.2 MB / 426.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005175/0.0005176, allocations: 15.98 kB / 0.5069 GB, free: 5.105 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2934, allocations: 82.31 MB / 0.5873 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 1.089/1.383, allocations: 238.7 MB / 0.8203 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04978/1.433, allocations: 21.23 MB / 0.8411 GB, free: 8.348 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006258/1.439, allocations: 59.62 kB / 0.8411 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.008978/1.448, allocations: 1.528 MB / 0.8426 GB, free: 6.754 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.02591/1.474, allocations: 4.574 MB / 0.8471 GB, free: 2.168 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.01044/1.484, allocations: 2.119 MB / 0.8492 GB, free: 76 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01272/1.497, allocations: 4.158 MB / 0.8532 GB, free: 11.92 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006381/1.503, allocations: 2.292 MB / 0.8555 GB, free: 9.609 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009762/1.513, allocations: 2.243 MB / 0.8576 GB, free: 7.359 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006114/1.519, allocations: 1.736 MB / 0.8593 GB, free: 5.617 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001569/1.521, allocations: 168 kB / 0.8595 GB, free: 5.453 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01428/1.535, allocations: 2.391 MB / 0.8618 GB, free: 3.059 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.003808/1.539, allocations: 1.169 MB / 0.863 GB, free: 1.887 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002976/1.542, allocations: 0.6797 MB / 0.8636 GB, free: 1.199 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.6412/2.184, allocations: 4.192 MB / 0.8677 GB, free: 15.43 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/2.184, allocations: 0 / 0.8677 GB, free: 15.43 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.617e-06/2.184, allocations: 0 / 0.8677 GB, free: 15.43 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002018/2.184, allocations: 0 / 0.8677 GB, free: 15.43 MB / 0.67 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.01538/2.199, allocations: 3.388 MB / 0.871 GB, free: 13.91 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/2.199, allocations: 11.16 kB / 0.8711 GB, free: 13.91 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001824/2.201, allocations: 394.3 kB / 0.8714 GB, free: 13.86 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007473/2.209, allocations: 0.8648 MB / 0.8723 GB, free: 13.68 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009428/2.218, allocations: 1.752 MB / 0.874 GB, free: 13.23 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003791/2.219, allocations: 210.4 kB / 0.8742 GB, free: 13.22 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001672/2.22, allocations: 278 kB / 0.8745 GB, free: 13.22 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01372/2.234, allocations: 3.561 MB / 0.8779 GB, free: 12.85 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000136/2.234, allocations: 12.22 kB / 0.8779 GB, free: 12.84 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005854/2.235, allocations: 116.4 kB / 0.8781 GB, free: 12.84 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003944/2.235, allocations: 144.4 kB / 0.8782 GB, free: 12.84 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01261/2.248, allocations: 3.278 MB / 0.8814 GB, free: 12.8 MB / 0.67 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.02628/2.274, allocations: 14.17 MB / 0.8952 GB, free: 20.49 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004842/2.279, allocations: 2.536 MB / 0.8977 GB, free: 20.05 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001576/2.281, allocations: 1.296 MB / 0.899 GB, free: 18.64 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002791/2.284, allocations: 1.221 MB / 0.9002 GB, free: 18.57 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=216): time 4.388e-06/2.284, allocations: 0 / 0.9002 GB, free: 18.57 MB / 0.6856 GB Notification: Performance of matching and sorting (n=216): time 0.006975/2.291, allocations: 3.198 MB / 0.9033 GB, free: 18.38 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.302e-05/2.291, allocations: 74.53 kB / 0.9034 GB, free: 18.31 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002736/2.293, allocations: 1.447 MB / 0.9048 GB, free: 18.14 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002864/2.294, allocations: 69.42 kB / 0.9048 GB, free: 18.11 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001135/2.295, allocations: 1.111 MB / 0.9059 GB, free: 17.65 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008243/2.296, allocations: 0.7434 MB / 0.9066 GB, free: 17.17 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/2.296, allocations: 41.22 kB / 0.9067 GB, free: 17.17 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000228/2.296, allocations: 390.8 kB / 0.9071 GB, free: 16.86 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001815/2.298, allocations: 0.9185 MB / 0.908 GB, free: 16.85 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002069/2.3, allocations: 1.287 MB / 0.9092 GB, free: 16.48 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00232/2.302, allocations: 1.133 MB / 0.9103 GB, free: 16.41 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-05/2.302, allocations: 2.75 kB / 0.9103 GB, free: 16.41 MB / 0.6856 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.006767/2.309, allocations: 2.609 MB / 0.9129 GB, free: 16.19 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 8.733e-05/2.309, allocations: 34.95 kB / 0.9129 GB, free: 16.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.511e-05/2.309, allocations: 8.766 kB / 0.9129 GB, free: 16.16 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.635e-05/2.309, allocations: 16.91 kB / 0.9129 GB, free: 16.16 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002371/2.312, allocations: 489.1 kB / 0.9134 GB, free: 16.16 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.611e-05/2.312, allocations: 18.84 kB / 0.9134 GB, free: 16.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004258/2.316, allocations: 374.5 kB / 0.9138 GB, free: 16.04 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002328/2.316, allocations: 78.78 kB / 0.9138 GB, free: 16.04 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 260 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002097/2.318, allocations: 0.6926 MB / 0.9145 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007514/2.319, allocations: 213.5 kB / 0.9147 GB, free: 15.81 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004988/2.324, allocations: 2.546 MB / 0.9172 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.95e-05/2.324, allocations: 24.17 kB / 0.9172 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/2.324, allocations: 0 / 0.9172 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003808/2.328, allocations: 2.348 MB / 0.9195 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01169/2.34, allocations: 5.634 MB / 0.925 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/2.34, allocations: 0 / 0.925 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002287/2.342, allocations: 499.4 kB / 0.9255 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.402e-05/2.342, allocations: 20.3 kB / 0.9255 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001586/2.342, allocations: 56.31 kB / 0.9256 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.759e-05/2.342, allocations: 9.062 kB / 0.9256 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.176e-06/2.342, allocations: 3.312 kB / 0.9256 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006134/2.348, allocations: 4.179 MB / 0.9297 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002068/2.351, allocations: 0.5448 MB / 0.9302 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004664/2.351, allocations: 44.84 kB / 0.9302 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002196/2.353, allocations: 250.3 kB / 0.9305 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003066/2.354, allocations: 152.9 kB / 0.9306 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001401/2.354, allocations: 66.86 kB / 0.9307 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001467/2.355, allocations: 0.9794 MB / 0.9316 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/2.355, allocations: 4 kB / 0.9317 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003/2.358, allocations: 0.94 MB / 0.9326 GB, free: 13.5 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.U,volEas.dynBal.m,volEas.dynBal.mXi[1],volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1],volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],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 (220): * Single equations (assignments): 218 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007706/2.366, allocations: 5.686 MB / 0.9381 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004289/2.37, allocations: 2.353 MB / 0.9404 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/2.37, allocations: 1.75 kB / 0.9404 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001974/2.372, allocations: 1.245 MB / 0.9416 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006859/2.379, allocations: 1.201 MB / 0.9428 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04038/2.42, allocations: 21.11 MB / 0.9634 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002938/2.423, allocations: 2.031 MB / 0.9654 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.004121/2.427, allocations: 0.7262 MB / 0.9661 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002108/2.429, allocations: 1.098 MB / 0.9672 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of SimCode: time 1.493e-06/2.429, allocations: 3.375 kB / 0.9672 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2976/2.726, allocations: 65.81 MB / 1.031 GB, free: 12.81 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000347/2.727, allocations: 221.4 kB / 1.032 GB, free: 12.56 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.303/9.03, allocations: 5.797 kB / 1.032 GB, free: 12.56 MB / 0.7637 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_CO2TransportStep.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) Environment - environmentSimulation: