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.0007587/0.0007588, 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.004938/0.004938, 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.254/1.254, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7317/0.7317, allocations: 132.3 MB / 423.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003083/0.0003083, allocations: 9.094 kB / 0.5041 GB, free: 3.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3486, allocations: 81.57 MB / 0.5837 GB, free: 3.863 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 0.6171/0.9658, allocations: 288.1 MB / 0.8651 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02657/0.9924, allocations: 22.99 MB / 0.8875 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004436/0.9969, allocations: 65.64 kB / 0.8876 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004345/1.001, allocations: 1.554 MB / 0.8891 GB, free: 1.656 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01209/1.013, allocations: 5.769 MB / 0.8947 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005741/1.019, allocations: 2.631 MB / 0.8973 GB, free: 1.27 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00882/1.028, allocations: 10.72 MB / 0.9078 GB, free: 0.8359 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002782/1.031, allocations: 2.438 MB / 0.9101 GB, free: 0 / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005462/1.036, allocations: 2.48 MB / 0.9126 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003329/1.04, allocations: 2.711 MB / 0.9152 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000281/1.04, allocations: 165.8 kB / 0.9154 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01154/1.051, allocations: 6.864 MB / 0.9221 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002478/1.054, allocations: 1.275 MB / 0.9233 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.004685/1.059, allocations: 1.711 MB / 0.925 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01544/1.074, allocations: 7.089 MB / 0.9319 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.074, allocations: 0 / 0.9319 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.184e-06/1.074, allocations: 0 / 0.9319 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002148/1.074, allocations: 0 / 0.9319 GB, free: 10.06 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.01116/1.086, allocations: 3.479 MB / 0.9353 GB, free: 6.84 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/1.086, allocations: 10.56 kB / 0.9353 GB, free: 6.832 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001219/1.087, allocations: 400.4 kB / 0.9357 GB, free: 6.605 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006282/1.093, allocations: 0.8392 MB / 0.9365 GB, free: 5.812 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004497/1.098, allocations: 1.786 MB / 0.9383 GB, free: 4.453 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002802/1.098, allocations: 208.6 kB / 0.9385 GB, free: 4.332 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009614/1.099, allocations: 284 kB / 0.9387 GB, free: 4.145 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009414/1.108, allocations: 3.603 MB / 0.9422 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.243e-05/1.108, allocations: 10.72 kB / 0.9423 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003157/1.109, allocations: 111.4 kB / 0.9424 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001847/1.109, allocations: 148.2 kB / 0.9425 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0061/1.115, allocations: 3.289 MB / 0.9457 GB, free: 14 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.01798/1.133, allocations: 14.14 MB / 0.9595 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003792/1.137, allocations: 2.52 MB / 0.962 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002023/1.139, allocations: 1.356 MB / 0.9633 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001366/1.14, allocations: 1.386 MB / 0.9647 GB, free: 9.316 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002/1.142, allocations: 1.226 MB / 0.9659 GB, free: 8.074 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=213): time 3.947e-06/1.142, allocations: 0 / 0.9659 GB, free: 8.074 MB / 0.6856 GB Notification: Performance of matching and sorting (n=213): time 0.005806/1.148, allocations: 3.178 MB / 0.969 GB, free: 4.895 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/1.148, allocations: 73.41 kB / 0.969 GB, free: 4.812 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001891/1.15, allocations: 1.46 MB / 0.9705 GB, free: 3.348 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001539/1.15, allocations: 65.7 kB / 0.9705 GB, free: 3.277 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009499/1.151, allocations: 1.119 MB / 0.9716 GB, free: 2.148 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006371/1.152, allocations: 0.7315 MB / 0.9723 GB, free: 1.422 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/1.152, allocations: 161.7 kB / 0.9725 GB, free: 1.258 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001167/1.152, allocations: 313.1 kB / 0.9728 GB, free: 0.9492 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001505/1.154, allocations: 0.911 MB / 0.9737 GB, free: 36 kB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001818/1.156, allocations: 1.28 MB / 0.9749 GB, free: 14.63 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003446/1.159, allocations: 2.333 MB / 0.9772 GB, free: 12.22 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/1.159, allocations: 7.875 kB / 0.9772 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004086/1.163, allocations: 2.601 MB / 0.9798 GB, free: 9.641 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.714e-05/1.163, allocations: 38.41 kB / 0.9798 GB, free: 9.598 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/1.163, allocations: 8 kB / 0.9798 GB, free: 9.59 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.916e-05/1.163, allocations: 20 kB / 0.9798 GB, free: 9.57 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001897/1.165, allocations: 470.1 kB / 0.9803 GB, free: 9.137 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.606e-05/1.165, allocations: 24.58 kB / 0.9803 GB, free: 9.117 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002458/1.168, allocations: 361.7 kB / 0.9806 GB, free: 8.762 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/1.168, allocations: 79.98 kB / 0.9807 GB, free: 8.684 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.0013/1.169, allocations: 0.6931 MB / 0.9814 GB, free: 8.008 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003255/1.17, allocations: 213.5 kB / 0.9816 GB, free: 7.797 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004394/1.174, allocations: 2.522 MB / 0.9841 GB, free: 5.258 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.669e-05/1.174, allocations: 20 kB / 0.9841 GB, free: 5.238 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/1.174, allocations: 0 / 0.9841 GB, free: 5.238 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003406/1.177, allocations: 2.335 MB / 0.9864 GB, free: 2.844 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009038/1.186, allocations: 5.613 MB / 0.9918 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/1.186, allocations: 7.938 kB / 0.9918 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002193/1.189, allocations: 497.9 kB / 0.9923 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.601e-05/1.189, allocations: 12 kB / 0.9923 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001321/1.189, allocations: 55.98 kB / 0.9924 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.211e-05/1.189, allocations: 10.25 kB / 0.9924 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/1.189, allocations: 4 kB / 0.9924 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005872/1.195, allocations: 4 MB / 0.9963 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001341/1.196, allocations: 0.5449 MB / 0.9968 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002822/1.196, allocations: 40 kB / 0.9969 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001844/1.198, allocations: 240.1 kB / 0.9971 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002971/1.199, allocations: 153.8 kB / 0.9972 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/1.199, allocations: 71.92 kB / 0.9973 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001298/1.2, allocations: 0.9866 MB / 0.9983 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.2, allocations: 0 / 0.9983 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0022/1.202, allocations: 0.9389 MB / 0.9992 GB, free: 5.609 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.006482/1.209, allocations: 4.84 MB / 1.004 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003756/1.213, allocations: 2.344 MB / 1.006 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/1.213, allocations: 2.906 kB / 1.006 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001756/1.214, allocations: 1.231 MB / 1.007 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006221/1.221, allocations: 1.235 MB / 1.009 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02978/1.25, allocations: 21.61 MB / 1.03 GB, free: 5.121 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001526/1.252, allocations: 1.964 MB / 1.032 GB, free: 3.121 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002744/1.255, allocations: 0.729 MB / 1.032 GB, free: 2.387 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001426/1.256, allocations: 1.097 MB / 1.033 GB, free: 1.289 MB / 0.7481 GB Notification: Performance of SimCode: time 4.137e-06/1.256, allocations: 0 / 1.033 GB, free: 1.289 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2322/1.488, allocations: 62.56 MB / 1.095 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002312/1.489, allocations: 233.8 kB / 1.095 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.379/4.867, allocations: 0 / 1.095 GB, free: 3.277 MB / 0.8106 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)