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.007978/0.007977, allocations: 99.78 kB / 15.73 MB, free: 6.043 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.001768/0.001768, allocations: 185.4 kB / 16.67 MB, free: 5.977 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9681/0.9681, allocations: 135.1 MB / 425.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 55.91 kB / 0.5852 GB, free: 3.828 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3931/0.3946, allocations: 80.91 MB / 0.6642 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 0.7011/1.096, allocations: 294.2 MB / 0.9515 GB, free: 1.094 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02968/1.125, allocations: 23.04 MB / 0.974 GB, free: 424 kB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004858/1.13, allocations: 79.03 kB / 0.9741 GB, free: 424 kB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.006362/1.137, allocations: 1.796 MB / 0.9758 GB, free: 388 kB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01979/1.157, allocations: 6.123 MB / 0.9818 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.01045/1.167, allocations: 2.889 MB / 0.9846 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01122/1.178, allocations: 7.307 MB / 0.9918 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004383/1.183, allocations: 2.988 MB / 0.9947 GB, free: 8.859 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00753/1.19, allocations: 2.905 MB / 0.9975 GB, free: 7.68 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005974/1.196, allocations: 2.704 MB / 1 GB, free: 5.441 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.001189/1.198, allocations: 340 kB / 1.001 GB, free: 5.109 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01613/1.214, allocations: 5.993 MB / 1.006 GB, free: 372 kB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.003227/1.217, allocations: 1.46 MB / 1.008 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.006043/1.223, allocations: 1.905 MB / 1.01 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01973/1.243, allocations: 6.945 MB / 1.016 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/1.243, allocations: 0 / 1.016 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.114e-06/1.243, allocations: 0 / 1.016 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001391/1.243, allocations: 0 / 1.016 GB, free: 6.488 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.01324/1.256, allocations: 4.092 MB / 1.02 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/1.256, allocations: 12.03 kB / 1.02 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007638/1.257, allocations: 397.8 kB / 1.021 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005976/1.263, allocations: 0.8439 MB / 1.022 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004432/1.268, allocations: 1.855 MB / 1.023 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002082/1.268, allocations: 203.8 kB / 1.024 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008511/1.269, allocations: 289.5 kB / 1.024 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008516/1.277, allocations: 3.597 MB / 1.027 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.46e-05/1.277, allocations: 2.812 kB / 1.027 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005763/1.278, allocations: 114.7 kB / 1.028 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001866/1.278, allocations: 145.3 kB / 1.028 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00763/1.286, allocations: 3.284 MB / 1.031 GB, free: 7.605 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.02123/1.307, allocations: 14.19 MB / 1.045 GB, free: 8.469 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004289/1.311, allocations: 2.5 MB / 1.047 GB, free: 5.918 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002308/1.314, allocations: 1.356 MB / 1.049 GB, free: 4.566 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001497/1.315, allocations: 1.375 MB / 1.05 GB, free: 2.902 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002743/1.318, allocations: 1.224 MB / 1.051 GB, free: 1.668 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=213): time 6.412e-06/1.318, allocations: 0 / 1.051 GB, free: 1.668 MB / 0.7481 GB Notification: Performance of matching and sorting (n=213): time 0.006954/1.325, allocations: 3.163 MB / 1.054 GB, free: 14.5 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.397e-05/1.325, allocations: 73.41 kB / 1.054 GB, free: 14.42 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002707/1.328, allocations: 1.452 MB / 1.056 GB, free: 12.96 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0003243/1.328, allocations: 69.7 kB / 1.056 GB, free: 12.89 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001242/1.329, allocations: 1.114 MB / 1.057 GB, free: 11.76 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008953/1.33, allocations: 0.7375 MB / 1.057 GB, free: 11.03 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007447/1.331, allocations: 363.5 kB / 1.058 GB, free: 10.67 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001103/1.331, allocations: 301.1 kB / 1.058 GB, free: 10.37 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001748/1.333, allocations: 0.9097 MB / 1.059 GB, free: 9.457 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001937/1.335, allocations: 1.275 MB / 1.06 GB, free: 8.059 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003775/1.339, allocations: 2.325 MB / 1.063 GB, free: 5.656 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.237e-05/1.339, allocations: 4 kB / 1.063 GB, free: 5.652 MB / 0.7637 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004843/1.344, allocations: 2.596 MB / 1.065 GB, free: 3.082 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 5.383e-05/1.344, allocations: 37.64 kB / 1.065 GB, free: 3.039 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/1.344, allocations: 8 kB / 1.065 GB, free: 3.031 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.597e-05/1.344, allocations: 16 kB / 1.065 GB, free: 3.016 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00209/1.346, allocations: 471.4 kB / 1.066 GB, free: 2.582 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.219e-05/1.346, allocations: 19.19 kB / 1.066 GB, free: 2.566 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002236/1.348, allocations: 197 kB / 1.066 GB, free: 2.375 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002176/1.348, allocations: 75.98 kB / 1.066 GB, free: 2.301 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.001676/1.35, allocations: 0.6826 MB / 1.067 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008289/1.351, allocations: 225.3 kB / 1.067 GB, free: 1.414 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005117/1.356, allocations: 2.51 MB / 1.069 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.958e-05/1.356, allocations: 24 kB / 1.069 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/1.356, allocations: 0 / 1.069 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003677/1.36, allocations: 2.331 MB / 1.071 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01195/1.372, allocations: 5.584 MB / 1.077 GB, free: 6.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.978e-05/1.372, allocations: 7.984 kB / 1.077 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002449/1.374, allocations: 482.7 kB / 1.077 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.101e-05/1.374, allocations: 12 kB / 1.077 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002118/1.375, allocations: 63.91 kB / 1.077 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.293e-05/1.375, allocations: 8 kB / 1.077 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/1.375, allocations: 7.938 kB / 1.078 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008068/1.383, allocations: 3.985 MB / 1.081 GB, free: 2.258 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001766/1.384, allocations: 0.541 MB / 1.082 GB, free: 1.695 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000603/1.385, allocations: 47.94 kB / 1.082 GB, free: 1.648 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001901/1.387, allocations: 57.47 kB / 1.082 GB, free: 1.594 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003244/1.387, allocations: 149.8 kB / 1.082 GB, free: 1.445 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001855/1.388, allocations: 71.97 kB / 1.082 GB, free: 1.375 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002076/1.39, allocations: 0.9866 MB / 1.083 GB, free: 404 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/1.39, allocations: 0 / 1.083 GB, free: 404 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002889/1.393, allocations: 0.9352 MB / 1.084 GB, free: 15.45 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.007393/1.4, allocations: 4.825 MB / 1.089 GB, free: 10.6 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004072/1.404, allocations: 2.344 MB / 1.091 GB, free: 8.238 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/1.404, allocations: 4 kB / 1.091 GB, free: 8.234 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001922/1.406, allocations: 1.231 MB / 1.092 GB, free: 7.008 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005669/1.412, allocations: 1.293 MB / 1.094 GB, free: 5.738 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03129/1.443, allocations: 18.49 MB / 1.112 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002033/1.445, allocations: 1.968 MB / 1.114 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002629/1.448, allocations: 0.7171 MB / 1.114 GB, free: 52 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001789/1.45, allocations: 1.105 MB / 1.115 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of SimCode: time 8.71e-07/1.45, allocations: 0 / 1.115 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1132/1.563, allocations: 66.83 MB / 1.181 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/14.32, allocations: 14.22 kB / 1.181 GB, free: 12.69 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)