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.0008162/0.0008161, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005253/0.005253, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.295/1.295, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 36.58/36.58, allocations: 135.3 MB / 426.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004032/0.0004033, allocations: 8 kB / 0.5077 GB, free: 4.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2267, allocations: 82.31 MB / 0.5881 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 1.509/1.735, allocations: 288 MB / 0.8694 GB, free: 1.988 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03469/1.77, allocations: 22.97 MB / 0.8918 GB, free: 1.805 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004912/1.775, allocations: 63.03 kB / 0.8919 GB, free: 1.805 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005687/1.781, allocations: 1.552 MB / 0.8934 GB, free: 1.785 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.02245/1.803, allocations: 5.771 MB / 0.899 GB, free: 1.508 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.009415/1.813, allocations: 2.628 MB / 0.9016 GB, free: 1.426 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01749/1.83, allocations: 10.72 MB / 0.9121 GB, free: 1.414 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005967/1.836, allocations: 2.435 MB / 0.9144 GB, free: 17.08 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01064/1.847, allocations: 2.442 MB / 0.9168 GB, free: 17.07 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009779/1.857, allocations: 2.705 MB / 0.9195 GB, free: 17.06 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001936/1.859, allocations: 165.8 kB / 0.9196 GB, free: 17.06 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02094/1.88, allocations: 6.865 MB / 0.9263 GB, free: 17 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003663/1.883, allocations: 1.283 MB / 0.9276 GB, free: 17 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.005478/1.889, allocations: 1.707 MB / 0.9292 GB, free: 16.97 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01535/1.904, allocations: 7.089 MB / 0.9362 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.904, allocations: 0 / 0.9362 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.484e-06/1.904, allocations: 0 / 0.9362 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001291/1.904, allocations: 0 / 0.9362 GB, free: 15.12 MB / 0.6856 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.01104/1.915, allocations: 3.476 MB / 0.9396 GB, free: 13 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/1.916, allocations: 8.938 kB / 0.9396 GB, free: 13 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008592/1.916, allocations: 399.2 kB / 0.9399 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006099/1.923, allocations: 0.8406 MB / 0.9408 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004976/1.928, allocations: 1.791 MB / 0.9425 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/1.928, allocations: 216.6 kB / 0.9427 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007414/1.928, allocations: 278.6 kB / 0.943 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009531/1.938, allocations: 3.598 MB / 0.9465 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.453e-05/1.938, allocations: 11.53 kB / 0.9465 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000366/1.939, allocations: 118.9 kB / 0.9466 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001889/1.939, allocations: 145 kB / 0.9468 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007061/1.946, allocations: 3.286 MB / 0.95 GB, free: 10.1 MB / 0.6856 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.01788/1.964, allocations: 14.15 MB / 0.9638 GB, free: 0 / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003573/1.967, allocations: 2.524 MB / 0.9663 GB, free: 15.31 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002034/1.969, allocations: 1.361 MB / 0.9676 GB, free: 15.13 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001293/1.971, allocations: 1.381 MB / 0.9689 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001803/1.973, allocations: 1.23 MB / 0.9701 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=213): time 3.857e-06/1.973, allocations: 0 / 0.9701 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of matching and sorting (n=213): time 0.005335/1.978, allocations: 3.184 MB / 0.9732 GB, free: 11.97 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.273e-05/1.978, allocations: 73.41 kB / 0.9733 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001944/1.98, allocations: 1.458 MB / 0.9747 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002362/1.98, allocations: 68.33 kB / 0.9748 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000872/1.981, allocations: 1.119 MB / 0.9759 GB, free: 10 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007377/1.982, allocations: 0.7333 MB / 0.9766 GB, free: 9.375 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002529/1.982, allocations: 167.5 kB / 0.9768 GB, free: 9.27 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 8.511e-05/1.982, allocations: 305.1 kB / 0.9771 GB, free: 8.969 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/1.984, allocations: 0.9155 MB / 0.978 GB, free: 8.371 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001841/1.986, allocations: 1.281 MB / 0.9792 GB, free: 7.332 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004153/1.99, allocations: 2.333 MB / 0.9815 GB, free: 5.664 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/1.99, allocations: 0 / 0.9815 GB, free: 5.664 MB / 0.7012 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005214/1.995, allocations: 2.602 MB / 0.984 GB, free: 3.09 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.528e-05/1.995, allocations: 45.72 kB / 0.9841 GB, free: 3.039 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/1.995, allocations: 10.84 kB / 0.9841 GB, free: 3.031 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-05/1.995, allocations: 16 kB / 0.9841 GB, free: 3.016 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001932/1.997, allocations: 475.8 kB / 0.9845 GB, free: 2.578 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-05/1.997, allocations: 26.52 kB / 0.9846 GB, free: 2.555 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00292/2, allocations: 354.8 kB / 0.9849 GB, free: 2.211 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001775/2, allocations: 83.98 kB / 0.985 GB, free: 2.129 MB / 0.7012 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.001529/2.002, allocations: 0.6851 MB / 0.9857 GB, free: 1.461 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005917/2.002, allocations: 217.4 kB / 0.9859 GB, free: 1.246 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004696/2.007, allocations: 2.529 MB / 0.9883 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.891e-05/2.007, allocations: 20 kB / 0.9884 GB, free: 14.69 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.527e-05/2.007, allocations: 4 kB / 0.9884 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003568/2.011, allocations: 2.332 MB / 0.9906 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01112/2.022, allocations: 5.609 MB / 0.9961 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/2.022, allocations: 0 / 0.9961 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002281/2.024, allocations: 0.4886 MB / 0.9966 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-05/2.024, allocations: 11.94 kB / 0.9966 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001596/2.024, allocations: 51.98 kB / 0.9967 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.308e-05/2.024, allocations: 8 kB / 0.9967 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/2.024, allocations: 10.53 kB / 0.9967 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006651/2.031, allocations: 4.001 MB / 1.001 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001549/2.033, allocations: 0.5433 MB / 1.001 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003829/2.033, allocations: 40 kB / 1.001 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002344/2.035, allocations: 252.9 kB / 1.001 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003767/2.036, allocations: 148.3 kB / 1.002 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001513/2.036, allocations: 67.98 kB / 1.002 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001634/2.038, allocations: 0.9905 MB / 1.003 GB, free: 8 kB / 0.7169 GB Notification: Performance of sort global known variables: time 4.61e-07/2.038, allocations: 0 / 1.003 GB, free: 8 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002744/2.04, allocations: 0.9389 MB / 1.003 GB, free: 15.06 MB / 0.7325 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.007011/2.047, allocations: 4.833 MB / 1.008 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004017/2.051, allocations: 2.345 MB / 1.01 GB, free: 7.926 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.316e-05/2.051, allocations: 4 kB / 1.01 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001917/2.053, allocations: 1.229 MB / 1.012 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008765/2.062, allocations: 1.228 MB / 1.013 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03635/2.099, allocations: 21.63 MB / 1.034 GB, free: 14.67 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001522/2.1, allocations: 1.974 MB / 1.036 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002687/2.103, allocations: 0.7173 MB / 1.037 GB, free: 11.94 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001444/2.104, allocations: 1.101 MB / 1.038 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of SimCode: time 9.52e-07/2.104, allocations: 0 / 1.038 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1008/2.205, allocations: 62.56 MB / 1.099 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002206/2.205, allocations: 234.9 kB / 1.099 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.767/5.972, allocations: 7.188 kB / 1.099 GB, free: 12.77 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)