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.001202/0.001201, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00137/0.00137, allocations: 193.7 kB / 16.14 MB, free: 6.699 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 / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.939/0.939, allocations: 135.1 MB / 425.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 66.55 kB / 0.5047 GB, free: 5.734 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1383, allocations: 80.93 MB / 0.5837 GB, free: 4.977 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.2824/0.4207, allocations: 41.69 MB / 0.6244 GB, free: 31.14 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01097/0.4317, allocations: 8.993 MB / 0.6332 GB, free: 24.8 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001357/0.4331, allocations: 32.41 kB / 0.6332 GB, free: 24.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001488/0.4347, allocations: 484.4 kB / 0.6337 GB, free: 24.53 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002799/0.4375, allocations: 1.164 MB / 0.6348 GB, free: 23.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002352/0.4398, allocations: 1.049 MB / 0.6359 GB, free: 23.22 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003013/0.4429, allocations: 3.35 MB / 0.6391 GB, free: 21.92 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009179/0.4438, allocations: 0.7672 MB / 0.6399 GB, free: 21.58 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001417/0.4452, allocations: 0.8699 MB / 0.6407 GB, free: 21.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006772/0.4459, allocations: 0.725 MB / 0.6415 GB, free: 20.86 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000104/0.446, allocations: 50.41 kB / 0.6415 GB, free: 20.86 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001866/0.4479, allocations: 1.08 MB / 0.6426 GB, free: 20.5 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002144/0.4481, allocations: 276.4 kB / 0.6428 GB, free: 20.38 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005125/0.4486, allocations: 0.5685 MB / 0.6434 GB, free: 20.03 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002188/0.4508, allocations: 2.272 MB / 0.6456 GB, free: 19.24 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4509, allocations: 3.938 kB / 0.6456 GB, free: 19.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.01e-07/0.4509, allocations: 0 / 0.6456 GB, free: 19.23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.28e-05/0.4509, allocations: 0 / 0.6456 GB, free: 19.23 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.002343/0.4532, allocations: 1.737 MB / 0.6473 GB, free: 17.94 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.4533, allocations: 8 kB / 0.6473 GB, free: 17.94 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000308/0.4536, allocations: 137.6 kB / 0.6474 GB, free: 17.87 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/0.4551, allocations: 1.063 MB / 0.6485 GB, free: 17.19 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.402e-05/0.4552, allocations: 51.44 kB / 0.6485 GB, free: 17.17 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.4553, allocations: 73.44 kB / 0.6486 GB, free: 17.14 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.4565, allocations: 0.8025 MB / 0.6494 GB, free: 16.79 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.4566, allocations: 0 / 0.6494 GB, free: 16.79 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-05/0.4566, allocations: 26.44 kB / 0.6494 GB, free: 16.77 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.359e-05/0.4567, allocations: 18.94 kB / 0.6494 GB, free: 16.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.4577, allocations: 0.612 MB / 0.65 GB, free: 16.54 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.003461/0.4611, allocations: 3.209 MB / 0.6531 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.4622, allocations: 462.3 kB / 0.6536 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005388/0.4628, allocations: 306.7 kB / 0.6539 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006898/0.4635, allocations: 0.7643 MB / 0.6546 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.4635, allocations: 40.47 kB / 0.6547 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 2.104e-06/0.4635, allocations: 5.688 kB / 0.6547 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.00186/0.4654, allocations: 0.9949 MB / 0.6556 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.711e-05/0.4655, allocations: 141.2 kB / 0.6558 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/0.467, allocations: 1.074 MB / 0.6568 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.418e-05/0.4671, allocations: 34.73 kB / 0.6569 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003514/0.4675, allocations: 477.4 kB / 0.6573 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.4676, allocations: 130.4 kB / 0.6574 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001897/0.4678, allocations: 112.7 kB / 0.6575 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.551e-05/0.4678, allocations: 334.1 kB / 0.6579 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005479/0.4684, allocations: 352.5 kB / 0.6582 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006879/0.4691, allocations: 455.8 kB / 0.6586 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/0.4704, allocations: 0.9645 MB / 0.6596 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.4704, allocations: 0.6562 kB / 0.6596 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001567/0.472, allocations: 1.11 MB / 0.6607 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.721e-05/0.4721, allocations: 181.6 kB / 0.6608 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.4721, allocations: 2.906 kB / 0.6608 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.4721, allocations: 3.406 kB / 0.6608 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003626/0.4725, allocations: 97.98 kB / 0.6609 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.4725, allocations: 3.812 kB / 0.6609 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006559/0.4732, allocations: 103.9 kB / 0.661 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-05/0.4732, allocations: 24.06 kB / 0.6611 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000824/0.4741, allocations: 0.6053 MB / 0.6616 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006043/0.4747, allocations: 443 kB / 0.6621 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001076/0.4758, allocations: 0.9694 MB / 0.663 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.896e-06/0.4758, allocations: 7.938 kB / 0.663 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of matching and sorting (n=62) (initialization_lambda0): time 0.001517/0.4773, allocations: 1.096 MB / 0.6641 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.882e-05/0.4774, allocations: 185 kB / 0.6643 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.4774, allocations: 2.516 kB / 0.6643 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.754e-06/0.4774, allocations: 8.016 kB / 0.6643 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003534/0.4778, allocations: 93.38 kB / 0.6644 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.4778, allocations: 4.75 kB / 0.6644 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006442/0.4784, allocations: 81.34 kB / 0.6645 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.255e-05/0.4785, allocations: 22.91 kB / 0.6645 GB, free: 7.488 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.0001838/0.4787, allocations: 303.8 kB / 0.6648 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/0.4788, allocations: 100.5 kB / 0.6649 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001488/0.4803, allocations: 0.9125 MB / 0.6658 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.695e-05/0.4804, allocations: 5.516 kB / 0.6658 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.4804, allocations: 0 / 0.6658 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001091/0.4815, allocations: 0.9822 MB / 0.6667 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003021/0.4845, allocations: 2.107 MB / 0.6688 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.4845, allocations: 2.031 kB / 0.6688 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002873/0.4848, allocations: 61.95 kB / 0.6688 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.4848, allocations: 8.344 kB / 0.6688 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.241e-05/0.4849, allocations: 18.14 kB / 0.6689 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/0.4849, allocations: 4.016 kB / 0.6689 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.4849, allocations: 11.28 kB / 0.6689 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/0.4867, allocations: 1.393 MB / 0.6702 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003748/0.4871, allocations: 285.5 kB / 0.6705 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/0.4873, allocations: 16.38 kB / 0.6705 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005407/0.4878, allocations: 50.33 kB / 0.6706 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/0.4879, allocations: 47.12 kB / 0.6706 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.811e-05/0.488, allocations: 21.61 kB / 0.6706 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001024/0.489, allocations: 0.7717 MB / 0.6714 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.489, allocations: 0 / 0.6714 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001491/0.4905, allocations: 0.5171 MB / 0.6719 GB, free: 3.379 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.0008183/0.4914, allocations: 399.6 kB / 0.6723 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002217/0.4936, allocations: 1.946 MB / 0.6742 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.4936, allocations: 1.562 kB / 0.6742 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006721/0.4943, allocations: 0.5437 MB / 0.6747 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002299/0.4966, allocations: 0.5131 MB / 0.6752 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002695/0.4993, allocations: 2.223 MB / 0.6774 GB, free: 112 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006752/0.5, allocations: 1.072 MB / 0.6784 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000757/0.5008, allocations: 212.5 kB / 0.6786 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001817/0.5009, allocations: 73.34 kB / 0.6787 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of SimCode: time 4.61e-07/0.501, allocations: 0 / 0.6787 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of Templates: time 0.04263/0.5436, allocations: 23.19 MB / 0.7014 GB, free: 4.059 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)