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.007278/0.007278, allocations: 100.4 kB / 15.73 MB, free: 6.012 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.001609/0.001609, allocations: 191.9 kB / 16.67 MB, free: 5.934 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8261/0.8261, allocations: 135.6 MB / 426.1 MB, free: 3.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 70.86 kB / 0.5858 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1558, allocations: 81.02 MB / 0.6649 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 0.6793/0.8351, allocations: 294.2 MB / 0.9522 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03272/0.8678, allocations: 23.02 MB / 0.9747 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003537/0.8714, allocations: 79.62 kB / 0.9748 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005522/0.877, allocations: 1.795 MB / 0.9765 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01552/0.8925, allocations: 6.124 MB / 0.9825 GB, free: 8.77 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.007825/0.9004, allocations: 2.891 MB / 0.9853 GB, free: 5.879 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01045/0.9108, allocations: 7.307 MB / 0.9925 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004606/0.9155, allocations: 2.979 MB / 0.9954 GB, free: 11.53 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006736/0.9223, allocations: 2.891 MB / 0.9982 GB, free: 8.656 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005318/0.9276, allocations: 2.7 MB / 1.001 GB, free: 5.953 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.00121/0.9288, allocations: 348 kB / 1.001 GB, free: 5.613 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01287/0.9417, allocations: 5.982 MB / 1.007 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.00245/0.9442, allocations: 1.465 MB / 1.008 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.003469/0.9477, allocations: 1.898 MB / 1.01 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01555/0.9632, allocations: 6.978 MB / 1.017 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.9633, allocations: 0 / 1.017 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9633, allocations: 0 / 1.017 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001431/0.9634, allocations: 0 / 1.017 GB, free: 5.242 MB / 0.7794 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.01135/0.9748, allocations: 4.187 MB / 1.021 GB, free: 0.9766 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.9749, allocations: 9.109 kB / 1.021 GB, free: 0.9688 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005476/0.9754, allocations: 400 kB / 1.022 GB, free: 0.5703 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005542/0.981, allocations: 0.8643 MB / 1.022 GB, free: 15.7 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003909/0.9849, allocations: 1.87 MB / 1.024 GB, free: 13.78 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002299/0.9851, allocations: 209.4 kB / 1.024 GB, free: 13.57 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005026/0.9857, allocations: 272 kB / 1.025 GB, free: 13.3 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006597/0.9923, allocations: 3.601 MB / 1.028 GB, free: 9.578 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.985e-05/0.9923, allocations: 3.953 kB / 1.028 GB, free: 9.574 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002636/0.9926, allocations: 112 kB / 1.028 GB, free: 9.465 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000231/0.9929, allocations: 149.2 kB / 1.028 GB, free: 9.316 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006045/0.9989, allocations: 3.28 MB / 1.032 GB, free: 6.023 MB / 0.795 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.01971/1.019, allocations: 14.22 MB / 1.046 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00394/1.023, allocations: 2.512 MB / 1.048 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002184/1.025, allocations: 1.356 MB / 1.049 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001552/1.026, allocations: 1.375 MB / 1.051 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002157/1.029, allocations: 1.218 MB / 1.052 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=213): time 4.619e-06/1.029, allocations: 0 / 1.052 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=213): time 0.006231/1.035, allocations: 3.18 MB / 1.055 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.774e-05/1.035, allocations: 77.34 kB / 1.055 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002206/1.037, allocations: 1.456 MB / 1.057 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001904/1.037, allocations: 65.7 kB / 1.057 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001125/1.038, allocations: 1.137 MB / 1.058 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008433/1.039, allocations: 0.7746 MB / 1.058 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005977/1.04, allocations: 359.5 kB / 1.059 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001508/1.04, allocations: 301.1 kB / 1.059 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001652/1.042, allocations: 0.9136 MB / 1.06 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002027/1.044, allocations: 1.277 MB / 1.061 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003797/1.048, allocations: 2.317 MB / 1.063 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/1.048, allocations: 4 kB / 1.063 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004865/1.052, allocations: 2.602 MB / 1.066 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.421e-05/1.053, allocations: 37.7 kB / 1.066 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/1.053, allocations: 4 kB / 1.066 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.368e-05/1.053, allocations: 23.98 kB / 1.066 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001956/1.055, allocations: 467.9 kB / 1.067 GB, free: 476 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-05/1.055, allocations: 23.92 kB / 1.067 GB, free: 452 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002064/1.057, allocations: 204.6 kB / 1.067 GB, free: 248 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001744/1.057, allocations: 75.98 kB / 1.067 GB, free: 172 kB / 0.8262 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.3524/1.409, allocations: 0.6783 MB / 1.067 GB, free: 322.6 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006872/1.41, allocations: 223.5 kB / 1.068 GB, free: 322.6 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004737/1.415, allocations: 2.51 MB / 1.07 GB, free: 322.5 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.109e-05/1.415, allocations: 26 kB / 1.07 GB, free: 322.5 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/1.415, allocations: 3.688 kB / 1.07 GB, free: 322.5 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003305/1.418, allocations: 2.319 MB / 1.072 GB, free: 321.7 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01014/1.428, allocations: 5.594 MB / 1.078 GB, free: 319.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/1.428, allocations: 2.25 kB / 1.078 GB, free: 319.3 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002321/1.431, allocations: 484.2 kB / 1.078 GB, free: 319.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.986e-05/1.431, allocations: 13.22 kB / 1.078 GB, free: 319.3 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001547/1.431, allocations: 52.84 kB / 1.078 GB, free: 319.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-05/1.431, allocations: 10.52 kB / 1.078 GB, free: 319.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/1.431, allocations: 4.969 kB / 1.078 GB, free: 319.3 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006147/1.437, allocations: 4.007 MB / 1.082 GB, free: 317.7 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001263/1.438, allocations: 0.5462 MB / 1.083 GB, free: 317.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002895/1.439, allocations: 49.27 kB / 1.083 GB, free: 317.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001352/1.44, allocations: 68.67 kB / 1.083 GB, free: 317.3 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003706/1.44, allocations: 152.3 kB / 1.083 GB, free: 317.3 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001497/1.441, allocations: 71.5 kB / 1.083 GB, free: 317.3 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001412/1.442, allocations: 0.9867 MB / 1.084 GB, free: 316.9 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9.82e-07/1.442, allocations: 0 / 1.084 GB, free: 316.9 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002278/1.444, allocations: 0.9471 MB / 1.085 GB, free: 316.8 MB / 0.8262 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 (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.007497/1.452, allocations: 4.832 MB / 1.09 GB, free: 314.4 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004425/1.456, allocations: 2.342 MB / 1.092 GB, free: 313.6 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/1.456, allocations: 1.812 kB / 1.092 GB, free: 313.6 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001785/1.458, allocations: 1.228 MB / 1.093 GB, free: 313.2 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005447/1.464, allocations: 1.289 MB / 1.095 GB, free: 312.8 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02209/1.486, allocations: 18.59 MB / 1.113 GB, free: 303.2 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/1.487, allocations: 1.971 MB / 1.115 GB, free: 301.2 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002343/1.489, allocations: 0.7159 MB / 1.115 GB, free: 300.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001209/1.49, allocations: 1.101 MB / 1.116 GB, free: 299.4 MB / 0.8262 GB Notification: Performance of SimCode: time 1.193e-06/1.49, allocations: 0 / 1.116 GB, free: 299.4 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09517/1.586, allocations: 65.79 MB / 1.181 GB, free: 234.1 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/14, allocations: 6.031 kB / 1.181 GB, free: 234.1 MB / 0.8262 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/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)