Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_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_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.0009443/0.0009443, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001129/0.001129, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.19/1.19, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8432/0.8432, allocations: 135.2 MB / 426.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003028/0.000303, allocations: 8.531 kB / 0.5068 GB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1558, allocations: 82.32 MB / 0.5872 GB, free: 3.078 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.2987/0.4546, allocations: 35.21 MB / 0.6216 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007995/0.4626, allocations: 7.727 MB / 0.6291 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008393/0.4635, allocations: 36.16 kB / 0.6292 GB, free: 29.44 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00118/0.4647, allocations: 0.5058 MB / 0.6297 GB, free: 29.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002294/0.467, allocations: 1.177 MB / 0.6308 GB, free: 28.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002667/0.4696, allocations: 1.168 MB / 0.632 GB, free: 27.83 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001808/0.4715, allocations: 1.501 MB / 0.6334 GB, free: 27.01 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007474/0.4722, allocations: 0.638 MB / 0.6341 GB, free: 26.79 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.4733, allocations: 0.7283 MB / 0.6348 GB, free: 26.42 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004693/0.4738, allocations: 488.1 kB / 0.6352 GB, free: 26.21 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.494e-05/0.4738, allocations: 35.28 kB / 0.6353 GB, free: 26.21 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001365/0.4752, allocations: 0.7399 MB / 0.636 GB, free: 26.01 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.4754, allocations: 209.5 kB / 0.6362 GB, free: 25.93 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001694/0.4755, allocations: 271.2 kB / 0.6364 GB, free: 25.75 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001185/0.4767, allocations: 1.655 MB / 0.6381 GB, free: 25.39 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.4768, allocations: 0 / 0.6381 GB, free: 25.39 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.412e-06/0.4768, allocations: 0 / 0.6381 GB, free: 25.39 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.247e-05/0.4768, allocations: 0 / 0.6381 GB, free: 25.39 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.001752/0.4785, allocations: 1.51 MB / 0.6395 GB, free: 24.24 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.4786, allocations: 9.594 kB / 0.6395 GB, free: 24.24 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002181/0.4788, allocations: 126.6 kB / 0.6397 GB, free: 24.18 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.4802, allocations: 1.127 MB / 0.6408 GB, free: 23.48 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/0.4802, allocations: 49.91 kB / 0.6408 GB, free: 23.46 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.618e-05/0.4803, allocations: 68.62 kB / 0.6409 GB, free: 23.45 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.4814, allocations: 0.8035 MB / 0.6417 GB, free: 23.08 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.4814, allocations: 4 kB / 0.6417 GB, free: 23.08 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.641e-05/0.4815, allocations: 32.39 kB / 0.6417 GB, free: 23.06 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.34e-05/0.4815, allocations: 15.19 kB / 0.6417 GB, free: 23.06 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008458/0.4823, allocations: 0.6103 MB / 0.6423 GB, free: 22.84 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.0029/0.4852, allocations: 3.137 MB / 0.6454 GB, free: 20.71 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006274/0.4859, allocations: 458.5 kB / 0.6458 GB, free: 20.54 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005727/0.4865, allocations: 0.778 MB / 0.6466 GB, free: 19.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.4865, allocations: 37.19 kB / 0.6466 GB, free: 19.64 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 2.074e-06/0.4865, allocations: 0 / 0.6466 GB, free: 19.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.001301/0.4878, allocations: 1.247 MB / 0.6478 GB, free: 18.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.4879, allocations: 141.7 kB / 0.648 GB, free: 18.74 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000966/0.4888, allocations: 0.9974 MB / 0.6489 GB, free: 18.32 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.987e-05/0.4889, allocations: 39.77 kB / 0.649 GB, free: 18.28 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002763/0.4892, allocations: 473.6 kB / 0.6494 GB, free: 17.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.777e-05/0.4893, allocations: 129.7 kB / 0.6495 GB, free: 17.81 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-05/0.4893, allocations: 10.97 kB / 0.6496 GB, free: 17.8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.614e-05/0.4894, allocations: 326.3 kB / 0.6499 GB, free: 17.49 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004033/0.4898, allocations: 324.8 kB / 0.6502 GB, free: 17.38 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004405/0.4902, allocations: 433 kB / 0.6506 GB, free: 17.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004616/0.4907, allocations: 0.5258 MB / 0.6511 GB, free: 16.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.4907, allocations: 0 / 0.6511 GB, free: 16.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0011/0.4918, allocations: 1.071 MB / 0.6521 GB, free: 16.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002178/0.492, allocations: 0.9658 MB / 0.6531 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.492, allocations: 0 / 0.6531 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.4921, allocations: 9.297 kB / 0.6531 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003333/0.4924, allocations: 87.52 kB / 0.6532 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.4924, allocations: 12.03 kB / 0.6532 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005707/0.493, allocations: 110.9 kB / 0.6533 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-05/0.4931, allocations: 27.73 kB / 0.6533 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.4931, allocations: 7.969 kB / 0.6533 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001323/0.4944, allocations: 1.072 MB / 0.6544 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.4944, allocations: 1.688 kB / 0.6544 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.955e-06/0.4945, allocations: 4.406 kB / 0.6544 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000329/0.4948, allocations: 93.38 kB / 0.6545 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.4948, allocations: 7.781 kB / 0.6545 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005499/0.4954, allocations: 107 kB / 0.6546 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.906e-05/0.4954, allocations: 28.08 kB / 0.6546 GB, free: 14.57 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005841/0.496, allocations: 479.9 kB / 0.6551 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.4962, allocations: 104.7 kB / 0.6552 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001555/0.4978, allocations: 0.9315 MB / 0.6561 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/0.4978, allocations: 5.094 kB / 0.6561 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.4978, allocations: 0 / 0.6561 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00117/0.499, allocations: 0.9918 MB / 0.6571 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003072/0.5021, allocations: 2.076 MB / 0.6591 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.5021, allocations: 3.125 kB / 0.6591 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002865/0.5024, allocations: 64.92 kB / 0.6591 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.303e-06/0.5024, allocations: 4.375 kB / 0.6592 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.086e-05/0.5024, allocations: 22.58 kB / 0.6592 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/0.5025, allocations: 4.062 kB / 0.6592 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/0.5025, allocations: 1.938 kB / 0.6592 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/0.5043, allocations: 1.524 MB / 0.6607 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003573/0.5046, allocations: 286.3 kB / 0.6609 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.5048, allocations: 16.52 kB / 0.661 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004793/0.5053, allocations: 60.28 kB / 0.661 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.5054, allocations: 58.12 kB / 0.6611 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.472e-05/0.5054, allocations: 22.8 kB / 0.6611 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009253/0.5064, allocations: 0.7151 MB / 0.6618 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5064, allocations: 0 / 0.6618 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00133/0.5077, allocations: 0.5104 MB / 0.6623 GB, free: 10.23 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006999/0.5084, allocations: 397.8 kB / 0.6627 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001993/0.5104, allocations: 1.909 MB / 0.6645 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.5104, allocations: 0 / 0.6645 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005892/0.511, allocations: 0.5457 MB / 0.6651 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001989/0.513, allocations: 0.4966 MB / 0.6655 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002689/0.5157, allocations: 2.287 MB / 0.6678 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005867/0.5163, allocations: 1.093 MB / 0.6688 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007265/0.5171, allocations: 205.4 kB / 0.669 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.5172, allocations: 83.62 kB / 0.6691 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/0.5172, allocations: 1.406 kB / 0.6691 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of Templates: time 0.03408/0.5513, allocations: 22.05 MB / 0.6907 GB, free: 15.43 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1) Environment - environmentSimulation: