Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.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.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, 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.001144/0.001144, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9158/0.9158, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 64.34 kB / 0.5053 GB, free: 5.324 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1577, allocations: 80.91 MB / 0.5844 GB, free: 4.562 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.3058/0.4635, allocations: 41.95 MB / 0.6253 GB, free: 30.88 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01121/0.4748, allocations: 8.869 MB / 0.634 GB, free: 24.58 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001872/0.4767, allocations: 43.81 kB / 0.634 GB, free: 24.56 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001596/0.4784, allocations: 0.5742 MB / 0.6346 GB, free: 24.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003309/0.4817, allocations: 1.262 MB / 0.6358 GB, free: 23.44 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003234/0.485, allocations: 1.186 MB / 0.637 GB, free: 22.81 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003266/0.4882, allocations: 2.667 MB / 0.6396 GB, free: 21.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001043/0.4893, allocations: 0.9366 MB / 0.6405 GB, free: 21.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002153/0.4915, allocations: 1.039 MB / 0.6415 GB, free: 20.49 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008943/0.4924, allocations: 0.7495 MB / 0.6423 GB, free: 20.12 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001631/0.4925, allocations: 121.5 kB / 0.6424 GB, free: 20.12 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002176/0.4947, allocations: 1.18 MB / 0.6435 GB, free: 19.73 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002495/0.495, allocations: 322.9 kB / 0.6438 GB, free: 19.55 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005568/0.4955, allocations: 0.6422 MB / 0.6445 GB, free: 19.13 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002695/0.4982, allocations: 2.329 MB / 0.6467 GB, free: 18.3 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4983, allocations: 3.938 kB / 0.6467 GB, free: 18.29 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4983, allocations: 0 / 0.6467 GB, free: 18.29 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.616e-05/0.4983, allocations: 0 / 0.6467 GB, free: 18.29 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.002332/0.5006, allocations: 1.737 MB / 0.6484 GB, free: 17 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.5007, allocations: 9.094 kB / 0.6484 GB, free: 17 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002852/0.501, allocations: 129.2 kB / 0.6486 GB, free: 16.94 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/0.5023, allocations: 1.042 MB / 0.6496 GB, free: 16.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.489e-05/0.5023, allocations: 55.16 kB / 0.6496 GB, free: 16.24 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.774e-05/0.5024, allocations: 74.53 kB / 0.6497 GB, free: 16.21 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.5035, allocations: 0.8031 MB / 0.6505 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.5036, allocations: 3.938 kB / 0.6505 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.685e-05/0.5036, allocations: 27.62 kB / 0.6505 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/0.5037, allocations: 15.22 kB / 0.6505 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009089/0.5046, allocations: 0.6157 MB / 0.6511 GB, free: 15.61 MB / 0.4981 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.003348/0.5079, allocations: 3.227 MB / 0.6543 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007823/0.5087, allocations: 463.7 kB / 0.6547 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004585/0.5092, allocations: 308.7 kB / 0.655 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000652/0.5099, allocations: 0.7665 MB / 0.6558 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.5099, allocations: 41.23 kB / 0.6558 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 2.665e-06/0.5099, allocations: 0 / 0.6558 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.001703/0.5116, allocations: 0.995 MB / 0.6568 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.5117, allocations: 141.1 kB / 0.6569 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001416/0.5131, allocations: 1.085 MB / 0.658 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.424e-05/0.5131, allocations: 40.03 kB / 0.658 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003205/0.5135, allocations: 467.7 kB / 0.6585 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.632e-05/0.5136, allocations: 134.6 kB / 0.6586 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/0.5138, allocations: 113.1 kB / 0.6587 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.295e-05/0.5138, allocations: 330.4 kB / 0.659 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005607/0.5144, allocations: 355.4 kB / 0.6593 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006297/0.515, allocations: 447.7 kB / 0.6598 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.5162, allocations: 0.9666 MB / 0.6607 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.5162, allocations: 0.6875 kB / 0.6607 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001732/0.5179, allocations: 1.107 MB / 0.6618 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.518, allocations: 184.8 kB / 0.662 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.5181, allocations: 2.125 kB / 0.662 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/0.5181, allocations: 4.094 kB / 0.662 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003785/0.5185, allocations: 98.06 kB / 0.6621 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.5185, allocations: 3.891 kB / 0.6621 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006748/0.5192, allocations: 82.44 kB / 0.6622 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.476e-05/0.5192, allocations: 23.62 kB / 0.6622 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009459/0.5202, allocations: 0.5902 MB / 0.6628 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006445/0.5208, allocations: 457.1 kB / 0.6632 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001143/0.522, allocations: 0.9648 MB / 0.6641 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.747e-06/0.522, allocations: 4.688 kB / 0.6641 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of matching and sorting (n=62) (initialization_lambda0): time 0.001608/0.5236, allocations: 1.1 MB / 0.6652 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.134e-05/0.5237, allocations: 185.4 kB / 0.6654 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.5237, allocations: 2.156 kB / 0.6654 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.043e-06/0.5237, allocations: 4.078 kB / 0.6654 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003425/0.5241, allocations: 90.19 kB / 0.6655 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.5241, allocations: 9.656 kB / 0.6655 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006482/0.5248, allocations: 66.39 kB / 0.6656 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.989e-05/0.5248, allocations: 23.78 kB / 0.6656 GB, free: 6.562 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (con.mod.airFlo_mod.i,con.mod.watFlo_mod.i,con.mod.temDif_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 6 * 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.0002821/0.5251, allocations: 298.8 kB / 0.6659 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/0.5253, allocations: 100.7 kB / 0.666 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001711/0.527, allocations: 0.915 MB / 0.6669 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/0.5271, allocations: 6.25 kB / 0.6669 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.5271, allocations: 0 / 0.6669 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001168/0.5283, allocations: 0.9809 MB / 0.6678 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003391/0.5317, allocations: 2.122 MB / 0.6699 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.5317, allocations: 2.531 kB / 0.6699 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002803/0.532, allocations: 65.67 kB / 0.67 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.532, allocations: 8.156 kB / 0.67 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.096e-05/0.532, allocations: 14.36 kB / 0.67 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.885e-06/0.532, allocations: 5 kB / 0.67 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.5321, allocations: 2.938 kB / 0.67 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00199/0.534, allocations: 1.396 MB / 0.6713 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004414/0.5345, allocations: 282.4 kB / 0.6716 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001924/0.5347, allocations: 11.44 kB / 0.6716 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005156/0.5352, allocations: 38.2 kB / 0.6717 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.5354, allocations: 49.38 kB / 0.6717 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.062e-05/0.5355, allocations: 23.92 kB / 0.6717 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001287/0.5367, allocations: 0.7777 MB / 0.6725 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5368, allocations: 0 / 0.6725 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001627/0.5384, allocations: 0.5185 MB / 0.673 GB, free: 2.445 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (con.hex.vol.dynBal.U,senTem.T) * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 3 (con.mod.airFlo_mod.i,con.mod.watFlo_mod.i,con.mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 4 * When equations: 0 * 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.0009603/0.5394, allocations: 416.2 kB / 0.6734 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002373/0.5417, allocations: 1.963 MB / 0.6753 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.5418, allocations: 1.344 kB / 0.6753 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006954/0.5425, allocations: 0.5435 MB / 0.6758 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002477/0.545, allocations: 0.5348 MB / 0.6764 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003155/0.5481, allocations: 1.917 MB / 0.6782 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008774/0.549, allocations: 1.075 MB / 0.6793 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008762/0.5499, allocations: 209.5 kB / 0.6795 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002115/0.5501, allocations: 81.08 kB / 0.6796 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of SimCode: time 6.61e-07/0.5501, allocations: 0 / 0.6796 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of Templates: time 0.04243/0.5926, allocations: 24.39 MB / 0.7034 GB, free: 2.203 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1)