Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Examples.FlowSystem.Simplified3.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.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Examples.FlowSystem.Simplified3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00253/0.00253, allocations: 357.5 kB / 16.59 MB, free: 5.562 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.465/1.465, allocations: 165.8 MB / 183.1 MB, free: 5.328 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.587/3.587, allocations: 410.7 MB / 0.6001 GB, free: 15.17 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.001747/0.001747, allocations: 201.6 kB / 0.6668 GB, free: 6.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007375/0.0007377, allocations: 12 kB / 0.7429 GB, free: 8.98 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4369/0.4377, allocations: 67.44 MB / 0.8087 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.FlowSystem.Simplified3): time 0.9949/1.433, allocations: 329.4 MB / 1.13 GB, free: 5.562 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.6582/2.091, allocations: 72.14 MB / 1.201 GB, free: 25.93 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01598/2.107, allocations: 371.2 kB / 1.201 GB, free: 25.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.01986/2.127, allocations: 4.454 MB / 1.206 GB, free: 25.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.05317/2.18, allocations: 13.56 MB / 1.219 GB, free: 25.49 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.04375/2.224, allocations: 11.6 MB / 1.23 GB, free: 23.88 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.05996/2.284, allocations: 42.37 MB / 1.271 GB, free: 6.449 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03261/2.317, allocations: 15.8 MB / 1.287 GB, free: 9.957 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03729/2.354, allocations: 13.52 MB / 1.3 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03924/2.393, allocations: 14.63 MB / 1.314 GB, free: 3.484 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.00818/2.401, allocations: 1.065 MB / 1.315 GB, free: 2.422 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02272/2.424, allocations: 3.712 MB / 1.319 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.01207/2.436, allocations: 4.905 MB / 1.324 GB, free: 12 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.01109/2.447, allocations: 3.382 MB / 1.327 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0433/2.491, allocations: 22.08 MB / 1.349 GB, free: 3.938 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.994e-06/2.491, allocations: 6.734 kB / 1.349 GB, free: 3.934 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.846e-06/2.491, allocations: 0 / 1.349 GB, free: 3.934 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0008965/2.492, allocations: 0 / 1.349 GB, free: 3.934 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: 2061 * Number of variables: 2061 Notification: Performance of Generate backend data structure: time 0.08248/2.574, allocations: 20.67 MB / 1.369 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/2.574, allocations: 8.031 kB / 1.369 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01545/2.59, allocations: 2.385 MB / 1.371 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05044/2.64, allocations: 15.1 MB / 1.386 GB, free: 14.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001133/2.641, allocations: 0.7169 MB / 1.387 GB, free: 13.48 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005468/2.647, allocations: 0.9917 MB / 1.388 GB, free: 12.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05506/2.702, allocations: 17.23 MB / 1.404 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003771/2.702, allocations: 15.84 kB / 1.405 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003879/2.706, allocations: 358.6 kB / 1.405 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003111/2.707, allocations: 219.9 kB / 1.405 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.8095/3.516, allocations: 20.54 MB / 1.425 GB, free: 322.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 removeSimpleEquations (simulation): time 0.1842/3.7, allocations: 82.7 MB / 1.506 GB, free: 256.9 MB / 0.7137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02768/3.728, allocations: 12.33 MB / 1.518 GB, free: 244.8 MB / 0.7137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0217/3.75, allocations: 9.821 MB / 1.528 GB, free: 235 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.1037/3.854, allocations: 35.34 MB / 1.562 GB, free: 199.5 MB / 0.7137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02383/3.878, allocations: 9.684 MB / 1.571 GB, free: 189.8 MB / 0.7137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04988/3.927, allocations: 9.995 MB / 1.581 GB, free: 180.5 MB / 0.7137 GB Notification: Performance of pre-optimization done (n=555): time 3.633e-05/3.928, allocations: 0 / 1.581 GB, free: 180.5 MB / 0.7137 GB Notification: Performance of matching and sorting (n=764): time 2.615/6.543, allocations: 203.9 MB / 1.78 GB, free: 289.8 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006283/6.543, allocations: 2.585 MB / 1.783 GB, free: 286.8 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03342/6.577, allocations: 15.45 MB / 1.798 GB, free: 281.9 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 0.004083/6.581, allocations: 244.1 kB / 1.798 GB, free: 281.8 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.01012/6.591, allocations: 7.804 MB / 1.806 GB, free: 277.1 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.005812/6.597, allocations: 2.664 MB / 1.808 GB, free: 275.6 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003123/6.6, allocations: 203.7 kB / 1.809 GB, free: 275.5 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 0.0008116/6.601, allocations: 0.7365 MB / 1.809 GB, free: 275 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03232/6.633, allocations: 11.02 MB / 1.82 GB, free: 270.6 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03747/6.671, allocations: 14.45 MB / 1.834 GB, free: 260.6 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03649/6.707, allocations: 12.27 MB / 1.846 GB, free: 254.1 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.629e-05/6.707, allocations: 15 kB / 1.846 GB, free: 254.1 MB / 0.7138 GB Notification: Performance of matching and sorting (n=1386) (initialization): time 1.274/7.981, allocations: 128.1 MB / 1.971 GB, free: 128.1 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009975/7.982, allocations: 1.793 MB / 1.973 GB, free: 125.5 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002994/7.983, allocations: 103.9 kB / 1.973 GB, free: 125.4 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8/9.783, allocations: 143.5 MB / 2.113 GB, free: 272.7 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0261/9.809, allocations: 2.732 MB / 2.116 GB, free: 272.6 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2804/10.09, allocations: 78.76 MB / 2.193 GB, free: 214.4 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03185/10.12, allocations: 1.402 MB / 2.194 GB, free: 213.2 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005064/10.13, allocations: 0.8641 MB / 2.195 GB, free: 212.3 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/10.13, allocations: 4 kB / 2.195 GB, free: 212.3 MB / 0.7138 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.263/11.39, allocations: 126.7 MB / 2.319 GB, free: 85.62 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003803/11.39, allocations: 107.8 kB / 2.319 GB, free: 85.52 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821/13.21, allocations: 143.3 MB / 2.459 GB, free: 249.6 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02388/13.23, allocations: 2.709 MB / 2.462 GB, free: 248.9 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2807/13.52, allocations: 82.75 MB / 2.542 GB, free: 169.1 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03107/13.55, allocations: 1.387 MB / 2.544 GB, free: 167.8 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005007/13.55, allocations: 0.8333 MB / 2.544 GB, free: 166.9 MB / 0.7138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * 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 (1062): * Single equations (assignments): 984 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * 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.01526/13.57, allocations: 4.24 MB / 2.549 GB, free: 162.7 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006468/13.57, allocations: 1.535 MB / 2.55 GB, free: 162 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3705/13.94, allocations: 51.61 MB / 2.601 GB, free: 110.5 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3434/14.29, allocations: 45.63 MB / 2.645 GB, free: 64.75 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001097/14.29, allocations: 0 / 2.645 GB, free: 64.75 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01286/14.3, allocations: 3.342 MB / 2.648 GB, free: 61.63 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006697/14.31, allocations: 263.9 kB / 2.649 GB, free: 61.38 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02555/14.33, allocations: 1.218 MB / 2.65 GB, free: 60.18 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006871/14.34, allocations: 0.9858 MB / 2.651 GB, free: 59.19 MB / 0.7138 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1216/14.46, allocations: 26.74 MB / 2.677 GB, free: 32.6 MB / 0.7138 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.5296/14.99, allocations: 29.98 MB / 2.706 GB, free: 266.7 MB / 0.7138 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02634/15.02, allocations: 9.375 MB / 2.715 GB, free: 263.3 MB / 0.7138 GB Notification: Performance of sorting global known variables: time 0.02368/15.04, allocations: 10.46 MB / 2.726 GB, free: 260 MB / 0.7138 GB Notification: Performance of Backend: time 1.042e-06/15.04, allocations: 2.344 kB / 2.726 GB, free: 260 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.1457/15.19, allocations: 38.25 MB / 2.763 GB, free: 245.7 MB / 0.7138 GB Notification: Performance of SimCode: time 0.1074/15.29, allocations: 42.64 MB / 2.805 GB, free: 213.5 MB / 0.7138 GB Notification: Performance of Templates: time 1.429/16.72, allocations: 461.2 MB / 3.255 GB, free: 60.81 MB / 0.7138 GB