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: translateModel(IDEAS.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep") translateModel(IDEAS.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001351/0.001351, allocations: 100.1 kB / 15.88 MB, free: 12 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.001221/0.001221, allocations: 196 kB / 16.79 MB, free: 6.809 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.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9286/0.9286, allocations: 135.1 MB / 425.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 68.22 kB / 0.5053 GB, free: 5.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1753, allocations: 80.93 MB / 0.5843 GB, free: 5.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 1.017/1.193, allocations: 292.1 MB / 0.8695 GB, free: 1.414 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02761/1.221, allocations: 23.23 MB / 0.8922 GB, free: 1.223 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004429/1.225, allocations: 69.25 kB / 0.8923 GB, free: 1.223 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005287/1.23, allocations: 1.561 MB / 0.8938 GB, free: 1.195 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01572/1.246, allocations: 5.763 MB / 0.8995 GB, free: 0.918 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.008796/1.255, allocations: 2.626 MB / 0.902 GB, free: 0.8359 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01622/1.271, allocations: 10.73 MB / 0.9125 GB, free: 0.8242 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005474/1.277, allocations: 2.522 MB / 0.915 GB, free: 16.47 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009932/1.287, allocations: 2.537 MB / 0.9174 GB, free: 16.46 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007825/1.294, allocations: 2.826 MB / 0.9202 GB, free: 16.45 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001527/1.296, allocations: 203.8 kB / 0.9204 GB, free: 16.45 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01563/1.312, allocations: 6.905 MB / 0.9271 GB, free: 16.38 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003199/1.315, allocations: 1.332 MB / 0.9284 GB, free: 16.38 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.005555/1.321, allocations: 1.76 MB / 0.9302 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.009895/1.33, allocations: 5.135 MB / 0.9352 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/1.33, allocations: 0 / 0.9352 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.813e-06/1.33, allocations: 0 / 0.9352 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001726/1.331, allocations: 0 / 0.9352 GB, free: 15.1 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.01292/1.344, allocations: 4.098 MB / 0.9392 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/1.344, allocations: 9.594 kB / 0.9392 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006117/1.35, allocations: 0.8387 MB / 0.94 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004292/1.354, allocations: 1.791 MB / 0.9417 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/1.354, allocations: 209.1 kB / 0.9419 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006372/1.355, allocations: 282.3 kB / 0.9422 GB, free: 11.72 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006664/1.362, allocations: 3.588 MB / 0.9457 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.224e-05/1.362, allocations: 9.484 kB / 0.9457 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002838/1.362, allocations: 116.9 kB / 0.9458 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001442/1.362, allocations: 146.6 kB / 0.946 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006164/1.368, allocations: 3.281 MB / 0.9492 GB, free: 10.09 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.02001/1.388, allocations: 14.13 MB / 0.963 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003773/1.392, allocations: 2.512 MB / 0.9654 GB, free: 13.85 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001954/1.394, allocations: 1.347 MB / 0.9667 GB, free: 13 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001246/1.395, allocations: 1.376 MB / 0.9681 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002069/1.398, allocations: 1.233 MB / 0.9693 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=213): time 4.358e-06/1.398, allocations: 0 / 0.9693 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of matching and sorting (n=213): time 0.005958/1.404, allocations: 3.159 MB / 0.9724 GB, free: 7.98 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.336e-05/1.404, allocations: 81.41 kB / 0.9725 GB, free: 7.887 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002227/1.406, allocations: 1.452 MB / 0.9739 GB, free: 6.43 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000297/1.406, allocations: 65.7 kB / 0.9739 GB, free: 6.359 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001051/1.407, allocations: 1.118 MB / 0.975 GB, free: 5.23 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008241/1.408, allocations: 0.7282 MB / 0.9757 GB, free: 4.508 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005749/1.409, allocations: 359.5 kB / 0.9761 GB, free: 4.148 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001062/1.409, allocations: 309.1 kB / 0.9764 GB, free: 3.844 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001577/1.41, allocations: 0.9058 MB / 0.9773 GB, free: 2.934 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001821/1.412, allocations: 1.271 MB / 0.9785 GB, free: 1.539 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003447/1.416, allocations: 2.328 MB / 0.9808 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-06/1.416, allocations: 3.938 kB / 0.9808 GB, free: 15.13 MB / 0.7169 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004549/1.42, allocations: 2.586 MB / 0.9833 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.104e-05/1.42, allocations: 49.72 kB / 0.9834 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/1.42, allocations: 8 kB / 0.9834 GB, free: 12.51 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.116e-05/1.42, allocations: 16 kB / 0.9834 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00197/1.422, allocations: 459.9 kB / 0.9838 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.027e-05/1.422, allocations: 22.52 kB / 0.9838 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002846/1.425, allocations: 356.5 kB / 0.9842 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001826/1.425, allocations: 79.98 kB / 0.9843 GB, free: 11.63 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.001504/1.427, allocations: 0.6927 MB / 0.9849 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006329/1.428, allocations: 217.5 kB / 0.9851 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004391/1.432, allocations: 2.511 MB / 0.9876 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.906e-05/1.432, allocations: 20 kB / 0.9876 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/1.432, allocations: 4 kB / 0.9876 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003445/1.435, allocations: 2.324 MB / 0.9899 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009887/1.445, allocations: 5.603 MB / 0.9954 GB, free: 164 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/1.445, allocations: 7.938 kB / 0.9954 GB, free: 156 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002237/1.448, allocations: 486.9 kB / 0.9958 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-05/1.448, allocations: 12 kB / 0.9958 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001552/1.448, allocations: 51.98 kB / 0.9959 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.451e-05/1.448, allocations: 8 kB / 0.9959 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/1.448, allocations: 6.531 kB / 0.9959 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006326/1.454, allocations: 3.989 MB / 0.9998 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001796/1.456, allocations: 0.537 MB / 1 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004494/1.457, allocations: 44 kB / 1 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002179/1.459, allocations: 243.5 kB / 1.001 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003491/1.459, allocations: 152.2 kB / 1.001 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001439/1.459, allocations: 67.98 kB / 1.001 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001503/1.461, allocations: 0.9944 MB / 1.002 GB, free: 9.551 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/1.461, allocations: 0 / 1.002 GB, free: 9.551 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002741/1.463, allocations: 0.9273 MB / 1.003 GB, free: 8.621 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.000879/1.464, allocations: 386 kB / 1.003 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00394/1.468, allocations: 2.337 MB / 1.005 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/1.468, allocations: 4 kB / 1.005 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001931/1.47, allocations: 1.217 MB / 1.007 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006155/1.476, allocations: 1.224 MB / 1.008 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/1.488, allocations: 7.181 MB / 1.015 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001634/1.489, allocations: 1.975 MB / 1.017 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001211/1.49, allocations: 215.4 kB / 1.017 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of SimCode: time 9.02e-07/1.49, allocations: 0 / 1.017 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of Templates: time 0.06186/1.552, allocations: 41.9 MB / 1.058 GB, free: 0.5625 MB / 0.7794 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.makefile (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 & ./IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)