Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.CO2TransportStep") translateModel(Annex60.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.00164/0.00164, allocations: 108 kB / 15.61 MB, free: 152 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.001542/0.001541, allocations: 196.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4414/0.4414, allocations: 54.95 MB / 324.7 MB, free: 15.94 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 67.91 kB / 395.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1394, allocations: 59.58 MB / 454.9 MB, free: 172 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Airflow.Multizone.Examples.CO2TransportStep): time 0.9338/1.073, allocations: 295.1 MB / 0.7324 GB, free: 492 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02712/1.1, allocations: 21.16 MB / 0.7531 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005144/1.106, allocations: 80.72 kB / 0.7531 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.006059/1.112, allocations: 1.912 MB / 0.755 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01645/1.128, allocations: 6.053 MB / 0.7609 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.008837/1.137, allocations: 3.135 MB / 0.764 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01172/1.149, allocations: 8.406 MB / 0.7722 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007829/1.157, allocations: 3.308 MB / 0.7754 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008278/1.165, allocations: 3.247 MB / 0.7786 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006494/1.172, allocations: 3.039 MB / 0.7815 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001835/1.173, allocations: 408 kB / 0.7819 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01851/1.192, allocations: 5.41 MB / 0.7872 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.004002/1.196, allocations: 1.727 MB / 0.7889 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.006806/1.203, allocations: 2.202 MB / 0.7911 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01797/1.221, allocations: 7.454 MB / 0.7983 GB, free: 5.801 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.017e-05/1.221, allocations: 0 / 0.7983 GB, free: 5.801 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.084e-06/1.221, allocations: 0 / 0.7983 GB, free: 5.801 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002666/1.221, allocations: 0 / 0.7983 GB, free: 5.801 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 825 * Number of variables: 825 Notification: Performance of Generate backend data structure: time 0.01603/1.237, allocations: 4.61 MB / 0.8028 GB, free: 1.141 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/1.237, allocations: 8.031 kB / 0.8028 GB, free: 1.133 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006744/1.244, allocations: 0.8433 MB / 0.8037 GB, free: 296 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005351/1.249, allocations: 1.909 MB / 0.8055 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002886/1.25, allocations: 241.7 kB / 0.8058 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001132/1.251, allocations: 336 kB / 0.8061 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01036/1.261, allocations: 4.238 MB / 0.8102 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001274/1.261, allocations: 7.938 kB / 0.8102 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007698/1.262, allocations: 138.8 kB / 0.8104 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001896/1.262, allocations: 162.2 kB / 0.8105 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009015/1.271, allocations: 4.232 MB / 0.8147 GB, free: 4.922 MB / 0.5606 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.02747/1.299, allocations: 16.8 MB / 0.8311 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006012/1.305, allocations: 3.007 MB / 0.834 GB, free: 48 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003291/1.308, allocations: 1.873 MB / 0.8358 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001534/1.31, allocations: 1.335 MB / 0.8371 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003595/1.313, allocations: 1.872 MB / 0.839 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=297): time 9.298e-06/1.314, allocations: 0 / 0.839 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of matching and sorting (n=297): time 0.009833/1.323, allocations: 4.373 MB / 0.8432 GB, free: 6.219 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002114/1.324, allocations: 261.7 kB / 0.8435 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003552/1.327, allocations: 1.583 MB / 0.845 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0004155/1.328, allocations: 81.7 kB / 0.8451 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001367/1.329, allocations: 1.188 MB / 0.8463 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001287/1.33, allocations: 1.008 MB / 0.8472 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00125/1.332, allocations: 0.4903 MB / 0.8477 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001438/1.332, allocations: 313.2 kB / 0.848 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002618/1.334, allocations: 1.29 MB / 0.8493 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002989/1.337, allocations: 1.799 MB / 0.851 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005584/1.343, allocations: 3.271 MB / 0.8542 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.912e-05/1.343, allocations: 0 / 0.8542 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of matching and sorting (n=361) (initialization): time 0.007512/1.351, allocations: 3.618 MB / 0.8578 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.496e-05/1.351, allocations: 68.95 kB / 0.8578 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.085e-05/1.351, allocations: 12 kB / 0.8578 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.017e-05/1.351, allocations: 23.94 kB / 0.8579 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003035/1.354, allocations: 0.6178 MB / 0.8585 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.728e-05/1.354, allocations: 24.72 kB / 0.8585 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003101/1.357, allocations: 266.4 kB / 0.8587 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003899/1.357, allocations: 112 kB / 0.8589 GB, free: 5.742 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (360): * Single equations (assignments): 358 * Array equations: 0 * Algorithm blocks: 2 * 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.002026/1.359, allocations: 0.7936 MB / 0.8596 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001037/1.36, allocations: 253 kB / 0.8599 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007262/1.368, allocations: 3.589 MB / 0.8634 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-05/1.368, allocations: 32 kB / 0.8634 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-05/1.368, allocations: 4 kB / 0.8634 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005145/1.373, allocations: 3.091 MB / 0.8664 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01433/1.387, allocations: 7.164 MB / 0.8734 GB, free: 6.605 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-05/1.387, allocations: 4 kB / 0.8734 GB, free: 6.602 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003077/1.39, allocations: 0.6088 MB / 0.874 GB, free: 5.992 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-05/1.391, allocations: 12 kB / 0.874 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003048/1.391, allocations: 71.97 kB / 0.8741 GB, free: 5.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.694e-05/1.391, allocations: 12 kB / 0.8741 GB, free: 5.898 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.469e-05/1.391, allocations: 3.938 kB / 0.8741 GB, free: 5.895 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01026/1.401, allocations: 5.381 MB / 0.8794 GB, free: 416 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2877/1.689, allocations: 0.6832 MB / 0.88 GB, free: 275 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009601/1.69, allocations: 55.94 kB / 0.8801 GB, free: 275 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002249/1.692, allocations: 80.98 kB / 0.8802 GB, free: 275 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004042/1.693, allocations: 198.9 kB / 0.8804 GB, free: 275 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001882/1.693, allocations: 95.45 kB / 0.8805 GB, free: 275 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001745/1.695, allocations: 1.078 MB / 0.8815 GB, free: 274.9 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/1.695, allocations: 0 / 0.8815 GB, free: 274.9 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002887/1.697, allocations: 1.112 MB / 0.8826 GB, free: 274.9 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,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 (306): * Single equations (assignments): 304 * 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.001058/1.699, allocations: 431.9 kB / 0.883 GB, free: 274.8 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01422/1.713, allocations: 6.831 MB / 0.8897 GB, free: 274.6 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.681e-05/1.713, allocations: 0 / 0.8897 GB, free: 274.6 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.003104/1.716, allocations: 1.696 MB / 0.8913 GB, free: 274.5 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006452/1.722, allocations: 1.413 MB / 0.8927 GB, free: 274.2 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/1.733, allocations: 6.975 MB / 0.8995 GB, free: 271.3 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00182/1.735, allocations: 2.158 MB / 0.9016 GB, free: 270.4 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.004275/1.74, allocations: 0.9719 MB / 0.9026 GB, free: 270.3 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008663/1.741, allocations: 245.8 kB / 0.9028 GB, free: 270.3 MB / 0.6231 GB Notification: Performance of SimCode: time 9.82e-07/1.741, allocations: 0 / 0.9028 GB, free: 270.3 MB / 0.6231 GB Notification: Performance of Templates: time 0.09336/1.834, allocations: 56.93 MB / 0.9584 GB, free: 237.3 MB / 0.6231 GB make -j1 -f Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)