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.001169/0.001169, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 193.3 kB / 16.53 MB, free: 6.699 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.277/1.277, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7157/0.7157, allocations: 132.2 MB / 422.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 56.06 kB / 0.5019 GB, free: 3.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3957, allocations: 80.2 MB / 0.5802 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 0.5917/0.9875, allocations: 294.2 MB / 0.8675 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02441/1.012, allocations: 23.03 MB / 0.89 GB, free: 1.574 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003528/1.015, allocations: 78.59 kB / 0.8901 GB, free: 1.574 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004368/1.02, allocations: 1.8 MB / 0.8918 GB, free: 1.535 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01337/1.033, allocations: 6.118 MB / 0.8978 GB, free: 1.234 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006979/1.04, allocations: 2.868 MB / 0.9006 GB, free: 1.148 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008184/1.048, allocations: 7.298 MB / 0.9077 GB, free: 1.125 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003858/1.052, allocations: 2.991 MB / 0.9107 GB, free: 0.6953 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006009/1.058, allocations: 2.866 MB / 0.9135 GB, free: 496 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004804/1.063, allocations: 2.745 MB / 0.9161 GB, free: 0 / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001128/1.064, allocations: 342.7 kB / 0.9165 GB, free: 0 / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01202/1.076, allocations: 5.985 MB / 0.9223 GB, free: 15 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002296/1.079, allocations: 1.463 MB / 0.9237 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0042/1.083, allocations: 1.9 MB / 0.9256 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01383/1.097, allocations: 6.894 MB / 0.9323 GB, free: 7.715 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/1.097, allocations: 0 / 0.9323 GB, free: 7.715 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.535e-06/1.097, allocations: 0 / 0.9323 GB, free: 7.715 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001746/1.097, allocations: 3.938 kB / 0.9323 GB, free: 7.711 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.01094/1.108, allocations: 4.085 MB / 0.9363 GB, free: 3.594 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/1.108, allocations: 12.03 kB / 0.9363 GB, free: 3.582 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007594/1.109, allocations: 393.5 kB / 0.9367 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005441/1.114, allocations: 0.8375 MB / 0.9375 GB, free: 2.359 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003303/1.118, allocations: 1.797 MB / 0.9393 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001579/1.118, allocations: 212.7 kB / 0.9395 GB, free: 412 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005234/1.118, allocations: 282.1 kB / 0.9398 GB, free: 132 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007538/1.126, allocations: 3.596 MB / 0.9433 GB, free: 12.44 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.167e-05/1.126, allocations: 6.531 kB / 0.9433 GB, free: 12.43 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003351/1.126, allocations: 114.8 kB / 0.9434 GB, free: 12.32 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001867/1.126, allocations: 149.3 kB / 0.9435 GB, free: 12.18 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005952/1.132, allocations: 3.279 MB / 0.9467 GB, free: 8.906 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.01695/1.149, allocations: 14.28 MB / 0.9607 GB, free: 9.68 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003633/1.153, allocations: 2.51 MB / 0.9631 GB, free: 7.117 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001947/1.155, allocations: 1.356 MB / 0.9644 GB, free: 5.766 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001214/1.156, allocations: 1.375 MB / 0.9658 GB, free: 4.102 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001955/1.158, allocations: 1.221 MB / 0.967 GB, free: 2.871 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=213): time 7.394e-06/1.158, allocations: 3.984 kB / 0.967 GB, free: 2.867 MB / 0.6856 GB Notification: Performance of matching and sorting (n=213): time 0.005727/1.164, allocations: 3.17 MB / 0.9701 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.334e-05/1.164, allocations: 73.41 kB / 0.9701 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002215/1.166, allocations: 1.452 MB / 0.9716 GB, free: 14.15 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001585/1.166, allocations: 65.7 kB / 0.9716 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009348/1.167, allocations: 1.118 MB / 0.9727 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006671/1.168, allocations: 0.7318 MB / 0.9734 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005693/1.169, allocations: 367.4 kB / 0.9738 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.84e-05/1.169, allocations: 305.1 kB / 0.9741 GB, free: 11.56 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001534/1.17, allocations: 0.9097 MB / 0.975 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001796/1.172, allocations: 1.271 MB / 0.9762 GB, free: 9.25 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003353/1.175, allocations: 2.315 MB / 0.9785 GB, free: 6.855 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.158e-06/1.175, allocations: 4 kB / 0.9785 GB, free: 6.852 MB / 0.7012 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004276/1.18, allocations: 2.594 MB / 0.981 GB, free: 4.285 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.529e-05/1.18, allocations: 33.7 kB / 0.981 GB, free: 4.246 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/1.18, allocations: 8.078 kB / 0.981 GB, free: 4.238 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.086e-05/1.18, allocations: 18.16 kB / 0.9811 GB, free: 4.223 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001873/1.182, allocations: 470.9 kB / 0.9815 GB, free: 3.789 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.066e-05/1.182, allocations: 23.08 kB / 0.9815 GB, free: 3.77 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001997/1.184, allocations: 199.8 kB / 0.9817 GB, free: 3.574 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001623/1.184, allocations: 79.98 kB / 0.9818 GB, free: 3.496 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.001166/1.185, allocations: 0.6848 MB / 0.9825 GB, free: 2.828 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005146/1.186, allocations: 217.5 kB / 0.9827 GB, free: 2.613 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004245/1.19, allocations: 2.518 MB / 0.9851 GB, free: 80 kB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/1.19, allocations: 20 kB / 0.9852 GB, free: 60 kB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/1.19, allocations: 3.984 kB / 0.9852 GB, free: 56 kB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003317/1.193, allocations: 2.323 MB / 0.9874 GB, free: 13.67 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008941/1.202, allocations: 5.591 MB / 0.9929 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/1.202, allocations: 4 kB / 0.9929 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002141/1.204, allocations: 491.1 kB / 0.9934 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.032e-05/1.204, allocations: 8 kB / 0.9934 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001536/1.205, allocations: 51.98 kB / 0.9934 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-05/1.205, allocations: 8 kB / 0.9934 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/1.205, allocations: 11.22 kB / 0.9934 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005755/1.21, allocations: 3.998 MB / 0.9973 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001112/1.211, allocations: 0.5371 MB / 0.9979 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004131/1.212, allocations: 48 kB / 0.9979 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001576/1.214, allocations: 59.88 kB / 0.998 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002987/1.214, allocations: 149.7 kB / 0.9981 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000143/1.214, allocations: 67.98 kB / 0.9982 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001432/1.215, allocations: 1.001 MB / 0.9992 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.61e-07/1.215, allocations: 3.938 kB / 0.9992 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002173/1.218, allocations: 0.9312 MB / 1 GB, free: 0.6523 MB / 0.7169 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.006565/1.224, allocations: 4.809 MB / 1.005 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007763/1.232, allocations: 3.883 MB / 1.009 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.232, allocations: 0.625 kB / 1.009 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001771/1.234, allocations: 1.231 MB / 1.01 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005686/1.239, allocations: 1.289 MB / 1.011 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02819/1.268, allocations: 20.19 MB / 1.031 GB, free: 80 kB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001831/1.27, allocations: 1.968 MB / 1.033 GB, free: 14.07 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002729/1.272, allocations: 0.7249 MB / 1.033 GB, free: 13.35 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001467/1.274, allocations: 1.101 MB / 1.034 GB, free: 12.25 MB / 0.7637 GB Notification: Performance of SimCode: time 7.31e-07/1.274, allocations: 3.938 kB / 1.034 GB, free: 12.24 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09945/1.373, allocations: 65.2 MB / 1.098 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.39/9.764, allocations: 4.062 kB / 1.098 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)