Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Examples.FlowSystem.Simplified6.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.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002442/0.002441, 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.501/1.501, allocations: 165.8 MB / 182.5 MB, free: 5.422 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.703/3.703, allocations: 410.8 MB / 0.5995 GB, free: 15.09 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.001703/0.001703, allocations: 202.1 kB / 0.6662 GB, free: 6.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004555/0.0004558, allocations: 16 kB / 0.7423 GB, free: 8.953 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3206, allocations: 67.44 MB / 0.8081 GB, free: 28.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.FlowSystem.Simplified6): time 0.7326/1.053, allocations: 329.5 MB / 1.13 GB, free: 5.262 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.5769/1.63, allocations: 72.15 MB / 1.2 GB, free: 26.07 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01814/1.648, allocations: 376.8 kB / 1.201 GB, free: 26.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0254/1.674, allocations: 4.454 MB / 1.205 GB, free: 26.05 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.05723/1.731, allocations: 13.54 MB / 1.218 GB, free: 25.62 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.03741/1.769, allocations: 11.6 MB / 1.23 GB, free: 24.03 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.03821/1.807, allocations: 32.64 MB / 1.262 GB, free: 12.72 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01858/1.825, allocations: 12.61 MB / 1.274 GB, free: 3.465 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02269/1.848, allocations: 9.719 MB / 1.283 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01933/1.867, allocations: 9.048 MB / 1.292 GB, free: 4.016 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.003167/1.871, allocations: 0.4961 MB / 1.293 GB, free: 3.52 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01387/1.885, allocations: 2.849 MB / 1.295 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.005501/1.89, allocations: 2.893 MB / 1.298 GB, free: 15.1 MB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 0.006557/1.897, allocations: 2.631 MB / 1.301 GB, free: 13.34 MB / 0.6199 GB Notification: Performance of NFConvertDAE.convert: time 0.02415/1.921, allocations: 14.42 MB / 1.315 GB, free: 1.113 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/1.921, allocations: 3.938 kB / 1.315 GB, free: 1.109 MB / 0.6199 GB Notification: Performance of FrontEnd: time 2.46e-06/1.921, allocations: 0 / 1.315 GB, free: 1.109 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 0.0003546/1.921, allocations: 0 / 1.315 GB, free: 1.109 MB / 0.6199 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.03558/1.957, allocations: 13.8 MB / 1.328 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/1.957, allocations: 12.03 kB / 1.328 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01038/1.967, allocations: 2.218 MB / 1.331 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03031/1.998, allocations: 11.08 MB / 1.341 GB, free: 9.691 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002016/2, allocations: 0.7795 MB / 1.342 GB, free: 8.91 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001919/2.002, allocations: 0.6894 MB / 1.343 GB, free: 8.223 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0218/2.024, allocations: 8.952 MB / 1.352 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001574/2.024, allocations: 23.81 kB / 1.352 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009506/2.025, allocations: 256 kB / 1.352 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001804/2.025, allocations: 152 kB / 1.352 GB, free: 14.53 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02115/2.046, allocations: 7.424 MB / 1.359 GB, free: 7.098 MB / 0.6667 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.09403/2.14, allocations: 50.44 MB / 1.408 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3402/2.48, allocations: 5.521 MB / 1.414 GB, free: 336 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008986/2.489, allocations: 4.002 MB / 1.418 GB, free: 335.2 MB / 0.7136 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 evalFunc (simulation): time 0.03463/2.524, allocations: 13.44 MB / 1.431 GB, free: 329 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007624/2.532, allocations: 3.735 MB / 1.435 GB, free: 327.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009282/2.541, allocations: 1.864 MB / 1.436 GB, free: 327.3 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=320): time 1.199e-05/2.541, allocations: 0 / 1.436 GB, free: 327.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=506): time 0.2134/2.754, allocations: 53.61 MB / 1.489 GB, free: 284.8 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/2.755, allocations: 107.4 kB / 1.489 GB, free: 284.6 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02122/2.776, allocations: 12.5 MB / 1.501 GB, free: 272.2 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.001323/2.777, allocations: 169.6 kB / 1.501 GB, free: 272.1 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.006353/2.784, allocations: 6.158 MB / 1.507 GB, free: 266.2 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.002188/2.786, allocations: 1.714 MB / 1.509 GB, free: 264.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007893/2.787, allocations: 140 kB / 1.509 GB, free: 264.3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0003814/2.787, allocations: 0.5964 MB / 1.51 GB, free: 263.7 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01375/2.801, allocations: 5.147 MB / 1.515 GB, free: 258.6 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01538/2.816, allocations: 7.812 MB / 1.522 GB, free: 249.6 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01491/2.831, allocations: 5.872 MB / 1.528 GB, free: 243.7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.617e-05/2.831, allocations: 16 kB / 1.528 GB, free: 243.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=953) (initialization): time 0.05009/2.881, allocations: 17.21 MB / 1.545 GB, free: 226.4 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008522/2.882, allocations: 1.927 MB / 1.547 GB, free: 223.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.524e-05/2.882, allocations: 64 kB / 1.547 GB, free: 223.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01915/2.901, allocations: 4.649 MB / 1.551 GB, free: 218.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01337/2.915, allocations: 2.043 MB / 1.553 GB, free: 216.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01476/2.93, allocations: 10.9 MB / 1.564 GB, free: 205.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01485/2.945, allocations: 1.227 MB / 1.565 GB, free: 204.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001821/2.946, allocations: 467.7 kB / 1.566 GB, free: 204.1 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/2.946, allocations: 4 kB / 1.566 GB, free: 204.1 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04277/2.989, allocations: 16.1 MB / 1.581 GB, free: 187.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000149/2.989, allocations: 60 kB / 1.581 GB, free: 187.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01562/3.005, allocations: 4.384 MB / 1.586 GB, free: 183.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01191/3.017, allocations: 2.016 MB / 1.588 GB, free: 181.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02833/3.045, allocations: 15.06 MB / 1.602 GB, free: 166.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02479/3.07, allocations: 1.213 MB / 1.604 GB, free: 164.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002621/3.073, allocations: 431.8 kB / 1.604 GB, free: 164.4 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 269 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,stepPump.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,pumpHea.stage,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (748): * Single equations (assignments): 735 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 80,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.01268/3.086, allocations: 3.097 MB / 1.607 GB, free: 161.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004201/3.09, allocations: 1.192 MB / 1.608 GB, free: 160.1 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03958/3.129, allocations: 14.97 MB / 1.623 GB, free: 145 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.434e-05/3.13, allocations: 59.98 kB / 1.623 GB, free: 145 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/3.13, allocations: 0 / 1.623 GB, free: 145 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03245/3.162, allocations: 12.29 MB / 1.635 GB, free: 132.6 MB / 0.7136 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.06091/3.223, allocations: 26.33 MB / 1.66 GB, free: 106 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.661e-05/3.223, allocations: 12.03 kB / 1.661 GB, free: 106 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008151/3.231, allocations: 1.237 MB / 1.662 GB, free: 104.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01249/3.244, allocations: 3.266 MB / 1.665 GB, free: 101.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009325/3.245, allocations: 171.8 kB / 1.665 GB, free: 101.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01143/3.256, allocations: 9.577 MB / 1.674 GB, free: 91.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/3.256, allocations: 12.03 kB / 1.674 GB, free: 91.55 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04873/3.305, allocations: 20.2 MB / 1.694 GB, free: 71.05 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007346/3.312, allocations: 2.3 MB / 1.696 GB, free: 68.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002503/3.315, allocations: 104 kB / 1.697 GB, free: 68.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01125/3.326, allocations: 1.029 MB / 1.698 GB, free: 67.58 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009952/3.327, allocations: 399.9 kB / 1.698 GB, free: 67.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007337/3.328, allocations: 239.8 kB / 1.698 GB, free: 66.95 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.01485/3.343, allocations: 8.45 MB / 1.706 GB, free: 58.55 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.499e-06/3.343, allocations: 0 / 1.706 GB, free: 58.55 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.02951/3.372, allocations: 5.419 MB / 1.712 GB, free: 53.21 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,stepPump.y,stepPump.pulseStart,pumpHea.stage,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (441): * Single equations (assignments): 420 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {9 78,1 1,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.003067/3.375, allocations: 1.257 MB / 1.713 GB, free: 52.03 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.04998/3.425, allocations: 19.96 MB / 1.732 GB, free: 31.99 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.968e-06/3.425, allocations: 0 / 1.732 GB, free: 31.99 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.01495/3.44, allocations: 5.692 MB / 1.738 GB, free: 26.29 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0313/3.472, allocations: 6.058 MB / 1.744 GB, free: 20.36 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7518/4.224, allocations: 28.07 MB / 1.771 GB, free: 308.8 MB / 0.7137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0132/4.237, allocations: 7.057 MB / 1.778 GB, free: 307.9 MB / 0.7137 GB Notification: Performance of simCode: alias equations: time 0.02209/4.259, allocations: 3.832 MB / 1.782 GB, free: 307.7 MB / 0.7137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00459/4.264, allocations: 0.9144 MB / 1.783 GB, free: 307.7 MB / 0.7137 GB Notification: Performance of SimCode: time 1.747e-06/4.264, allocations: 0 / 1.783 GB, free: 307.7 MB / 0.7137 GB Notification: Performance of Templates: time 0.5046/4.768, allocations: 249.2 MB / 2.026 GB, free: 85.33 MB / 0.7137 GB