Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00433/0.004329, allocations: 357.2 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.418/1.418, allocations: 165.8 MB / 182.5 MB, free: 5.461 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.698/3.698, allocations: 410.8 MB / 0.5995 GB, free: 15.15 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001724/0.001723, allocations: 190.1 kB / 0.6662 GB, free: 6.902 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004614/0.0004617, allocations: 12 kB / 0.7423 GB, free: 8.941 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3274, allocations: 67.45 MB / 0.8082 GB, free: 28.76 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics): time 1.329/1.656, allocations: 382 MB / 1.181 GB, free: 25.07 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.09154/1.748, allocations: 58.97 MB / 1.239 GB, free: 24.49 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01267/1.76, allocations: 254.9 kB / 1.239 GB, free: 24.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.01336/1.774, allocations: 3.441 MB / 1.242 GB, free: 24.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.03693/1.811, allocations: 10.13 MB / 1.252 GB, free: 24.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.02692/1.838, allocations: 7.592 MB / 1.26 GB, free: 22.92 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.03011/1.868, allocations: 22.32 MB / 1.282 GB, free: 16.84 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01183/1.88, allocations: 5.108 MB / 1.287 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01693/1.897, allocations: 6.507 MB / 1.293 GB, free: 8.109 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009461/1.906, allocations: 5.046 MB / 1.298 GB, free: 4.004 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.002341/1.908, allocations: 300 kB / 1.298 GB, free: 3.711 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01186/1.92, allocations: 2.812 MB / 1.301 GB, free: 1.527 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.00368/1.924, allocations: 2.185 MB / 1.303 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.004513/1.929, allocations: 1.868 MB / 1.305 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.02116/1.95, allocations: 12.52 MB / 1.317 GB, free: 4.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.087e-06/1.95, allocations: 0 / 1.317 GB, free: 4.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.713e-06/1.95, allocations: 4 kB / 1.317 GB, free: 4.176 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0003077/1.95, allocations: 0 / 1.317 GB, free: 4.176 MB / 0.6198 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.02342/1.974, allocations: 8.912 MB / 1.326 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/1.974, allocations: 8.031 kB / 1.326 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008449/1.982, allocations: 1.571 MB / 1.327 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02278/2.005, allocations: 7.427 MB / 1.335 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001955/2.007, allocations: 0.6201 MB / 1.335 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001585/2.009, allocations: 481.9 kB / 1.336 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01818/2.027, allocations: 5.964 MB / 1.341 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001676/2.027, allocations: 7.938 kB / 1.341 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001091/2.028, allocations: 184 kB / 1.342 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002124/2.028, allocations: 164.4 kB / 1.342 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01676/2.045, allocations: 5.039 MB / 1.347 GB, free: 7.773 MB / 0.6511 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.05762/2.103, allocations: 26.32 MB / 1.372 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009789/2.113, allocations: 3.495 MB / 1.376 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005751/2.118, allocations: 2.147 MB / 1.378 GB, free: 6.668 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02033/2.139, allocations: 8.51 MB / 1.386 GB, free: 13.62 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.467e-05/2.139, allocations: 64.56 kB / 1.386 GB, free: 13.55 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003197/2.142, allocations: 392.5 kB / 1.387 GB, free: 13.16 MB / 0.698 GB Notification: Performance of pre-optimization done (n=210): time 1.046e-05/2.142, allocations: 0 / 1.387 GB, free: 13.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=210): time 0.01995/2.162, allocations: 6.66 MB / 1.393 GB, free: 6.414 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003005/2.163, allocations: 405.8 kB / 1.394 GB, free: 5.934 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02036/2.183, allocations: 8.247 MB / 1.402 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0006874/2.184, allocations: 89.7 kB / 1.402 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.005664/2.189, allocations: 3.718 MB / 1.405 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001314/2.191, allocations: 0.7081 MB / 1.406 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003837/2.191, allocations: 68 kB / 1.406 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0003628/2.191, allocations: 433.1 kB / 1.406 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006844/2.198, allocations: 2.493 MB / 1.409 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008095/2.206, allocations: 3.728 MB / 1.413 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007599/2.214, allocations: 3.445 MB / 1.416 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.712e-05/2.214, allocations: 8 kB / 1.416 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of matching and sorting (n=432) (initialization): time 0.01975/2.234, allocations: 7.503 MB / 1.423 GB, free: 6.68 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001516/2.235, allocations: 1.621 MB / 1.425 GB, free: 4.543 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.714e-05/2.236, allocations: 24 kB / 1.425 GB, free: 4.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001193/2.236, allocations: 47.95 kB / 1.425 GB, free: 4.473 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004964/2.241, allocations: 0.7411 MB / 1.426 GB, free: 3.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.331e-05/2.241, allocations: 55.8 kB / 1.426 GB, free: 3.676 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007759/2.249, allocations: 0.5524 MB / 1.426 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009665/2.25, allocations: 179.9 kB / 1.426 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/2.25, allocations: 4 kB / 1.426 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.384/2.634, allocations: 7.598 MB / 1.434 GB, free: 353.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001438/2.634, allocations: 25.84 kB / 1.434 GB, free: 353.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001343/2.634, allocations: 45.95 kB / 1.434 GB, free: 353.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00729/2.641, allocations: 0.7347 MB / 1.435 GB, free: 353.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001395/2.642, allocations: 59.41 kB / 1.435 GB, free: 353.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01307/2.655, allocations: 0.5373 MB / 1.435 GB, free: 353.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001403/2.656, allocations: 177.8 kB / 1.435 GB, free: 353.6 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 119 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (372): * Single equations (assignments): 344 * 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.00915/2.665, allocations: 2.286 MB / 1.438 GB, free: 352.1 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003465/2.669, allocations: 0.7339 MB / 1.438 GB, free: 352.1 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02649/2.695, allocations: 5.696 MB / 1.444 GB, free: 349.8 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.829e-05/2.695, allocations: 29.23 kB / 1.444 GB, free: 349.8 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.677e-05/2.695, allocations: 0 / 1.444 GB, free: 349.8 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01939/2.715, allocations: 4.587 MB / 1.448 GB, free: 347.8 MB / 0.7292 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 postOpt removeSimpleEquations (simulation): time 0.03054/2.746, allocations: 12.2 MB / 1.46 GB, free: 342.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.975e-05/2.746, allocations: 4.719 kB / 1.46 GB, free: 342.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003099/2.749, allocations: 0.4973 MB / 1.461 GB, free: 342.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.289e-05/2.749, allocations: 14.47 kB / 1.461 GB, free: 342.3 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004719/2.749, allocations: 82.7 kB / 1.461 GB, free: 342.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.549e-05/2.749, allocations: 17 kB / 1.461 GB, free: 342.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.905e-06/2.749, allocations: 6.625 kB / 1.461 GB, free: 342.3 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01878/2.768, allocations: 8.402 MB / 1.469 GB, free: 337.9 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00459/2.773, allocations: 1.471 MB / 1.471 GB, free: 336.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001929/2.775, allocations: 67.31 kB / 1.471 GB, free: 336.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006204/2.781, allocations: 426.4 kB / 1.471 GB, free: 336.6 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008724/2.782, allocations: 293.8 kB / 1.471 GB, free: 336.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004578/2.782, allocations: 118.3 kB / 1.471 GB, free: 336.4 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0129/2.795, allocations: 5.627 MB / 1.477 GB, free: 331.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.99e-07/2.795, allocations: 4 kB / 1.477 GB, free: 331.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.01458/2.81, allocations: 3.366 MB / 1.48 GB, free: 328.4 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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.conCoo.mod.temDif_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea10.conCoo.mod.temDif_mod.i,beaCooHea10.conHea.mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (220): * Single equations (assignments): 196 * 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.002638/2.813, allocations: 1.132 MB / 1.481 GB, free: 327.6 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.02031/2.833, allocations: 12.25 MB / 1.493 GB, free: 314.8 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/2.833, allocations: 4 kB / 1.493 GB, free: 314.8 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00727/2.84, allocations: 4.002 MB / 1.497 GB, free: 310.7 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02343/2.864, allocations: 3.818 MB / 1.501 GB, free: 307.3 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03101/2.895, allocations: 15.87 MB / 1.516 GB, free: 291.3 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006505/2.901, allocations: 4.138 MB / 1.52 GB, free: 287.1 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.01214/2.913, allocations: 1.588 MB / 1.522 GB, free: 285.6 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003231/2.917, allocations: 0.4914 MB / 1.522 GB, free: 285.1 MB / 0.7292 GB Notification: Performance of SimCode: time 2.283e-06/2.917, allocations: 0 / 1.522 GB, free: 285.1 MB / 0.7292 GB Notification: Performance of Templates: time 0.4215/3.338, allocations: 145.2 MB / 1.664 GB, free: 140.9 MB / 0.7292 GB