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.001539/0.001545, allocations: 110.2 kB / 16.37 MB, free: 6.012 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.001746/0.001747, allocations: 189.5 kB / 17.31 MB, free: 5.613 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.789/0.789, allocations: 132.2 MB / 423.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 63.88 kB / 0.5032 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3744, allocations: 80.18 MB / 0.5815 GB, free: 27.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 0.6973/1.072, allocations: 294.2 MB / 0.8688 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.032/1.104, allocations: 23.04 MB / 0.8913 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004983/1.109, allocations: 74.88 kB / 0.8914 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.006011/1.115, allocations: 1.789 MB / 0.8931 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01773/1.133, allocations: 6.124 MB / 0.8991 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.008533/1.141, allocations: 2.893 MB / 0.9019 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01085/1.152, allocations: 7.303 MB / 0.9091 GB, free: 3.73 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004414/1.157, allocations: 2.982 MB / 0.912 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007827/1.164, allocations: 2.887 MB / 0.9148 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007244/1.172, allocations: 2.712 MB / 0.9175 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001714/1.173, allocations: 344 kB / 0.9178 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01315/1.187, allocations: 5.978 MB / 0.9236 GB, free: 4.777 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002424/1.189, allocations: 1.465 MB / 0.9251 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003969/1.193, allocations: 1.906 MB / 0.9269 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01341/1.206, allocations: 6.938 MB / 0.9337 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/1.206, allocations: 0 / 0.9337 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.154e-06/1.206, allocations: 4 kB / 0.9337 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.533e-05/1.207, allocations: 0 / 0.9337 GB, free: 10.43 MB / 0.6544 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.009567/1.216, allocations: 4.094 MB / 0.9377 GB, free: 6.27 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/1.216, allocations: 12.03 kB / 0.9377 GB, free: 6.258 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005307/1.222, allocations: 0.8313 MB / 0.9385 GB, free: 5.422 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003932/1.225, allocations: 1.872 MB / 0.9403 GB, free: 3.492 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000137/1.226, allocations: 205.4 kB / 0.9405 GB, free: 3.289 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004054/1.226, allocations: 279.9 kB / 0.9408 GB, free: 3.016 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005624/1.232, allocations: 3.589 MB / 0.9443 GB, free: 15.3 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.988e-05/1.232, allocations: 7.938 kB / 0.9443 GB, free: 15.29 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000236/1.232, allocations: 116 kB / 0.9444 GB, free: 15.18 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001421/1.232, allocations: 145.3 kB / 0.9446 GB, free: 15.04 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00523/1.237, allocations: 3.276 MB / 0.9478 GB, free: 11.75 MB / 0.67 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.01618/1.254, allocations: 14.19 MB / 0.9616 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003489/1.257, allocations: 2.51 MB / 0.9641 GB, free: 9.742 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001894/1.259, allocations: 1.356 MB / 0.9654 GB, free: 8.391 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001235/1.26, allocations: 1.375 MB / 0.9667 GB, free: 6.719 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001874/1.262, allocations: 1.218 MB / 0.9679 GB, free: 5.488 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=213): time 4.248e-06/1.262, allocations: 0 / 0.9679 GB, free: 5.488 MB / 0.6856 GB Notification: Performance of matching and sorting (n=213): time 0.005673/1.268, allocations: 3.162 MB / 0.971 GB, free: 2.324 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/1.268, allocations: 81.39 kB / 0.9711 GB, free: 2.23 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001959/1.27, allocations: 1.452 MB / 0.9725 GB, free: 0.7734 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001734/1.27, allocations: 69.69 kB / 0.9726 GB, free: 0.6992 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009622/1.271, allocations: 1.119 MB / 0.9737 GB, free: 15.56 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007021/1.272, allocations: 0.7315 MB / 0.9744 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005484/1.272, allocations: 359.5 kB / 0.9747 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000109/1.272, allocations: 309 kB / 0.975 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001462/1.274, allocations: 0.9136 MB / 0.9759 GB, free: 13.24 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001751/1.276, allocations: 1.266 MB / 0.9772 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003296/1.279, allocations: 2.321 MB / 0.9794 GB, free: 9.418 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.453e-06/1.279, allocations: 4 kB / 0.9794 GB, free: 9.414 MB / 0.7012 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004363/1.283, allocations: 2.593 MB / 0.982 GB, free: 6.805 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.76e-05/1.283, allocations: 33.7 kB / 0.982 GB, free: 6.766 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/1.283, allocations: 8 kB / 0.982 GB, free: 6.758 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.101e-05/1.283, allocations: 16.66 kB / 0.982 GB, free: 6.742 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001895/1.285, allocations: 471.3 kB / 0.9825 GB, free: 6.281 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.991e-05/1.285, allocations: 24 kB / 0.9825 GB, free: 6.258 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/1.287, allocations: 200.2 kB / 0.9827 GB, free: 6.062 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/1.287, allocations: 83.94 kB / 0.9828 GB, free: 5.98 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.001176/1.289, allocations: 0.6846 MB / 0.9834 GB, free: 5.285 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003994/1.289, allocations: 213.5 kB / 0.9836 GB, free: 5.074 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004381/1.293, allocations: 2.507 MB / 0.9861 GB, free: 2.547 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.64e-05/1.293, allocations: 24 kB / 0.9861 GB, free: 2.523 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/1.293, allocations: 4 kB / 0.9861 GB, free: 2.52 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003339/1.297, allocations: 2.316 MB / 0.9884 GB, free: 144 kB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009505/1.306, allocations: 5.59 MB / 0.9938 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/1.306, allocations: 8.031 kB / 0.9938 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002206/1.309, allocations: 483.3 kB / 0.9943 GB, free: 9.953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.478e-05/1.309, allocations: 12 kB / 0.9943 GB, free: 9.941 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001663/1.309, allocations: 55.98 kB / 0.9944 GB, free: 9.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.769e-05/1.309, allocations: 8 kB / 0.9944 GB, free: 9.879 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/1.309, allocations: 4 kB / 0.9944 GB, free: 9.875 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0061/1.315, allocations: 3.997 MB / 0.9983 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001521/1.317, allocations: 0.5371 MB / 0.9988 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005444/1.317, allocations: 44 kB / 0.9988 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001741/1.319, allocations: 67.95 kB / 0.9989 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003449/1.319, allocations: 149.7 kB / 0.9991 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001817/1.319, allocations: 67.98 kB / 0.9991 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001789/1.321, allocations: 0.9944 MB / 1 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.61e-07/1.321, allocations: 0 / 1 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002768/1.324, allocations: 0.9389 MB / 1.001 GB, free: 3.02 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.0009032/1.325, allocations: 382.5 kB / 1.001 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003911/1.329, allocations: 2.341 MB / 1.004 GB, free: 304 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.802e-06/1.329, allocations: 4.188 kB / 1.004 GB, free: 300 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001892/1.331, allocations: 1.225 MB / 1.005 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00587/1.337, allocations: 1.286 MB / 1.006 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/1.347, allocations: 5.755 MB / 1.012 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002398/1.349, allocations: 1.971 MB / 1.014 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003149/1.352, allocations: 0.7132 MB / 1.014 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009193/1.353, allocations: 195.4 kB / 1.015 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of SimCode: time 8.82e-07/1.353, allocations: 0 / 1.015 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of Templates: time 0.3796/1.733, allocations: 47.43 MB / 1.061 GB, free: 314.1 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)