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.001324/0.001324, allocations: 110 kB / 16.37 MB, free: 6.469 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.001508/0.001508, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.259/1.259, 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-master/package.mo): time 0.7588/0.7588, allocations: 135.1 MB / 426.3 MB, free: 4.16 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 59.91 kB / 0.5068 GB, free: 7.695 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3236, allocations: 80.89 MB / 0.5858 GB, free: 25.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 0.5251/0.8488, allocations: 294.2 MB / 0.8731 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02676/0.8756, allocations: 23.02 MB / 0.8956 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003155/0.8788, allocations: 80.19 kB / 0.8957 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004218/0.8831, allocations: 1.801 MB / 0.8974 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01478/0.8979, allocations: 6.11 MB / 0.9034 GB, free: 8.367 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.007391/0.9053, allocations: 2.894 MB / 0.9062 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.009265/0.9146, allocations: 7.31 MB / 0.9133 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004618/0.9192, allocations: 2.974 MB / 0.9162 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006128/0.9254, allocations: 2.891 MB / 0.9191 GB, free: 8.246 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004509/0.9299, allocations: 2.707 MB / 0.9217 GB, free: 5.539 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001044/0.9309, allocations: 344 kB / 0.922 GB, free: 5.203 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01157/0.9425, allocations: 5.982 MB / 0.9279 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002065/0.9446, allocations: 1.465 MB / 0.9293 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003617/0.9482, allocations: 1.902 MB / 0.9312 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01231/0.9606, allocations: 6.942 MB / 0.938 GB, free: 4.867 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.9606, allocations: 4 kB / 0.938 GB, free: 4.863 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9606, allocations: 0 / 0.938 GB, free: 4.863 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001608/0.9608, allocations: 0 / 0.938 GB, free: 4.863 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.01075/0.9715, allocations: 4.084 MB / 0.9419 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.9716, allocations: 13.11 kB / 0.942 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005702/0.9773, allocations: 0.8431 MB / 0.9428 GB, free: 15.84 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004285/0.9816, allocations: 1.861 MB / 0.9446 GB, free: 13.93 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000181/0.9818, allocations: 213.4 kB / 0.9448 GB, free: 13.72 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007293/0.9825, allocations: 279.9 kB / 0.9451 GB, free: 13.45 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007112/0.9897, allocations: 3.592 MB / 0.9486 GB, free: 9.73 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.813e-05/0.9898, allocations: 7.984 kB / 0.9486 GB, free: 9.723 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004374/0.9902, allocations: 116 kB / 0.9487 GB, free: 9.609 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001562/0.9904, allocations: 153.2 kB / 0.9488 GB, free: 9.457 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006174/0.9966, allocations: 3.28 MB / 0.952 GB, free: 6.164 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.01871/1.015, allocations: 14.18 MB / 0.9659 GB, free: 6.758 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00374/1.019, allocations: 2.514 MB / 0.9683 GB, free: 4.168 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001961/1.021, allocations: 1.352 MB / 0.9697 GB, free: 2.816 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001183/1.022, allocations: 1.382 MB / 0.971 GB, free: 1.137 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001962/1.024, allocations: 1.218 MB / 0.9722 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=213): time 3.707e-06/1.024, allocations: 0 / 0.9722 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of matching and sorting (n=213): time 0.005554/1.03, allocations: 3.16 MB / 0.9753 GB, free: 12.74 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.414e-05/1.03, allocations: 89.27 kB / 0.9754 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001963/1.032, allocations: 1.449 MB / 0.9768 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000166/1.032, allocations: 65.7 kB / 0.9769 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008498/1.033, allocations: 1.115 MB / 0.9779 GB, free: 9.984 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006263/1.034, allocations: 0.7315 MB / 0.9787 GB, free: 9.246 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005276/1.034, allocations: 367.4 kB / 0.979 GB, free: 8.879 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.502e-05/1.034, allocations: 309.1 kB / 0.9793 GB, free: 8.574 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001419/1.036, allocations: 0.9097 MB / 0.9802 GB, free: 7.66 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001683/1.037, allocations: 1.27 MB / 0.9814 GB, free: 6.262 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003213/1.041, allocations: 2.321 MB / 0.9837 GB, free: 3.836 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/1.041, allocations: 0 / 0.9837 GB, free: 3.836 MB / 0.7012 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003986/1.045, allocations: 2.598 MB / 0.9862 GB, free: 1.223 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.814e-05/1.045, allocations: 33.7 kB / 0.9863 GB, free: 1.184 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/1.045, allocations: 8 kB / 0.9863 GB, free: 1.176 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.707e-05/1.045, allocations: 16 kB / 0.9863 GB, free: 1.16 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001869/1.046, allocations: 467.6 kB / 0.9867 GB, free: 0.7031 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.819e-05/1.047, allocations: 27.88 kB / 0.9868 GB, free: 0.6758 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/1.048, allocations: 189.9 kB / 0.9869 GB, free: 500 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/1.048, allocations: 80.06 kB / 0.987 GB, free: 420 kB / 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.001079/1.05, allocations: 0.6859 MB / 0.9877 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003264/1.05, allocations: 213.5 kB / 0.9879 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003886/1.054, allocations: 2.515 MB / 0.9903 GB, free: 12.97 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/1.054, allocations: 23.94 kB / 0.9904 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.054, allocations: 3.938 kB / 0.9904 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003119/1.057, allocations: 2.323 MB / 0.9926 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008131/1.065, allocations: 5.585 MB / 0.9981 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/1.065, allocations: 4 kB / 0.9981 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002115/1.067, allocations: 487.6 kB / 0.9986 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.597e-05/1.067, allocations: 12 kB / 0.9986 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001332/1.067, allocations: 55.92 kB / 0.9986 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.3e-05/1.067, allocations: 12 kB / 0.9986 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/1.067, allocations: 7.938 kB / 0.9987 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005429/1.073, allocations: 3.997 MB / 1.003 GB, free: 248 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001164/1.074, allocations: 0.5332 MB / 1.003 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002705/1.074, allocations: 44 kB / 1.003 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00131/1.076, allocations: 70.89 kB / 1.003 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002847/1.076, allocations: 149.7 kB / 1.003 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001337/1.076, allocations: 67.98 kB / 1.003 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001208/1.077, allocations: 0.9866 MB / 1.004 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.077, allocations: 0 / 1.004 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001898/1.079, allocations: 0.935 MB / 1.005 GB, free: 13.45 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.0006598/1.08, allocations: 392.9 kB / 1.006 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003444/1.083, allocations: 2.344 MB / 1.008 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/1.083, allocations: 1.875 kB / 1.008 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001699/1.085, allocations: 1.222 MB / 1.009 GB, free: 9.492 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004689/1.09, allocations: 1.294 MB / 1.01 GB, free: 8.254 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007758/1.098, allocations: 5.753 MB / 1.016 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001396/1.099, allocations: 1.975 MB / 1.018 GB, free: 436 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002218/1.101, allocations: 0.7132 MB / 1.019 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005972/1.102, allocations: 191.4 kB / 1.019 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of SimCode: time 5.81e-07/1.102, allocations: 4 kB / 1.019 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of Templates: time 0.2953/1.397, allocations: 47.43 MB / 1.065 GB, free: 306.8 MB / 0.7481 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)