Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Examples.FlowSystem.Simplified4.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.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003844/0.003848, allocations: 356.5 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.509/1.509, allocations: 165.8 MB / 182.5 MB, free: 5.566 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.636/3.636, allocations: 410.8 MB / 0.5995 GB, free: 15.16 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.001755/0.001755, allocations: 209.5 kB / 0.6662 GB, free: 6.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004706/0.0004707, allocations: 16 kB / 0.7423 GB, free: 8.961 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3272, allocations: 67.44 MB / 0.8081 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.FlowSystem.Simplified4): time 0.8587/1.186, allocations: 329.4 MB / 1.13 GB, free: 5.551 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.5576/1.744, allocations: 72.15 MB / 1.2 GB, free: 25.91 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01632/1.76, allocations: 371.9 kB / 1.201 GB, free: 25.91 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.01696/1.777, allocations: 4.457 MB / 1.205 GB, free: 25.9 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.04931/1.826, allocations: 13.54 MB / 1.218 GB, free: 25.47 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.03903/1.865, allocations: 11.61 MB / 1.23 GB, free: 23.89 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.04629/1.912, allocations: 38.24 MB / 1.267 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02565/1.937, allocations: 14.41 MB / 1.281 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02993/1.967, allocations: 12.44 MB / 1.293 GB, free: 3.844 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02894/1.996, allocations: 13.52 MB / 1.306 GB, free: 9.383 MB / 0.6199 GB Notification: Performance of NFPackage.collectConstants: time 0.005673/2.002, allocations: 0.9961 MB / 1.307 GB, free: 8.387 MB / 0.6199 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01825/2.02, allocations: 3.764 MB / 1.311 GB, free: 5.336 MB / 0.6199 GB Notification: Performance of NFScalarize.scalarize: time 0.007958/2.028, allocations: 4.252 MB / 1.315 GB, free: 2.449 MB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 0.008198/2.037, allocations: 2.934 MB / 1.318 GB, free: 0.5 MB / 0.6199 GB Notification: Performance of NFConvertDAE.convert: time 0.03258/2.069, allocations: 19.27 MB / 1.337 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.934e-06/2.069, allocations: 4 kB / 1.337 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.769e-06/2.069, allocations: 0 / 1.337 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0004704/2.07, allocations: 4 kB / 1.337 GB, free: 15.32 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1775 * Number of variables: 1775 Notification: Performance of Generate backend data structure: time 0.05314/2.123, allocations: 18.16 MB / 1.355 GB, free: 13.21 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/2.123, allocations: 8.031 kB / 1.355 GB, free: 13.21 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01194/2.135, allocations: 2.303 MB / 1.357 GB, free: 10.88 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03971/2.175, allocations: 13.4 MB / 1.37 GB, free: 13.75 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001524/2.176, allocations: 0.7323 MB / 1.371 GB, free: 13.02 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003508/2.18, allocations: 0.7978 MB / 1.371 GB, free: 12.22 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04072/2.22, allocations: 14.89 MB / 1.386 GB, free: 13.11 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002149/2.221, allocations: 15.88 kB / 1.386 GB, free: 13.09 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002252/2.223, allocations: 285.9 kB / 1.386 GB, free: 12.81 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002272/2.223, allocations: 192 kB / 1.386 GB, free: 12.62 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04826/2.271, allocations: 19.37 MB / 1.405 GB, free: 9.238 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 removeSimpleEquations (simulation): time 0.8221/3.094, allocations: 77.53 MB / 1.481 GB, free: 279.1 MB / 0.7137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02051/3.114, allocations: 10.61 MB / 1.491 GB, free: 273 MB / 0.7137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01603/3.13, allocations: 9.128 MB / 1.5 GB, free: 263.9 MB / 0.7137 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.06952/3.2, allocations: 32.74 MB / 1.532 GB, free: 231.1 MB / 0.7137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01656/3.216, allocations: 8.858 MB / 1.541 GB, free: 222.2 MB / 0.7137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03168/3.248, allocations: 9.844 MB / 1.551 GB, free: 213.1 MB / 0.7137 GB Notification: Performance of pre-optimization done (n=421): time 2.675e-05/3.248, allocations: 0 / 1.551 GB, free: 213.1 MB / 0.7137 GB Notification: Performance of matching and sorting (n=605): time 1.017/4.265, allocations: 197.2 MB / 1.743 GB, free: 15.22 MB / 0.7137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.834e-05/4.265, allocations: 116.2 kB / 1.743 GB, free: 15.09 MB / 0.7137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02552/4.291, allocations: 13.02 MB / 1.756 GB, free: 2.207 MB / 0.7137 GB Notification: Performance of collectPreVariables (initialization): time 0.002686/4.294, allocations: 181.7 kB / 1.756 GB, free: 2.023 MB / 0.7137 GB Notification: Performance of collectInitialEqns (initialization): time 0.3637/4.657, allocations: 6.608 MB / 1.763 GB, free: 301.7 MB / 0.7137 GB Notification: Performance of collectInitialBindings (initialization): time 0.004185/4.662, allocations: 2.048 MB / 1.765 GB, free: 300.5 MB / 0.7137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001987/4.664, allocations: 155.2 kB / 1.765 GB, free: 300.4 MB / 0.7137 GB Notification: Performance of setup shared object (initialization): time 0.0006416/4.664, allocations: 0.6148 MB / 1.765 GB, free: 300 MB / 0.7137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0246/4.689, allocations: 9.361 MB / 1.774 GB, free: 296.6 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02614/4.715, allocations: 11.88 MB / 1.786 GB, free: 290.3 MB / 0.7137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02525/4.74, allocations: 10.27 MB / 1.796 GB, free: 286.3 MB / 0.7137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.284e-05/4.741, allocations: 14.19 kB / 1.796 GB, free: 286.3 MB / 0.7137 GB Notification: Performance of matching and sorting (n=1029) (initialization): time 0.7183/5.459, allocations: 123.9 MB / 1.917 GB, free: 188.5 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 0.001098/5.46, allocations: 1.734 MB / 1.919 GB, free: 186 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001056/5.46, allocations: 52 kB / 1.919 GB, free: 185.9 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.768/6.228, allocations: 143.5 MB / 2.059 GB, free: 42.25 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01338/6.242, allocations: 2.077 MB / 2.061 GB, free: 40.17 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5627/6.804, allocations: 78.76 MB / 2.138 GB, free: 264.5 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01981/6.824, allocations: 1.248 MB / 2.139 GB, free: 264.4 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003685/6.828, allocations: 0.7859 MB / 2.14 GB, free: 264.3 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/6.828, allocations: 6.641 kB / 2.14 GB, free: 264.3 MB / 0.7137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.7018/7.53, allocations: 122.8 MB / 2.26 GB, free: 154.2 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001529/7.53, allocations: 56.03 kB / 2.26 GB, free: 154.1 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158/8.687, allocations: 143.3 MB / 2.4 GB, free: 261.6 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01387/8.701, allocations: 2.047 MB / 2.402 GB, free: 261.6 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2176/8.919, allocations: 82.72 MB / 2.483 GB, free: 237.4 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01891/8.938, allocations: 1.231 MB / 2.484 GB, free: 236.3 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003416/8.941, allocations: 0.7568 MB / 2.484 GB, free: 235.5 MB / 0.7137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * 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 (769): * Single equations (assignments): 755 * 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: 3 * 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: 1 {(28,89.3%) 28} * Non-linear torn systems: 2 {5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.01056/8.952, allocations: 3.336 MB / 2.488 GB, free: 232.2 MB / 0.7137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004157/8.956, allocations: 1.276 MB / 2.489 GB, free: 231.6 MB / 0.7137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2279/9.184, allocations: 49.32 MB / 2.537 GB, free: 182.9 MB / 0.7137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001035/9.184, allocations: 79.95 kB / 2.537 GB, free: 182.8 MB / 0.7137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001129/9.184, allocations: 28 kB / 2.537 GB, free: 182.8 MB / 0.7137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2089/9.393, allocations: 43.68 MB / 2.58 GB, free: 139.3 MB / 0.7137 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.2496/9.643, allocations: 64.22 MB / 2.643 GB, free: 75.14 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.636e-05/9.643, allocations: 4 kB / 2.643 GB, free: 75.14 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009361/9.652, allocations: 1.397 MB / 2.644 GB, free: 73.74 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2269/9.879, allocations: 42.76 MB / 2.686 GB, free: 30.93 MB / 0.7137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001907/9.881, allocations: 203.9 kB / 2.686 GB, free: 30.73 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4689/10.35, allocations: 35.56 MB / 2.721 GB, free: 279.6 MB / 0.7137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.023e-05/10.35, allocations: 11.31 kB / 2.721 GB, free: 279.6 MB / 0.7137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2486/10.6, allocations: 56.37 MB / 2.776 GB, free: 260.2 MB / 0.7137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00929/10.61, allocations: 2.845 MB / 2.779 GB, free: 257.6 MB / 0.7137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003814/10.61, allocations: 136 kB / 2.779 GB, free: 257.4 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01488/10.63, allocations: 1.063 MB / 2.78 GB, free: 256.5 MB / 0.7137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002747/10.63, allocations: 0.493 MB / 2.78 GB, free: 256 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001355/10.63, allocations: 295.3 kB / 2.78 GB, free: 255.7 MB / 0.7137 GB Notification: Performance of sorting global known variables: time 0.01743/10.65, allocations: 8.81 MB / 2.789 GB, free: 246.9 MB / 0.7137 GB Notification: Performance of sort global known variables: time 1.165e-06/10.65, allocations: 0 / 2.789 GB, free: 246.9 MB / 0.7137 GB Notification: Performance of remove unused functions: time 0.04475/10.69, allocations: 7.318 MB / 2.796 GB, free: 239.8 MB / 0.7137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 8 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * 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 (541): * Single equations (assignments): 519 * 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: 4 * 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: 1 {(28,89.3%) 28} * Non-linear torn systems: 3 {9 78,5 80,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004386/10.7, allocations: 1.534 MB / 2.798 GB, free: 238.6 MB / 0.7137 GB Notification: Performance of simCode: created initialization part: time 0.09715/10.8, allocations: 37.73 MB / 2.835 GB, free: 201 MB / 0.7137 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-05/10.8, allocations: 4 kB / 2.835 GB, free: 201 MB / 0.7137 GB Notification: Performance of simCode: created simulation system equations: time 0.02698/10.82, allocations: 10.67 MB / 2.845 GB, free: 190.4 MB / 0.7137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03791/10.86, allocations: 6.934 MB / 2.852 GB, free: 184 MB / 0.7137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0602/10.92, allocations: 33.1 MB / 2.884 GB, free: 151.1 MB / 0.7137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01178/10.93, allocations: 7.816 MB / 2.892 GB, free: 143.2 MB / 0.7137 GB Notification: Performance of simCode: alias equations: time 0.02303/10.96, allocations: 4.054 MB / 2.896 GB, free: 139.2 MB / 0.7137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004861/10.96, allocations: 1.034 MB / 2.897 GB, free: 138.1 MB / 0.7137 GB Notification: Performance of SimCode: time 2.074e-06/10.96, allocations: 0 / 2.897 GB, free: 138.1 MB / 0.7137 GB Notification: Performance of Templates: time 1.107/12.07, allocations: 401.5 MB / 3.289 GB, free: 39.88 MB / 0.7137 GB