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.00272/0.002728, allocations: 358.6 kB / 16.59 MB, free: 5.566 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.372/1.372, allocations: 165.8 MB / 183.1 MB, free: 5.496 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.61/3.61, allocations: 410.7 MB / 0.6001 GB, free: 15.18 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.00173/0.00173, allocations: 195 kB / 0.6668 GB, free: 6.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004626/0.0004628, allocations: 12 kB / 0.7429 GB, free: 8.98 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3912, allocations: 67.44 MB / 0.8087 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.FlowSystem.Simplified4): time 0.8492/1.24, allocations: 329.4 MB / 1.13 GB, free: 5.566 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.6338/1.874, allocations: 72.16 MB / 1.201 GB, free: 26.12 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01563/1.89, allocations: 371.8 kB / 1.201 GB, free: 26.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.01964/1.91, allocations: 4.452 MB / 1.206 GB, free: 26.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0534/1.963, allocations: 13.55 MB / 1.219 GB, free: 25.68 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.04411/2.007, allocations: 11.59 MB / 1.23 GB, free: 24.11 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.05496/2.062, allocations: 38.24 MB / 1.267 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0282/2.091, allocations: 14.41 MB / 1.282 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03495/2.126, allocations: 12.44 MB / 1.294 GB, free: 4.039 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03709/2.163, allocations: 13.52 MB / 1.307 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.009/2.172, allocations: 0.9961 MB / 1.308 GB, free: 8.578 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05563/2.227, allocations: 3.764 MB / 1.312 GB, free: 5.523 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.01673/2.244, allocations: 4.247 MB / 1.316 GB, free: 2.641 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.01218/2.256, allocations: 2.937 MB / 1.319 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.03851/2.295, allocations: 19.27 MB / 1.337 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/2.295, allocations: 0 / 1.337 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.354e-06/2.295, allocations: 0 / 1.337 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.000746/2.296, allocations: 0 / 1.337 GB, free: 15.39 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.07533/2.371, allocations: 18.16 MB / 1.355 GB, free: 13.27 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/2.371, allocations: 12.02 kB / 1.355 GB, free: 13.26 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01685/2.388, allocations: 2.297 MB / 1.357 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04598/2.434, allocations: 13.41 MB / 1.37 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002156/2.436, allocations: 0.7254 MB / 1.371 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00459/2.441, allocations: 0.793 MB / 1.372 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04953/2.491, allocations: 14.89 MB / 1.386 GB, free: 13.17 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003298/2.491, allocations: 19.86 kB / 1.387 GB, free: 13.15 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003474/2.494, allocations: 292.5 kB / 1.387 GB, free: 12.87 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002882/2.495, allocations: 184 kB / 1.387 GB, free: 12.69 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05714/2.552, allocations: 19.36 MB / 1.406 GB, free: 9.309 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.9316/3.483, allocations: 77.53 MB / 1.482 GB, free: 280.6 MB / 0.7137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02547/3.509, allocations: 10.62 MB / 1.492 GB, free: 274.3 MB / 0.7137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02077/3.53, allocations: 9.132 MB / 1.501 GB, free: 265.2 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.09362/3.623, allocations: 32.75 MB / 1.533 GB, free: 232.4 MB / 0.7137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02176/3.645, allocations: 8.857 MB / 1.542 GB, free: 223.5 MB / 0.7137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04921/3.695, allocations: 9.838 MB / 1.551 GB, free: 214.4 MB / 0.7137 GB Notification: Performance of pre-optimization done (n=421): time 3.407e-05/3.695, allocations: 0 / 1.551 GB, free: 214.4 MB / 0.7137 GB Notification: Performance of matching and sorting (n=605): time 1.782/5.476, allocations: 197.2 MB / 1.744 GB, free: 16.53 MB / 0.7137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.172e-05/5.476, allocations: 120 kB / 1.744 GB, free: 16.4 MB / 0.7137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0288/5.505, allocations: 13.02 MB / 1.757 GB, free: 3.516 MB / 0.7137 GB Notification: Performance of collectPreVariables (initialization): time 0.003679/5.509, allocations: 181.7 kB / 1.757 GB, free: 3.332 MB / 0.7137 GB Notification: Performance of collectInitialEqns (initialization): time 0.4232/5.932, allocations: 6.606 MB / 1.763 GB, free: 302.7 MB / 0.7137 GB Notification: Performance of collectInitialBindings (initialization): time 0.005384/5.938, allocations: 2.049 MB / 1.765 GB, free: 301.8 MB / 0.7137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003585/5.941, allocations: 155.6 kB / 1.765 GB, free: 301.8 MB / 0.7137 GB Notification: Performance of setup shared object (initialization): time 0.0007871/5.942, allocations: 0.6156 MB / 1.766 GB, free: 301.5 MB / 0.7137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03111/5.973, allocations: 9.362 MB / 1.775 GB, free: 299.3 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03264/6.006, allocations: 11.87 MB / 1.787 GB, free: 293 MB / 0.7137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03918/6.045, allocations: 10.27 MB / 1.797 GB, free: 288.9 MB / 0.7137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.468e-05/6.045, allocations: 14.59 kB / 1.797 GB, free: 288.9 MB / 0.7137 GB Notification: Performance of matching and sorting (n=1029) (initialization): time 1.306/7.351, allocations: 123.9 MB / 1.918 GB, free: 190.9 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 0.001016/7.352, allocations: 1.738 MB / 1.919 GB, free: 188.5 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001377/7.352, allocations: 52 kB / 1.919 GB, free: 188.4 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441/8.794, allocations: 143.5 MB / 2.06 GB, free: 44.73 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02125/8.815, allocations: 2.067 MB / 2.062 GB, free: 42.66 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7193/9.534, allocations: 78.77 MB / 2.138 GB, free: 266.5 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03141/9.566, allocations: 1.241 MB / 2.14 GB, free: 266.3 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004926/9.571, allocations: 0.7831 MB / 2.14 GB, free: 266.3 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/9.571, allocations: 3.875 kB / 2.14 GB, free: 266.3 MB / 0.7137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.327/10.9, allocations: 122.8 MB / 2.26 GB, free: 158 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000163/10.9, allocations: 56.06 kB / 2.26 GB, free: 157.9 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827/12.73, allocations: 143.3 MB / 2.4 GB, free: 262.8 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01912/12.74, allocations: 2.048 MB / 2.402 GB, free: 262.8 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.304/13.05, allocations: 82.72 MB / 2.483 GB, free: 239.9 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03003/13.08, allocations: 1.237 MB / 2.484 GB, free: 239.7 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004723/13.08, allocations: 0.7531 MB / 2.485 GB, free: 239.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.01449/13.1, allocations: 3.336 MB / 2.488 GB, free: 236.7 MB / 0.7137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006709/13.1, allocations: 1.28 MB / 2.49 GB, free: 236.1 MB / 0.7137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3722/13.48, allocations: 49.32 MB / 2.538 GB, free: 187.8 MB / 0.7137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3406/13.82, allocations: 43.69 MB / 2.58 GB, free: 144.2 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.715e-05/13.82, allocations: 0 / 2.58 GB, free: 144.2 MB / 0.7137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01135/13.83, allocations: 2.856 MB / 2.583 GB, free: 141.4 MB / 0.7137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005895/13.83, allocations: 124 kB / 2.583 GB, free: 141.2 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02369/13.86, allocations: 1.079 MB / 2.584 GB, free: 140.3 MB / 0.7137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007657/13.87, allocations: 0.8949 MB / 2.585 GB, free: 139.4 MB / 0.7137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1112/13.98, allocations: 23.16 MB / 2.608 GB, free: 116.4 MB / 0.7137 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.08052/14.06, allocations: 25.58 MB / 2.633 GB, free: 90.73 MB / 0.7137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02368/14.08, allocations: 7.976 MB / 2.641 GB, free: 82.73 MB / 0.7137 GB Notification: Performance of sorting global known variables: time 0.0205/14.1, allocations: 8.81 MB / 2.649 GB, free: 73.99 MB / 0.7137 GB Notification: Performance of Backend: time 6.81e-07/14.1, allocations: 0 / 2.649 GB, free: 73.99 MB / 0.7137 GB Notification: Performance of simCode: created initialization part: time 0.1311/14.23, allocations: 32.06 MB / 2.681 GB, free: 42.23 MB / 0.7137 GB Notification: Performance of SimCode: time 0.5351/14.77, allocations: 35.17 MB / 2.715 GB, free: 279.6 MB / 0.7137 GB Notification: Performance of Templates: time 1.29/16.06, allocations: 410.1 MB / 3.115 GB, free: 212.5 MB / 0.7137 GB