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.001092/0.001092, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001114/0.001114, allocations: 192 kB / 16.13 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.208/1.208, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 4.819/4.819, allocations: 135.1 MB / 425.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 59.69 kB / 0.5048 GB, free: 5.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1564, allocations: 80.93 MB / 0.5838 GB, free: 4.906 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 1.053/1.209, allocations: 292 MB / 0.869 GB, free: 1.457 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02916/1.239, allocations: 23.23 MB / 0.8917 GB, free: 1.266 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005149/1.244, allocations: 69.03 kB / 0.8918 GB, free: 1.266 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005499/1.249, allocations: 1.554 MB / 0.8933 GB, free: 1.238 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01603/1.265, allocations: 5.768 MB / 0.8989 GB, free: 0.9609 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.008892/1.274, allocations: 2.622 MB / 0.9015 GB, free: 0.8789 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0158/1.29, allocations: 10.73 MB / 0.912 GB, free: 0.8672 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005262/1.295, allocations: 2.534 MB / 0.9144 GB, free: 16.51 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008839/1.304, allocations: 2.528 MB / 0.9169 GB, free: 16.5 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007081/1.311, allocations: 2.822 MB / 0.9197 GB, free: 16.49 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0009857/1.312, allocations: 203.6 kB / 0.9198 GB, free: 16.49 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01402/1.326, allocations: 6.906 MB / 0.9266 GB, free: 16.43 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002975/1.329, allocations: 1.335 MB / 0.9279 GB, free: 16.43 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00535/1.335, allocations: 1.76 MB / 0.9296 GB, free: 16.02 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01573/1.351, allocations: 7.181 MB / 0.9366 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/1.351, allocations: 3.938 kB / 0.9366 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.134e-06/1.351, allocations: 3.938 kB / 0.9366 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002325/1.351, allocations: 0 / 0.9366 GB, free: 14.41 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.01236/1.363, allocations: 4.094 MB / 0.9406 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/1.363, allocations: 8.344 kB / 0.9406 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004882/1.364, allocations: 392.3 kB / 0.941 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005279/1.369, allocations: 0.8409 MB / 0.9418 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002676/1.372, allocations: 1.789 MB / 0.9436 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/1.372, allocations: 211.6 kB / 0.9438 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003354/1.372, allocations: 278.6 kB / 0.9441 GB, free: 10.92 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00488/1.377, allocations: 3.601 MB / 0.9476 GB, free: 9.859 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.872e-05/1.377, allocations: 4.875 kB / 0.9476 GB, free: 9.859 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000232/1.377, allocations: 116.4 kB / 0.9477 GB, free: 9.859 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001215/1.377, allocations: 141.7 kB / 0.9478 GB, free: 9.84 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004631/1.382, allocations: 3.283 MB / 0.951 GB, free: 9.281 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.01325/1.395, allocations: 14.13 MB / 0.9648 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003229/1.399, allocations: 2.516 MB / 0.9673 GB, free: 12.17 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001729/1.4, allocations: 1.354 MB / 0.9686 GB, free: 11.31 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001082/1.401, allocations: 1.379 MB / 0.9699 GB, free: 9.652 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00181/1.403, allocations: 1.219 MB / 0.9711 GB, free: 8.801 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=213): time 3.296e-06/1.403, allocations: 0 / 0.9711 GB, free: 8.801 MB / 0.7012 GB Notification: Performance of matching and sorting (n=213): time 0.005442/1.409, allocations: 3.162 MB / 0.9742 GB, free: 5.785 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.337e-05/1.409, allocations: 77.39 kB / 0.9743 GB, free: 5.695 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002122/1.411, allocations: 1.452 MB / 0.9757 GB, free: 4.238 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001747/1.411, allocations: 69.7 kB / 0.9758 GB, free: 4.164 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001096/1.412, allocations: 1.118 MB / 0.9769 GB, free: 3.035 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006627/1.413, allocations: 0.7282 MB / 0.9776 GB, free: 2.312 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005135/1.413, allocations: 363.4 kB / 0.9779 GB, free: 1.949 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 8.307e-05/1.414, allocations: 309.1 kB / 0.9782 GB, free: 1.645 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001465/1.415, allocations: 0.9097 MB / 0.9791 GB, free: 0.7305 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001722/1.417, allocations: 1.27 MB / 0.9804 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003216/1.42, allocations: 2.32 MB / 0.9826 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/1.42, allocations: 0 / 0.9826 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004432/1.424, allocations: 2.594 MB / 0.9852 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.662e-05/1.424, allocations: 37.7 kB / 0.9852 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/1.425, allocations: 8 kB / 0.9852 GB, free: 10.33 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.811e-05/1.425, allocations: 16 kB / 0.9852 GB, free: 10.31 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001923/1.426, allocations: 463.8 kB / 0.9857 GB, free: 9.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.386e-05/1.426, allocations: 18.53 kB / 0.9857 GB, free: 9.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002618/1.429, allocations: 368.5 kB / 0.986 GB, free: 9.512 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001456/1.429, allocations: 75.98 kB / 0.9861 GB, free: 9.438 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.001181/1.43, allocations: 0.6927 MB / 0.9868 GB, free: 8.762 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003238/1.431, allocations: 213.5 kB / 0.987 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003985/1.435, allocations: 2.516 MB / 0.9894 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/1.435, allocations: 27.94 kB / 0.9895 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.435, allocations: 0 / 0.9895 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003122/1.438, allocations: 2.33 MB / 0.9917 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008202/1.446, allocations: 5.598 MB / 0.9972 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/1.446, allocations: 4 kB / 0.9972 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002116/1.448, allocations: 484.3 kB / 0.9977 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.219e-05/1.448, allocations: 8 kB / 0.9977 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001265/1.448, allocations: 59.91 kB / 0.9977 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.13e-05/1.448, allocations: 8 kB / 0.9977 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.448, allocations: 10.61 kB / 0.9978 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005362/1.454, allocations: 3.989 MB / 1.002 GB, free: 9.398 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/1.455, allocations: 0.537 MB / 1.002 GB, free: 8.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002827/1.455, allocations: 51.98 kB / 1.002 GB, free: 8.789 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001778/1.457, allocations: 242.3 kB / 1.002 GB, free: 8.555 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002771/1.457, allocations: 148.3 kB / 1.003 GB, free: 8.414 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001329/1.457, allocations: 67.97 kB / 1.003 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001255/1.459, allocations: 0.9906 MB / 1.004 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/1.459, allocations: 4 kB / 1.004 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002038/1.461, allocations: 0.9273 MB / 1.005 GB, free: 6.43 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.006344/1.467, allocations: 4.804 MB / 1.009 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003614/1.471, allocations: 2.332 MB / 1.012 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/1.471, allocations: 4 kB / 1.012 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00169/1.472, allocations: 1.222 MB / 1.013 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005385/1.478, allocations: 1.239 MB / 1.014 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03118/1.509, allocations: 21.34 MB / 1.035 GB, free: 6.332 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001935/1.511, allocations: 1.968 MB / 1.037 GB, free: 4.328 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002815/1.514, allocations: 0.725 MB / 1.037 GB, free: 3.598 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001454/1.515, allocations: 1.097 MB / 1.038 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of SimCode: time 5.51e-07/1.515, allocations: 0 / 1.038 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0922/1.608, allocations: 63.12 MB / 1.1 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002294/1.608, allocations: 247.5 kB / 1.1 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.231/4.838, allocations: 0 / 1.1 GB, free: 3.848 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)