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.007957/0.007957, allocations: 101.5 kB / 15.73 MB, free: 6.016 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.001961/0.001961, allocations: 193.8 kB / 16.67 MB, free: 5.949 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9223/0.9223, allocations: 135.1 MB / 425.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 63.91 kB / 0.5852 GB, free: 3.785 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4075/0.4089, allocations: 80.91 MB / 0.6642 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 0.7055/1.115, allocations: 294.2 MB / 0.9515 GB, free: 1.117 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02891/1.143, allocations: 23.03 MB / 0.974 GB, free: 448 kB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004361/1.148, allocations: 84.81 kB / 0.9741 GB, free: 440 kB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.005056/1.153, allocations: 1.796 MB / 0.9758 GB, free: 400 kB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01465/1.168, allocations: 6.124 MB / 0.9818 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.007601/1.175, allocations: 2.891 MB / 0.9846 GB, free: 13.24 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.008981/1.184, allocations: 7.303 MB / 0.9918 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004148/1.188, allocations: 2.986 MB / 0.9947 GB, free: 8.855 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006554/1.195, allocations: 2.907 MB / 0.9975 GB, free: 7.672 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005524/1.201, allocations: 2.706 MB / 1 GB, free: 5.43 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.001155/1.202, allocations: 344 kB / 1.001 GB, free: 5.094 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01279/1.215, allocations: 5.989 MB / 1.006 GB, free: 360 kB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.002127/1.217, allocations: 1.471 MB / 1.008 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003445/1.22, allocations: 1.898 MB / 1.01 GB, free: 13.03 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01559/1.236, allocations: 6.953 MB / 1.016 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/1.236, allocations: 0 / 1.016 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.044e-06/1.236, allocations: 0 / 1.016 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001326/1.236, allocations: 0 / 1.016 GB, free: 6.469 MB / 0.7169 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.01078/1.247, allocations: 4.08 MB / 1.02 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/1.247, allocations: 8.031 kB / 1.02 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000672/1.248, allocations: 395.9 kB / 1.021 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005666/1.253, allocations: 0.8515 MB / 1.022 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004227/1.257, allocations: 1.853 MB / 1.023 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/1.258, allocations: 204.4 kB / 1.024 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006269/1.258, allocations: 282.6 kB / 1.024 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006266/1.265, allocations: 3.603 MB / 1.027 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.227e-05/1.265, allocations: 9.875 kB / 1.027 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002641/1.265, allocations: 110.7 kB / 1.028 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001453/1.265, allocations: 147.3 kB / 1.028 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005857/1.271, allocations: 3.279 MB / 1.031 GB, free: 7.598 MB / 0.7325 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.01753/1.289, allocations: 14.19 MB / 1.045 GB, free: 8.453 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003845/1.292, allocations: 2.51 MB / 1.047 GB, free: 5.895 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002047/1.294, allocations: 1.349 MB / 1.049 GB, free: 4.551 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001253/1.296, allocations: 1.376 MB / 1.05 GB, free: 2.887 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002119/1.298, allocations: 1.228 MB / 1.051 GB, free: 1.648 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=213): time 4.469e-06/1.298, allocations: 0 / 1.051 GB, free: 1.648 MB / 0.7481 GB Notification: Performance of matching and sorting (n=213): time 0.006113/1.304, allocations: 3.16 MB / 1.054 GB, free: 14.48 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/1.304, allocations: 77.41 kB / 1.054 GB, free: 14.39 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002279/1.306, allocations: 1.456 MB / 1.056 GB, free: 12.93 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001736/1.307, allocations: 68.98 kB / 1.056 GB, free: 12.86 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001014/1.308, allocations: 1.118 MB / 1.057 GB, free: 11.73 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007653/1.308, allocations: 0.732 MB / 1.058 GB, free: 11.01 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006093/1.309, allocations: 355.5 kB / 1.058 GB, free: 10.65 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001036/1.309, allocations: 309.1 kB / 1.058 GB, free: 10.35 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001589/1.311, allocations: 0.9136 MB / 1.059 GB, free: 9.43 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001858/1.313, allocations: 1.269 MB / 1.06 GB, free: 8.035 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003605/1.316, allocations: 2.33 MB / 1.063 GB, free: 5.629 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.507e-06/1.316, allocations: 0 / 1.063 GB, free: 5.629 MB / 0.7637 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004646/1.321, allocations: 2.585 MB / 1.065 GB, free: 3.07 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.535e-05/1.321, allocations: 41.8 kB / 1.065 GB, free: 3.023 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.019e-05/1.321, allocations: 19.92 kB / 1.065 GB, free: 3.004 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.07e-05/1.321, allocations: 16 kB / 1.065 GB, free: 2.988 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001937/1.323, allocations: 459.8 kB / 1.066 GB, free: 2.566 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.402e-05/1.323, allocations: 23.64 kB / 1.066 GB, free: 2.547 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00204/1.325, allocations: 194 kB / 1.066 GB, free: 2.355 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000185/1.325, allocations: 83.98 kB / 1.066 GB, free: 2.273 MB / 0.7637 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.00126/1.327, allocations: 0.681 MB / 1.067 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000592/1.327, allocations: 217.4 kB / 1.067 GB, free: 1.395 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004598/1.332, allocations: 2.511 MB / 1.069 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.32e-05/1.332, allocations: 20 kB / 1.069 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/1.332, allocations: 0 / 1.069 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003511/1.335, allocations: 2.326 MB / 1.071 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01013/1.345, allocations: 5.597 MB / 1.077 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/1.345, allocations: 0 / 1.077 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002224/1.348, allocations: 485.6 kB / 1.077 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.357e-05/1.348, allocations: 8 kB / 1.077 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001869/1.348, allocations: 59.92 kB / 1.077 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.035e-05/1.348, allocations: 15.98 kB / 1.077 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.348, allocations: 3.188 kB / 1.078 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006514/1.355, allocations: 3.985 MB / 1.081 GB, free: 2.25 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00143/1.356, allocations: 0.541 MB / 1.082 GB, free: 1.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005209/1.357, allocations: 47.92 kB / 1.082 GB, free: 1.641 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001666/1.358, allocations: 61.47 kB / 1.082 GB, free: 1.582 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003352/1.359, allocations: 149.8 kB / 1.082 GB, free: 1.434 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000176/1.359, allocations: 75.97 kB / 1.082 GB, free: 1.359 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001639/1.36, allocations: 0.9866 MB / 1.083 GB, free: 388 kB / 0.7794 GB Notification: Performance of sort global known variables: time 3.81e-07/1.36, allocations: 0 / 1.083 GB, free: 388 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002468/1.363, allocations: 0.9312 MB / 1.084 GB, free: 15.44 MB / 0.795 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.007218/1.37, allocations: 4.828 MB / 1.089 GB, free: 10.58 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.003998/1.374, allocations: 2.353 MB / 1.091 GB, free: 8.215 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/1.374, allocations: 0 / 1.091 GB, free: 8.215 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00199/1.376, allocations: 1.233 MB / 1.092 GB, free: 6.984 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006101/1.382, allocations: 1.277 MB / 1.094 GB, free: 5.73 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02954/1.412, allocations: 18.49 MB / 1.112 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00218/1.414, allocations: 1.975 MB / 1.114 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002782/1.417, allocations: 0.7171 MB / 1.114 GB, free: 36 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001725/1.419, allocations: 1.103 MB / 1.115 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of SimCode: time 9.31e-07/1.419, allocations: 0 / 1.115 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1116/1.53, allocations: 66.83 MB / 1.181 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/13.91, allocations: 4.828 kB / 1.181 GB, free: 12.71 MB / 0.8887 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)