Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: translateModel(IDEAS.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep") translateModel(IDEAS.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 107.4 kB / 15.99 MB, free: 6.359 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.0012/0.0012, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.351/1.351, allocations: 222.9 MB / 240.6 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7827/0.7827, allocations: 132.2 MB / 422.9 MB, free: 6.801 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 59.91 kB / 0.5019 GB, free: 12.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5008/0.502, allocations: 80.19 MB / 0.5802 GB, free: 27.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 0.738/1.24, allocations: 290.8 MB / 0.8642 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03324/1.273, allocations: 22.9 MB / 0.8866 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005333/1.279, allocations: 66.5 kB / 0.8867 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.006148/1.285, allocations: 1.609 MB / 0.8882 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01953/1.305, allocations: 5.755 MB / 0.8939 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01179/1.316, allocations: 2.665 MB / 0.8965 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01425/1.331, allocations: 7.296 MB / 0.9036 GB, free: 8.617 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005939/1.337, allocations: 2.89 MB / 0.9064 GB, free: 5.672 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009725/1.346, allocations: 2.914 MB / 0.9093 GB, free: 2.773 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007072/1.354, allocations: 2.884 MB / 0.9121 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001591/1.355, allocations: 340 kB / 0.9124 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01579/1.371, allocations: 6.215 MB / 0.9185 GB, free: 9.32 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.003219/1.374, allocations: 1.477 MB / 0.9199 GB, free: 7.84 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.004695/1.379, allocations: 1.902 MB / 0.9218 GB, free: 5.93 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01111/1.39, allocations: 5.177 MB / 0.9268 GB, free: 0.7422 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/1.39, allocations: 8 kB / 0.9268 GB, free: 0.7344 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.603e-06/1.39, allocations: 0 / 0.9268 GB, free: 0.7344 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001653/1.39, allocations: 0 / 0.9268 GB, free: 0.7344 MB / 0.6387 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.0129/1.403, allocations: 4.092 MB / 0.9308 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/1.403, allocations: 8.031 kB / 0.9308 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005825/1.409, allocations: 0.843 MB / 0.9317 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003879/1.413, allocations: 1.786 MB / 0.9334 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/1.413, allocations: 209.4 kB / 0.9336 GB, free: 9.664 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004842/1.414, allocations: 283.9 kB / 0.9339 GB, free: 9.387 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006141/1.42, allocations: 3.589 MB / 0.9374 GB, free: 5.672 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.353e-05/1.42, allocations: 15.92 kB / 0.9374 GB, free: 5.656 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002563/1.42, allocations: 112 kB / 0.9375 GB, free: 5.547 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000147/1.42, allocations: 149.3 kB / 0.9376 GB, free: 5.398 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006132/1.426, allocations: 3.276 MB / 0.9408 GB, free: 2.109 MB / 0.6544 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.01789/1.444, allocations: 14.13 MB / 0.9546 GB, free: 2.746 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003554/1.448, allocations: 2.502 MB / 0.9571 GB, free: 172 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001869/1.45, allocations: 1.36 MB / 0.9584 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00121/1.451, allocations: 1.375 MB / 0.9598 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001955/1.453, allocations: 1.218 MB / 0.9609 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=213): time 3.977e-06/1.453, allocations: 0 / 0.9609 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of matching and sorting (n=213): time 0.005624/1.459, allocations: 3.17 MB / 0.964 GB, free: 8.738 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.403e-05/1.459, allocations: 73.41 kB / 0.9641 GB, free: 8.652 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002058/1.461, allocations: 1.456 MB / 0.9655 GB, free: 7.191 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002087/1.461, allocations: 61.7 kB / 0.9656 GB, free: 7.125 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009548/1.462, allocations: 1.115 MB / 0.9667 GB, free: 5.996 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007088/1.463, allocations: 0.7354 MB / 0.9674 GB, free: 5.25 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005527/1.463, allocations: 363.5 kB / 0.9677 GB, free: 4.887 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001055/1.463, allocations: 309 kB / 0.968 GB, free: 4.582 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001462/1.465, allocations: 0.9097 MB / 0.9689 GB, free: 3.668 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001705/1.467, allocations: 1.27 MB / 0.9702 GB, free: 2.27 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003508/1.47, allocations: 2.321 MB / 0.9724 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/1.47, allocations: 4 kB / 0.9724 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004682/1.475, allocations: 2.59 MB / 0.975 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 6.87e-05/1.475, allocations: 41.69 kB / 0.975 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/1.475, allocations: 4 kB / 0.975 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.882e-05/1.475, allocations: 20 kB / 0.975 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001955/1.477, allocations: 463.8 kB / 0.9755 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.123e-05/1.477, allocations: 19.98 kB / 0.9755 GB, free: 12.69 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003165/1.48, allocations: 349.7 kB / 0.9758 GB, free: 12.35 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001742/1.48, allocations: 87.92 kB / 0.9759 GB, free: 12.26 MB / 0.7012 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.001583/1.482, allocations: 0.6884 MB / 0.9766 GB, free: 11.56 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007012/1.483, allocations: 213.5 kB / 0.9768 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004265/1.487, allocations: 2.522 MB / 0.9792 GB, free: 8.809 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.025e-05/1.487, allocations: 20 kB / 0.9793 GB, free: 8.789 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/1.487, allocations: 4 kB / 0.9793 GB, free: 8.785 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003299/1.49, allocations: 2.323 MB / 0.9815 GB, free: 6.398 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01003/1.5, allocations: 5.599 MB / 0.987 GB, free: 0.6836 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.759e-06/1.5, allocations: 4 kB / 0.987 GB, free: 0.6797 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002169/1.503, allocations: 483.7 kB / 0.9875 GB, free: 212 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.938e-05/1.503, allocations: 15.94 kB / 0.9875 GB, free: 196 kB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001396/1.503, allocations: 51.98 kB / 0.9875 GB, free: 144 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.165e-05/1.503, allocations: 8 kB / 0.9875 GB, free: 136 kB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.503, allocations: 4 kB / 0.9875 GB, free: 132 kB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005893/1.509, allocations: 3.998 MB / 0.9914 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001544/1.51, allocations: 0.5332 MB / 0.992 GB, free: 11.53 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003508/1.511, allocations: 47.94 kB / 0.992 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002003/1.513, allocations: 244.6 kB / 0.9922 GB, free: 11.24 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003132/1.513, allocations: 149.7 kB / 0.9924 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001398/1.513, allocations: 71.97 kB / 0.9925 GB, free: 11.03 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001324/1.515, allocations: 0.9906 MB / 0.9934 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/1.515, allocations: 4 kB / 0.9934 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002773/1.517, allocations: 0.9273 MB / 0.9943 GB, free: 9.109 MB / 0.7169 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.000973/1.518, allocations: 387.3 kB / 0.9947 GB, free: 8.742 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.008643/1.527, allocations: 3.88 MB / 0.9985 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.458e-05/1.527, allocations: 4 kB / 0.9985 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001828/1.529, allocations: 1.217 MB / 0.9997 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006102/1.535, allocations: 1.286 MB / 1.001 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/1.545, allocations: 7.168 MB / 1.008 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001579/1.547, allocations: 1.979 MB / 1.01 GB, free: 9.16 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001204/1.548, allocations: 215.4 kB / 1.01 GB, free: 8.949 MB / 0.7325 GB Notification: Performance of SimCode: time 8.02e-07/1.548, allocations: 0 / 1.01 GB, free: 8.949 MB / 0.7325 GB Notification: Performance of Templates: time 0.4411/1.989, allocations: 41.83 MB / 1.051 GB, free: 309.8 MB / 0.7481 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)