Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="IDEAS_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.00116/0.00116, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001179/0.001179, allocations: 193.5 kB / 16.13 MB, free: 6.672 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.156/1.156, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 25.14/25.14, allocations: 132.2 MB / 422.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001063/0.001063, allocations: 59.91 kB / 0.5012 GB, free: 4.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5454/0.5464, allocations: 80.2 MB / 0.5795 GB, free: 4.531 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 0.8897/1.436, allocations: 292.1 MB / 0.8647 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03491/1.471, allocations: 23.25 MB / 0.8874 GB, free: 1.352 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005718/1.477, allocations: 72.88 kB / 0.8875 GB, free: 1.348 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.006474/1.483, allocations: 1.557 MB / 0.889 GB, free: 1.312 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0186/1.502, allocations: 5.762 MB / 0.8946 GB, free: 1.012 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.009274/1.511, allocations: 2.621 MB / 0.8972 GB, free: 0.9297 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01583/1.527, allocations: 10.73 MB / 0.9077 GB, free: 0.8203 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005499/1.533, allocations: 2.538 MB / 0.9102 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01003/1.543, allocations: 2.541 MB / 0.9126 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006784/1.55, allocations: 2.82 MB / 0.9154 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001233/1.551, allocations: 204.2 kB / 0.9156 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01725/1.568, allocations: 6.902 MB / 0.9223 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003398/1.572, allocations: 1.338 MB / 0.9236 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00552/1.577, allocations: 1.765 MB / 0.9254 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01839/1.596, allocations: 7.17 MB / 0.9324 GB, free: 5.648 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/1.596, allocations: 0 / 0.9324 GB, free: 5.648 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.474e-06/1.596, allocations: 0 / 0.9324 GB, free: 5.648 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002294/1.596, allocations: 0 / 0.9324 GB, free: 5.648 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.01403/1.61, allocations: 4.098 MB / 0.9364 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/1.61, allocations: 8.031 kB / 0.9364 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006033/1.611, allocations: 398.2 kB / 0.9367 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005772/1.616, allocations: 0.8376 MB / 0.9376 GB, free: 292 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003996/1.621, allocations: 1.786 MB / 0.9393 GB, free: 14.54 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001814/1.621, allocations: 208.3 kB / 0.9395 GB, free: 14.34 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005877/1.621, allocations: 286.7 kB / 0.9398 GB, free: 14.07 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007105/1.628, allocations: 3.602 MB / 0.9433 GB, free: 10.36 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.804e-05/1.629, allocations: 3.375 kB / 0.9433 GB, free: 10.36 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000275/1.629, allocations: 115.5 kB / 0.9434 GB, free: 10.25 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000151/1.629, allocations: 141.3 kB / 0.9435 GB, free: 10.11 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006207/1.635, allocations: 3.287 MB / 0.9468 GB, free: 6.832 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.02022/1.655, allocations: 14.12 MB / 0.9605 GB, free: 7.762 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004069/1.66, allocations: 2.509 MB / 0.963 GB, free: 5.203 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002263/1.662, allocations: 1.352 MB / 0.9643 GB, free: 3.852 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001386/1.663, allocations: 1.376 MB / 0.9657 GB, free: 2.188 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002464/1.666, allocations: 1.232 MB / 0.9669 GB, free: 0.9453 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=213): time 4.618e-06/1.666, allocations: 0 / 0.9669 GB, free: 0.9453 MB / 0.6856 GB Notification: Performance of matching and sorting (n=213): time 0.006766/1.673, allocations: 3.155 MB / 0.9699 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.401e-05/1.673, allocations: 81.33 kB / 0.97 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002996/1.676, allocations: 1.456 MB / 0.9714 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002489/1.676, allocations: 65.7 kB / 0.9715 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001199/1.677, allocations: 1.121 MB / 0.9726 GB, free: 11.03 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009256/1.678, allocations: 0.7281 MB / 0.9733 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007566/1.679, allocations: 359.4 kB / 0.9737 GB, free: 9.949 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001445/1.679, allocations: 309.1 kB / 0.9739 GB, free: 9.645 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001718/1.681, allocations: 0.9136 MB / 0.9748 GB, free: 8.727 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00213/1.683, allocations: 1.267 MB / 0.9761 GB, free: 7.336 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003741/1.687, allocations: 2.329 MB / 0.9784 GB, free: 4.93 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/1.687, allocations: 0 / 0.9784 GB, free: 4.93 MB / 0.7012 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004758/1.691, allocations: 2.59 MB / 0.9809 GB, free: 2.367 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.873e-05/1.691, allocations: 36.67 kB / 0.9809 GB, free: 2.328 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/1.691, allocations: 8 kB / 0.9809 GB, free: 2.32 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.413e-05/1.692, allocations: 20.03 kB / 0.9809 GB, free: 2.301 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001942/1.693, allocations: 463.9 kB / 0.9814 GB, free: 1.875 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.36e-05/1.694, allocations: 18.34 kB / 0.9814 GB, free: 1.859 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002665/1.696, allocations: 364 kB / 0.9818 GB, free: 1.504 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001844/1.696, allocations: 79.98 kB / 0.9818 GB, free: 1.426 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.001348/1.698, allocations: 0.6852 MB / 0.9825 GB, free: 0.7578 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006187/1.698, allocations: 213.5 kB / 0.9827 GB, free: 0.5469 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004694/1.703, allocations: 2.514 MB / 0.9852 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.932e-05/1.703, allocations: 24 kB / 0.9852 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/1.703, allocations: 4 kB / 0.9852 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003579/1.707, allocations: 2.327 MB / 0.9875 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01041/1.717, allocations: 5.596 MB / 0.9929 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/1.717, allocations: 8.062 kB / 0.9929 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002328/1.72, allocations: 475.9 kB / 0.9934 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.423e-05/1.72, allocations: 12 kB / 0.9934 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000226/1.72, allocations: 63.97 kB / 0.9935 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.45e-05/1.72, allocations: 10.62 kB / 0.9935 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.72, allocations: 4 kB / 0.9935 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006841/1.727, allocations: 3.982 MB / 0.9974 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001761/1.729, allocations: 0.5409 MB / 0.9979 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006028/1.729, allocations: 47.98 kB / 0.9979 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002581/1.732, allocations: 239.5 kB / 0.9982 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003761/1.732, allocations: 152.3 kB / 0.9983 GB, free: 416 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001925/1.732, allocations: 71.97 kB / 0.9984 GB, free: 344 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002166/1.735, allocations: 0.9866 MB / 0.9993 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.194e-06/1.735, allocations: 0 / 0.9993 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002983/1.738, allocations: 0.9422 MB / 1 GB, free: 14.41 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.007722/1.745, allocations: 4.817 MB / 1.005 GB, free: 9.59 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004227/1.75, allocations: 2.334 MB / 1.007 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/1.75, allocations: 4 kB / 1.007 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002014/1.752, allocations: 1.223 MB / 1.008 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007137/1.759, allocations: 1.23 MB / 1.01 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04158/1.8, allocations: 21.33 MB / 1.03 GB, free: 14.25 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003451/1.804, allocations: 1.968 MB / 1.032 GB, free: 12.25 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.004839/1.809, allocations: 0.7212 MB / 1.033 GB, free: 11.52 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002728/1.811, allocations: 1.093 MB / 1.034 GB, free: 10.43 MB / 0.7637 GB Notification: Performance of SimCode: time 1.553e-06/1.812, allocations: 4 kB / 1.034 GB, free: 10.43 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1073/1.919, allocations: 63.11 MB / 1.096 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002943/1.919, allocations: 230.3 kB / 1.096 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.88/5.799, allocations: 4.062 kB / 1.096 GB, free: 11.86 MB / 0.8262 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_CO2TransportStep.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)