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.001415/0.001415, 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.001718/0.001718, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.401/1.401, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9986/0.9986, allocations: 135.1 MB / 425.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001448, allocations: 63.97 kB / 0.5054 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1759, allocations: 80.92 MB / 0.5845 GB, free: 4.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 1.111/1.286, allocations: 294.2 MB / 0.8718 GB, free: 1.48 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02227/1.309, allocations: 23.03 MB / 0.8943 GB, free: 1.414 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002832/1.312, allocations: 76.03 kB / 0.8943 GB, free: 1.414 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003584/1.315, allocations: 1.794 MB / 0.8961 GB, free: 1.387 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01361/1.329, allocations: 6.119 MB / 0.9021 GB, free: 1.148 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.008838/1.338, allocations: 2.873 MB / 0.9049 GB, free: 1.078 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01017/1.348, allocations: 7.301 MB / 0.912 GB, free: 1.07 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005182/1.353, allocations: 2.984 MB / 0.9149 GB, free: 16.75 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007503/1.361, allocations: 2.869 MB / 0.9177 GB, free: 16.74 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006372/1.367, allocations: 2.713 MB / 0.9204 GB, free: 16.73 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001175/1.368, allocations: 341.4 kB / 0.9207 GB, free: 16.73 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01478/1.383, allocations: 5.986 MB / 0.9265 GB, free: 16.67 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002382/1.385, allocations: 1.46 MB / 0.928 GB, free: 16.67 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003362/1.389, allocations: 1.909 MB / 0.9298 GB, free: 16.21 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01246/1.401, allocations: 6.885 MB / 0.9365 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/1.401, allocations: 2.844 kB / 0.9366 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.663e-06/1.401, allocations: 0 / 0.9366 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.2e-05/1.401, allocations: 0 / 0.9366 GB, free: 15.46 MB / 0.6856 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.009184/1.411, allocations: 4.103 MB / 0.9406 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/1.411, allocations: 9.781 kB / 0.9406 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004552/1.411, allocations: 390.9 kB / 0.9409 GB, free: 13.49 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005157/1.416, allocations: 0.8374 MB / 0.9418 GB, free: 13.15 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003731/1.42, allocations: 1.794 MB / 0.9435 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001553/1.42, allocations: 210.1 kB / 0.9437 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005661/1.421, allocations: 280 kB / 0.944 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005743/1.427, allocations: 3.59 MB / 0.9475 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.562e-05/1.427, allocations: 9.453 kB / 0.9475 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002663/1.427, allocations: 124.8 kB / 0.9476 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001232/1.427, allocations: 145.4 kB / 0.9477 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004914/1.432, allocations: 3.278 MB / 0.951 GB, free: 10.7 MB / 0.6856 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.0154/1.447, allocations: 14.28 MB / 0.9649 GB, free: 92 kB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003614/1.451, allocations: 2.512 MB / 0.9673 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001893/1.453, allocations: 1.364 MB / 0.9687 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001411/1.454, allocations: 1.374 MB / 0.97 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002006/1.456, allocations: 1.224 MB / 0.9712 GB, free: 9.582 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=213): time 3.877e-06/1.456, allocations: 0 / 0.9712 GB, free: 9.582 MB / 0.7012 GB Notification: Performance of matching and sorting (n=213): time 0.005664/1.462, allocations: 3.156 MB / 0.9743 GB, free: 6.422 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/1.462, allocations: 73.41 kB / 0.9744 GB, free: 6.336 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00194/1.464, allocations: 1.452 MB / 0.9758 GB, free: 4.879 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002091/1.464, allocations: 69.7 kB / 0.9759 GB, free: 4.805 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009166/1.465, allocations: 1.121 MB / 0.9769 GB, free: 3.676 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006729/1.466, allocations: 0.7318 MB / 0.9777 GB, free: 2.949 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005493/1.466, allocations: 363.4 kB / 0.978 GB, free: 2.586 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.233e-05/1.467, allocations: 305.1 kB / 0.9783 GB, free: 2.285 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001488/1.468, allocations: 0.9136 MB / 0.9792 GB, free: 1.367 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001728/1.47, allocations: 1.266 MB / 0.9804 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003403/1.473, allocations: 2.319 MB / 0.9827 GB, free: 13.58 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-06/1.473, allocations: 4 kB / 0.9827 GB, free: 13.58 MB / 0.7169 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004355/1.478, allocations: 2.59 MB / 0.9852 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.873e-05/1.478, allocations: 33.7 kB / 0.9853 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/1.478, allocations: 8 kB / 0.9853 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.76e-05/1.478, allocations: 16 kB / 0.9853 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001857/1.48, allocations: 480.3 kB / 0.9857 GB, free: 10.51 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.687e-05/1.48, allocations: 18.44 kB / 0.9858 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001911/1.482, allocations: 196.1 kB / 0.9859 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/1.482, allocations: 82.61 kB / 0.986 GB, free: 10.23 MB / 0.7169 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.001239/1.483, allocations: 0.6877 MB / 0.9867 GB, free: 9.555 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004699/1.483, allocations: 213.5 kB / 0.9869 GB, free: 9.344 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004157/1.488, allocations: 2.517 MB / 0.9894 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/1.488, allocations: 28 kB / 0.9894 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/1.488, allocations: 0 / 0.9894 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003262/1.491, allocations: 2.324 MB / 0.9917 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00871/1.5, allocations: 5.596 MB / 0.9971 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.876e-06/1.5, allocations: 4 kB / 0.9971 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002099/1.502, allocations: 484.1 kB / 0.9976 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.353e-05/1.502, allocations: 8.031 kB / 0.9976 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001531/1.502, allocations: 59.98 kB / 0.9976 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-05/1.502, allocations: 10.53 kB / 0.9977 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.502, allocations: 4 kB / 0.9977 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00595/1.508, allocations: 3.989 MB / 1.002 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001544/1.51, allocations: 0.5449 MB / 1.002 GB, free: 9.629 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005756/1.51, allocations: 44 kB / 1.002 GB, free: 9.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001746/1.512, allocations: 63.14 kB / 1.002 GB, free: 9.527 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003199/1.512, allocations: 152.3 kB / 1.002 GB, free: 9.383 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001564/1.512, allocations: 71.92 kB / 1.002 GB, free: 9.312 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001582/1.514, allocations: 0.9866 MB / 1.003 GB, free: 8.332 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.1e-07/1.514, allocations: 4 kB / 1.003 GB, free: 8.328 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002461/1.516, allocations: 0.9389 MB / 1.004 GB, free: 7.387 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.006521/1.523, allocations: 4.813 MB / 1.009 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007389/1.53, allocations: 3.881 MB / 1.013 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/1.53, allocations: 0 / 1.013 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001767/1.532, allocations: 1.229 MB / 1.014 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005964/1.538, allocations: 1.281 MB / 1.015 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0258/1.564, allocations: 20.22 MB / 1.035 GB, free: 6.848 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001492/1.565, allocations: 1.968 MB / 1.037 GB, free: 4.844 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002431/1.568, allocations: 0.7313 MB / 1.038 GB, free: 4.113 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001327/1.569, allocations: 1.097 MB / 1.039 GB, free: 3.016 MB / 0.7637 GB Notification: Performance of SimCode: time 5.61e-07/1.569, allocations: 0 / 1.039 GB, free: 3.016 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5837/2.153, allocations: 65.2 MB / 1.102 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.345/11.5, allocations: 11.12 kB / 1.102 GB, free: 2.496 MB / 0.8262 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)