Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Examples.FlowSystem.Simplified5.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.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002476/0.002476, allocations: 357.1 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.4/1.4, allocations: 165.8 MB / 182.5 MB, free: 5.543 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.646/3.646, allocations: 410.7 MB / 0.5995 GB, free: 15.22 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.00176/0.00176, allocations: 190.6 kB / 0.6662 GB, free: 6.926 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004729/0.0004732, allocations: 8 kB / 0.7423 GB, free: 8.973 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3308, allocations: 67.45 MB / 0.8081 GB, free: 28.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.FlowSystem.Simplified5): time 0.7901/1.121, allocations: 329.4 MB / 1.13 GB, free: 5.508 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.6537/1.775, allocations: 72.15 MB / 1.2 GB, free: 26.03 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01484/1.79, allocations: 375.7 kB / 1.201 GB, free: 26.03 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.01597/1.806, allocations: 4.45 MB / 1.205 GB, free: 26.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.04593/1.851, allocations: 13.54 MB / 1.218 GB, free: 25.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.03779/1.889, allocations: 11.6 MB / 1.23 GB, free: 24.03 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.03888/1.928, allocations: 32.65 MB / 1.261 GB, free: 12.72 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02075/1.949, allocations: 13.59 MB / 1.275 GB, free: 2.863 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02508/1.974, allocations: 11.45 MB / 1.286 GB, free: 9.594 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0259/2, allocations: 12.54 MB / 1.298 GB, free: 15.96 MB / 0.6199 GB Notification: Performance of NFPackage.collectConstants: time 0.004943/2.005, allocations: 0.9648 MB / 1.299 GB, free: 15 MB / 0.6199 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01491/2.02, allocations: 3.326 MB / 1.302 GB, free: 12.27 MB / 0.6199 GB Notification: Performance of NFScalarize.scalarize: time 0.007021/2.027, allocations: 4.018 MB / 1.306 GB, free: 9.566 MB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 0.006945/2.034, allocations: 2.633 MB / 1.309 GB, free: 7.805 MB / 0.6199 GB Notification: Performance of NFConvertDAE.convert: time 0.02792/2.062, allocations: 17.4 MB / 1.326 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/2.062, allocations: 2.625 kB / 1.326 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.846e-06/2.062, allocations: 0 / 1.326 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0005017/2.063, allocations: 4 kB / 1.326 GB, free: 9.039 MB / 0.6355 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.05037/2.113, allocations: 17.09 MB / 1.343 GB, free: 8.953 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/2.113, allocations: 8.031 kB / 1.343 GB, free: 8.945 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01259/2.126, allocations: 2.377 MB / 1.345 GB, free: 6.559 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03539/2.161, allocations: 12.1 MB / 1.357 GB, free: 10.96 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002087/2.163, allocations: 0.7896 MB / 1.357 GB, free: 10.17 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0034/2.167, allocations: 0.6797 MB / 1.358 GB, free: 9.492 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03887/2.205, allocations: 14.04 MB / 1.372 GB, free: 11.31 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001988/2.206, allocations: 7.938 kB / 1.372 GB, free: 11.3 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002586/2.208, allocations: 244 kB / 1.372 GB, free: 11.07 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001858/2.209, allocations: 148 kB / 1.372 GB, free: 10.92 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04721/2.256, allocations: 19 MB / 1.391 GB, free: 7.906 MB / 0.698 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.8058/3.062, allocations: 73.4 MB / 1.462 GB, free: 297.9 MB / 0.7137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02141/3.083, allocations: 10.62 MB / 1.473 GB, free: 291.9 MB / 0.7137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01751/3.101, allocations: 9.147 MB / 1.482 GB, free: 285.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 preOpt evalFunc (simulation): time 0.07033/3.171, allocations: 31.88 MB / 1.513 GB, free: 253.4 MB / 0.7137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01776/3.189, allocations: 8.883 MB / 1.522 GB, free: 244.6 MB / 0.7137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03302/3.222, allocations: 9.963 MB / 1.531 GB, free: 235.4 MB / 0.7137 GB Notification: Performance of pre-optimization done (n=387): time 3.038e-05/3.222, allocations: 0 / 1.531 GB, free: 235.4 MB / 0.7137 GB Notification: Performance of matching and sorting (n=573): time 1.16/4.382, allocations: 219.6 MB / 1.746 GB, free: 15.3 MB / 0.7137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.69e-05/4.382, allocations: 119.8 kB / 1.746 GB, free: 15.16 MB / 0.7137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0209/4.403, allocations: 12.28 MB / 1.758 GB, free: 2.988 MB / 0.7137 GB Notification: Performance of collectPreVariables (initialization): time 0.002611/4.405, allocations: 173.7 kB / 1.758 GB, free: 2.812 MB / 0.7137 GB Notification: Performance of collectInitialEqns (initialization): time 0.3489/4.754, allocations: 5.958 MB / 1.764 GB, free: 302.9 MB / 0.7137 GB Notification: Performance of collectInitialBindings (initialization): time 0.004007/4.758, allocations: 1.93 MB / 1.766 GB, free: 302.3 MB / 0.7137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0015/4.76, allocations: 146 kB / 1.766 GB, free: 302.3 MB / 0.7137 GB Notification: Performance of setup shared object (initialization): time 0.0005008/4.76, allocations: 0.5918 MB / 1.766 GB, free: 302 MB / 0.7137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02371/4.784, allocations: 9.399 MB / 1.776 GB, free: 300 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02504/4.809, allocations: 11.72 MB / 1.787 GB, free: 294 MB / 0.7137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02524/4.835, allocations: 10.2 MB / 1.797 GB, free: 290 MB / 0.7137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-05/4.835, allocations: 15.38 kB / 1.797 GB, free: 290 MB / 0.7137 GB Notification: Performance of matching and sorting (n=958) (initialization): time 0.8122/5.647, allocations: 139.3 MB / 1.933 GB, free: 177.6 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007191/5.648, allocations: 1.535 MB / 1.935 GB, free: 175.4 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.404e-05/5.648, allocations: 48 kB / 1.935 GB, free: 175.4 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248/6.896, allocations: 166.1 MB / 2.097 GB, free: 277.8 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0147/6.91, allocations: 1.947 MB / 2.099 GB, free: 277.8 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2529/7.163, allocations: 95.45 MB / 2.192 GB, free: 236.6 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01957/7.183, allocations: 1.213 MB / 2.193 GB, free: 235.5 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003938/7.187, allocations: 0.7645 MB / 2.194 GB, free: 234.7 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/7.187, allocations: 4 kB / 2.194 GB, free: 234.7 MB / 0.7137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.8028/7.99, allocations: 138.2 MB / 2.329 GB, free: 97.13 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001386/7.99, allocations: 44 kB / 2.329 GB, free: 97.09 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308/9.298, allocations: 165.8 MB / 2.491 GB, free: 255.7 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01317/9.311, allocations: 1.927 MB / 2.493 GB, free: 255.2 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2419/9.553, allocations: 99.56 MB / 2.59 GB, free: 157.2 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01831/9.571, allocations: 1.195 MB / 2.591 GB, free: 156.1 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003444/9.575, allocations: 0.7475 MB / 2.592 GB, free: 155.3 MB / 0.7137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * 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 (683): * Single equations (assignments): 669 * 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 {(32,82.2%) 39} * Non-linear torn systems: 2 {7 78,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.009841/9.584, allocations: 3.079 MB / 2.595 GB, free: 152.3 MB / 0.7137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003867/9.588, allocations: 1.195 MB / 2.596 GB, free: 151.7 MB / 0.7137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2607/9.849, allocations: 53.53 MB / 2.648 GB, free: 98.23 MB / 0.7137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.915e-05/9.849, allocations: 75.98 kB / 2.648 GB, free: 98.16 MB / 0.7137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001051/9.849, allocations: 32 kB / 2.648 GB, free: 98.13 MB / 0.7137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2353/10.08, allocations: 47.97 MB / 2.695 GB, free: 50.03 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.6567/10.74, allocations: 67.56 MB / 2.761 GB, free: 263.8 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.679e-05/10.74, allocations: 7.25 kB / 2.761 GB, free: 263.8 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009903/10.75, allocations: 1.356 MB / 2.763 GB, free: 263.8 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2808/11.03, allocations: 49.25 MB / 2.811 GB, free: 253.5 MB / 0.7137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001866/11.03, allocations: 209 kB / 2.811 GB, free: 253.5 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1051/11.14, allocations: 41.38 MB / 2.851 GB, free: 216.9 MB / 0.7137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.055e-05/11.14, allocations: 12.03 kB / 2.851 GB, free: 216.8 MB / 0.7137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2623/11.4, allocations: 60.49 MB / 2.91 GB, free: 157.1 MB / 0.7137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01354/11.42, allocations: 2.697 MB / 2.913 GB, free: 154.7 MB / 0.7137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007189/11.42, allocations: 128 kB / 2.913 GB, free: 154.6 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02676/11.45, allocations: 1.02 MB / 2.914 GB, free: 153.6 MB / 0.7137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004598/11.45, allocations: 497.3 kB / 2.915 GB, free: 153.1 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002778/11.46, allocations: 267.8 kB / 2.915 GB, free: 152.9 MB / 0.7137 GB Notification: Performance of sorting global known variables: time 0.02809/11.48, allocations: 8.327 MB / 2.923 GB, free: 144.6 MB / 0.7137 GB Notification: Performance of sort global known variables: time 1.727e-06/11.48, allocations: 0 / 2.923 GB, free: 144.6 MB / 0.7137 GB Notification: Performance of remove unused functions: time 0.04135/11.53, allocations: 6.886 MB / 2.93 GB, free: 137.8 MB / 0.7137 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 (504): * Single equations (assignments): 482 * 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 {(31,84.4%) 40} * Non-linear torn systems: 3 {9 78,1 1,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.003978/11.53, allocations: 1.294 MB / 2.931 GB, free: 136.8 MB / 0.7137 GB Notification: Performance of simCode: created initialization part: time 0.1016/11.63, allocations: 38.37 MB / 2.968 GB, free: 98.65 MB / 0.7137 GB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/11.63, allocations: 0 / 2.968 GB, free: 98.65 MB / 0.7137 GB Notification: Performance of simCode: created simulation system equations: time 0.02809/11.66, allocations: 10.88 MB / 2.979 GB, free: 87.84 MB / 0.7137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03634/11.7, allocations: 6.375 MB / 2.985 GB, free: 81.93 MB / 0.7137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05936/11.76, allocations: 30.88 MB / 3.015 GB, free: 51.04 MB / 0.7137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01064/11.77, allocations: 7.334 MB / 3.023 GB, free: 43.66 MB / 0.7137 GB Notification: Performance of simCode: alias equations: time 0.02164/11.79, allocations: 3.718 MB / 3.026 GB, free: 39.93 MB / 0.7137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004578/11.79, allocations: 0.9482 MB / 3.027 GB, free: 38.99 MB / 0.7137 GB Notification: Performance of SimCode: time 2.396e-06/11.79, allocations: 4 kB / 3.027 GB, free: 38.98 MB / 0.7137 GB Notification: Performance of Templates: time 1.554/13.35, allocations: 393.9 MB / 3.412 GB, free: 247.7 MB / 0.7137 GB