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.001366/0.001366, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00133/0.00133, allocations: 194.5 kB / 16.25 MB, free: 6.621 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.094/1.094, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7533/0.7533, allocations: 135.1 MB / 425.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001083/0.001083, allocations: 63.5 kB / 0.505 GB, free: 5.523 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1159, allocations: 80.93 MB / 0.584 GB, free: 4.754 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 0.6743/0.7903, allocations: 290.8 MB / 0.868 GB, free: 1.473 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0188/0.8091, allocations: 22.9 MB / 0.8903 GB, free: 1.395 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002102/0.8112, allocations: 70.53 kB / 0.8904 GB, free: 1.395 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002908/0.8142, allocations: 1.602 MB / 0.892 GB, free: 1.367 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009538/0.8237, allocations: 5.76 MB / 0.8976 GB, free: 1.129 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004912/0.8286, allocations: 2.653 MB / 0.9002 GB, free: 1.059 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007252/0.8359, allocations: 7.306 MB / 0.9073 GB, free: 1.047 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003186/0.8391, allocations: 2.883 MB / 0.9101 GB, free: 16.76 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005422/0.8445, allocations: 2.922 MB / 0.913 GB, free: 16.75 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003276/0.8478, allocations: 2.879 MB / 0.9158 GB, free: 16.74 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004496/0.8483, allocations: 342.6 kB / 0.9161 GB, free: 16.74 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008625/0.8569, allocations: 6.221 MB / 0.9222 GB, free: 16.68 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001071/0.858, allocations: 1.469 MB / 0.9236 GB, free: 16.68 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001511/0.8595, allocations: 1.904 MB / 0.9255 GB, free: 16.29 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006607/0.8661, allocations: 7.303 MB / 0.9326 GB, free: 15.53 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.8661, allocations: 0 / 0.9326 GB, free: 15.53 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8661, allocations: 0 / 0.9326 GB, free: 15.53 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.976e-05/0.8662, allocations: 4 kB / 0.9326 GB, free: 15.53 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.007152/0.8733, allocations: 4.093 MB / 0.9366 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.8734, allocations: 12.16 kB / 0.9366 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003573/0.8737, allocations: 392.8 kB / 0.937 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004277/0.878, allocations: 0.8483 MB / 0.9378 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002027/0.8801, allocations: 1.787 MB / 0.9396 GB, free: 13.1 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.106e-05/0.8802, allocations: 204.1 kB / 0.9398 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003094/0.8805, allocations: 283.8 kB / 0.9401 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004324/0.8848, allocations: 3.588 MB / 0.9436 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.26e-05/0.8849, allocations: 13 kB / 0.9436 GB, free: 12.1 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002117/0.8851, allocations: 117.7 kB / 0.9437 GB, free: 12.1 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001021/0.8852, allocations: 148.2 kB / 0.9438 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00407/0.8893, allocations: 3.274 MB / 0.947 GB, free: 11.52 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.0111/0.9004, allocations: 14.13 MB / 0.9608 GB, free: 1.383 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002808/0.9032, allocations: 2.517 MB / 0.9633 GB, free: 100 kB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001557/0.9048, allocations: 1.355 MB / 0.9646 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001046/0.9058, allocations: 1.377 MB / 0.9659 GB, free: 13.58 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001625/0.9075, allocations: 1.216 MB / 0.9671 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=213): time 3.236e-06/0.9075, allocations: 4 kB / 0.9671 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of matching and sorting (n=213): time 0.004636/0.9121, allocations: 3.157 MB / 0.9702 GB, free: 9.477 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.9122, allocations: 77.41 kB / 0.9703 GB, free: 9.387 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001459/0.9136, allocations: 1.455 MB / 0.9717 GB, free: 7.93 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001311/0.9138, allocations: 69.7 kB / 0.9718 GB, free: 7.855 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006531/0.9144, allocations: 1.114 MB / 0.9729 GB, free: 6.73 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005098/0.9149, allocations: 0.7361 MB / 0.9736 GB, free: 6 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004849/0.9154, allocations: 363.4 kB / 0.9739 GB, free: 5.637 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 8.266e-05/0.9155, allocations: 309 kB / 0.9742 GB, free: 5.332 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/0.9168, allocations: 0.9097 MB / 0.9751 GB, free: 4.418 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00152/0.9184, allocations: 1.268 MB / 0.9764 GB, free: 3.023 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002944/0.9213, allocations: 2.32 MB / 0.9786 GB, free: 0.6289 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.9213, allocations: 0 / 0.9786 GB, free: 0.6289 MB / 0.7012 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003511/0.9249, allocations: 2.594 MB / 0.9812 GB, free: 14.06 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.957e-05/0.9249, allocations: 37.69 kB / 0.9812 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.9249, allocations: 10.53 kB / 0.9812 GB, free: 14.01 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.9249, allocations: 16 kB / 0.9812 GB, free: 14 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001694/0.9266, allocations: 465.8 kB / 0.9817 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.103e-05/0.9267, allocations: 25.05 kB / 0.9817 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001968/0.9286, allocations: 364.5 kB / 0.982 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/0.9288, allocations: 76 kB / 0.9821 GB, free: 13.12 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.0008247/0.9296, allocations: 0.6864 MB / 0.9828 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000283/0.9299, allocations: 213.5 kB / 0.983 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00364/0.9336, allocations: 2.519 MB / 0.9854 GB, free: 9.703 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.9336, allocations: 20 kB / 0.9855 GB, free: 9.684 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.9336, allocations: 0 / 0.9855 GB, free: 9.684 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002943/0.9366, allocations: 2.33 MB / 0.9877 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007161/0.9437, allocations: 5.597 MB / 0.9932 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.9437, allocations: 0 / 0.9932 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001964/0.9457, allocations: 488.5 kB / 0.9937 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.9457, allocations: 10.53 kB / 0.9937 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001195/0.9459, allocations: 55.98 kB / 0.9937 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.909e-06/0.9459, allocations: 12 kB / 0.9937 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.9459, allocations: 0 / 0.9937 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004967/0.9508, allocations: 3.99 MB / 0.9976 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007264/0.9516, allocations: 0.5448 MB / 0.9982 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002632/0.9519, allocations: 44 kB / 0.9982 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001601/0.9535, allocations: 239.5 kB / 0.9984 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002631/0.9537, allocations: 152.4 kB / 0.9986 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/0.9539, allocations: 71.97 kB / 0.9987 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001024/0.9549, allocations: 0.9906 MB / 0.9996 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9549, allocations: 0 / 0.9996 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001559/0.9565, allocations: 0.9351 MB / 1.001 GB, free: 10.11 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.005663/0.9621, allocations: 4.809 MB / 1.005 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006633/0.9688, allocations: 3.885 MB / 1.009 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.9688, allocations: 4 kB / 1.009 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001548/0.9703, allocations: 1.229 MB / 1.01 GB, free: 288 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004283/0.9746, allocations: 1.291 MB / 1.011 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02474/0.9994, allocations: 21.34 MB / 1.032 GB, free: 8.461 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001301/1.001, allocations: 1.968 MB / 1.034 GB, free: 6.457 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002138/1.003, allocations: 0.7251 MB / 1.035 GB, free: 5.727 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001258/1.004, allocations: 1.105 MB / 1.036 GB, free: 4.621 MB / 0.7637 GB Notification: Performance of SimCode: time 4.31e-07/1.004, allocations: 0 / 1.036 GB, free: 4.621 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09699/1.101, allocations: 64.73 MB / 1.099 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001456/1.101, allocations: 237.4 kB / 1.099 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.973/4.074, allocations: 4.062 kB / 1.099 GB, free: 4.41 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)