Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics") translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 169.5 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.881/0.881, allocations: 130.7 MB / 138.7 MB, free: 3.594 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 221.5 MB / 391.8 MB, free: 14.24 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009765/0.0009765, allocations: 93.83 kB / 473.9 MB, free: 4.457 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.93e-05/1.932e-05, allocations: 4 kB / 0.5485 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5368/0.5368, allocations: 81.57 MB / 0.6282 GB, free: 42.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.318/6.855, allocations: 2.165 GB / 2.793 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/6.856, allocations: 102.7 kB / 2.793 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 18.67/25.52, allocations: 4.485 GB / 7.278 GB, free: 58.84 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.205e-06/25.52, allocations: 0 / 7.278 GB, free: 58.84 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001568/25.52, allocations: 206.6 kB / 7.278 GB, free: 58.8 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1118 * Number of variables: 1118 Notification: Performance of Generate backend data structure: time 0.02754/25.55, allocations: 8.009 MB / 7.286 GB, free: 54.47 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/25.55, allocations: 10.88 kB / 7.286 GB, free: 54.47 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00939/25.56, allocations: 1.495 MB / 7.288 GB, free: 53.98 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02733/25.59, allocations: 9.804 MB / 7.297 GB, free: 52.59 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003877/25.59, allocations: 155.7 kB / 7.298 GB, free: 52.59 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002118/25.59, allocations: 286.3 kB / 7.298 GB, free: 52.59 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01197/25.6, allocations: 4.091 MB / 7.302 GB, free: 51.45 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01316/25.62, allocations: 4.926 MB / 7.307 GB, free: 49.27 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001556/25.62, allocations: 7.156 kB / 7.307 GB, free: 49.27 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009528/25.62, allocations: 13.69 kB / 7.307 GB, free: 49.27 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001444/25.62, allocations: 171.8 kB / 7.307 GB, free: 49.25 MB / 0.8855 GB Warning: The model contains alias variables with conflicting start and/or 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.03968/25.66, allocations: 24.28 MB / 7.33 GB, free: 33.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00394/25.66, allocations: 2.927 MB / 7.333 GB, free: 30.9 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00221/25.66, allocations: 1.804 MB / 7.335 GB, free: 29.22 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01427/25.68, allocations: 8.137 MB / 7.343 GB, free: 22 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.247e-05/25.68, allocations: 64.5 kB / 7.343 GB, free: 21.93 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003623/25.68, allocations: 315.5 kB / 7.343 GB, free: 21.66 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=213): time 8.145e-06/25.68, allocations: 0 / 7.343 GB, free: 21.66 MB / 0.8855 GB Notification: Performance of matching and sorting (n=213): time 0.009729/25.69, allocations: 4.105 MB / 7.347 GB, free: 17.88 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001806/25.69, allocations: 417.8 kB / 7.348 GB, free: 17.39 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01823/25.71, allocations: 6.351 MB / 7.354 GB, free: 11.06 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001178/25.71, allocations: 37.7 kB / 7.354 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.004889/25.72, allocations: 3.741 MB / 7.358 GB, free: 7.25 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001421/25.72, allocations: 0.6851 MB / 7.358 GB, free: 6.555 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008066/25.72, allocations: 12 kB / 7.358 GB, free: 6.543 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0003584/25.72, allocations: 440.9 kB / 7.359 GB, free: 6.105 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00324/25.72, allocations: 2.068 MB / 7.361 GB, free: 4.035 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003967/25.73, allocations: 3.381 MB / 7.364 GB, free: 80 kB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.9297/26.66, allocations: 2.573 MB / 7.367 GB, free: 65.23 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.991e-05/26.66, allocations: 9.406 kB / 7.367 GB, free: 65.23 MB / 0.8855 GB Notification: Performance of matching and sorting (n=426) (initialization): time 0.01484/26.67, allocations: 6.017 MB / 7.373 GB, free: 65.13 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.003686/26.67, allocations: 16.39 MB / 7.389 GB, free: 48.06 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-05/26.67, allocations: 30.16 kB / 7.389 GB, free: 48.06 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000106/26.67, allocations: 49.88 kB / 7.389 GB, free: 48.06 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00282/26.68, allocations: 0.6719 MB / 7.389 GB, free: 48.06 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.226e-05/26.68, allocations: 64.75 kB / 7.389 GB, free: 48.06 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007351/26.68, allocations: 375.5 kB / 7.39 GB, free: 48.06 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007213/26.69, allocations: 220.8 kB / 7.39 GB, free: 48.06 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/26.69, allocations: 5.281 kB / 7.39 GB, free: 48.06 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01056/26.7, allocations: 5.663 MB / 7.395 GB, free: 47.99 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.674e-05/26.7, allocations: 31.41 kB / 7.395 GB, free: 47.99 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.599e-05/26.7, allocations: 48.34 kB / 7.396 GB, free: 47.99 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002483/26.7, allocations: 0.6687 MB / 7.396 GB, free: 47.99 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.153e-05/26.7, allocations: 60.41 kB / 7.396 GB, free: 47.99 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006691/26.71, allocations: 368.1 kB / 7.397 GB, free: 47.99 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006218/26.71, allocations: 212.2 kB / 7.397 GB, free: 47.99 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * Number of states: 0 () * Number of discrete variables: 12 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea10.conCoo.mod.temDif_mod.i,beaCooHea10.conCoo.mod.watFlo_mod.i,beaCooHea10.conCoo.mod.airFlo_mod.i,beaCooHea10.conHea.mod.temDif_mod.i,beaCooHea10.conHea.mod.watFlo_mod.i,beaCooHea10.conHea.mod.airFlo_mod.i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (366): * Single equations (assignments): 338 * Array equations: 4 * Algorithm blocks: 24 * 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.001141/26.71, allocations: 0.5884 MB / 7.397 GB, free: 47.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002387/26.71, allocations: 0.6797 MB / 7.398 GB, free: 47.37 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01097/26.72, allocations: 4.516 MB / 7.402 GB, free: 47.18 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.154e-05/26.72, allocations: 27.81 kB / 7.402 GB, free: 47.18 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/26.72, allocations: 0 / 7.402 GB, free: 47.18 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005876/26.73, allocations: 3.633 MB / 7.406 GB, free: 46.89 MB / 0.8855 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.02646/26.75, allocations: 10.42 MB / 7.416 GB, free: 46.28 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.756e-05/26.75, allocations: 5.438 kB / 7.416 GB, free: 46.28 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001924/26.76, allocations: 432.3 kB / 7.417 GB, free: 46.28 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.08e-05/26.76, allocations: 12.56 kB / 7.417 GB, free: 46.28 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001876/26.76, allocations: 59.02 kB / 7.417 GB, free: 46.28 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-05/26.76, allocations: 14.66 kB / 7.417 GB, free: 46.28 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.867e-06/26.76, allocations: 8.562 kB / 7.417 GB, free: 46.28 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01202/26.77, allocations: 7.977 MB / 7.424 GB, free: 44.38 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005298/26.77, allocations: 1.377 MB / 7.426 GB, free: 43.92 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002782/26.78, allocations: 25.25 kB / 7.426 GB, free: 43.92 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006018/26.78, allocations: 323.8 kB / 7.426 GB, free: 43.91 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006783/26.78, allocations: 290.1 kB / 7.426 GB, free: 43.91 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000459/26.78, allocations: 121.6 kB / 7.427 GB, free: 43.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.01272/26.8, allocations: 4.771 MB / 7.431 GB, free: 43.65 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.523e-06/26.8, allocations: 0.5 kB / 7.431 GB, free: 43.65 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.02082/26.82, allocations: 3.799 MB / 7.435 GB, free: 43.44 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 4 (beaCooHea.conCoo.hex.vol.dynBal.U,beaCooHea.conHea.hex.vol.dynBal.U,beaCooHea10.conCoo.hex.vol.dynBal.U,beaCooHea10.conHea.hex.vol.dynBal.U) * Number of discrete variables: 12 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea10.conCoo.mod.temDif_mod.i,beaCooHea10.conCoo.mod.watFlo_mod.i,beaCooHea10.conCoo.mod.airFlo_mod.i,beaCooHea10.conHea.mod.temDif_mod.i,beaCooHea10.conHea.mod.watFlo_mod.i,beaCooHea10.conHea.mod.airFlo_mod.i) * Number of discrete states: 12 (beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea10.conCoo.mod.airFlo_mod.i,beaCooHea10.conHea.mod.airFlo_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea10.conHea.mod.watFlo_mod.i,beaCooHea10.conCoo.mod.watFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea10.conHea.mod.temDif_mod.i,beaCooHea10.conCoo.mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (225): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 12 * 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.01524/26.83, allocations: 7.056 MB / 7.442 GB, free: 40.41 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01925/26.85, allocations: 11.1 MB / 7.453 GB, free: 37.32 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.38e-05/26.85, allocations: 0 / 7.453 GB, free: 37.32 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.005358/26.86, allocations: 3.527 MB / 7.456 GB, free: 36.57 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02029/26.88, allocations: 3.282 MB / 7.459 GB, free: 36.52 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03449/26.91, allocations: 10.78 MB / 7.47 GB, free: 34.02 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005853/26.92, allocations: 4.158 MB / 7.474 GB, free: 33.16 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.01427/26.93, allocations: 2.512 MB / 7.476 GB, free: 33.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001187/26.93, allocations: 364.6 kB / 7.477 GB, free: 33.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.493e-06/26.93, allocations: 0.6562 kB / 7.477 GB, free: 33.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.2625/27.2, allocations: 153.7 MB / 7.627 GB, free: 10.96 MB / 0.8855 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe 2>&1)