Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Examples.FlowSystem.Simplified2.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.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Examples.FlowSystem.Simplified2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002536/0.002536, 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.403/1.403, allocations: 165.8 MB / 183.1 MB, free: 5.434 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.633/3.633, allocations: 410.8 MB / 0.6001 GB, free: 15.13 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.001773/0.001773, allocations: 200.7 kB / 0.6668 GB, free: 6.906 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000451/0.0004511, allocations: 12 kB / 0.7429 GB, free: 8.949 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.3905, allocations: 67.43 MB / 0.8087 GB, free: 28.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.FlowSystem.Simplified2): time 0.8575/1.248, allocations: 329.3 MB / 1.13 GB, free: 5.59 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.6896/1.938, allocations: 72.15 MB / 1.201 GB, free: 25.9 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01634/1.954, allocations: 374.5 kB / 1.201 GB, free: 25.9 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.01993/1.974, allocations: 4.453 MB / 1.206 GB, free: 25.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.05353/2.028, allocations: 13.55 MB / 1.219 GB, free: 25.47 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.04329/2.071, allocations: 11.6 MB / 1.23 GB, free: 23.91 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.05911/2.13, allocations: 42.49 MB / 1.272 GB, free: 6.406 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03299/2.163, allocations: 15.81 MB / 1.287 GB, free: 9.906 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03764/2.201, allocations: 13.56 MB / 1.3 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0389/2.24, allocations: 14.69 MB / 1.315 GB, free: 3.367 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.007952/2.248, allocations: 1.066 MB / 1.316 GB, free: 2.301 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02249/2.27, allocations: 3.716 MB / 1.319 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.01181/2.282, allocations: 4.918 MB / 1.324 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.01089/2.293, allocations: 3.377 MB / 1.327 GB, free: 8.836 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0426/2.336, allocations: 22.17 MB / 1.349 GB, free: 3.621 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.595e-06/2.336, allocations: 0 / 1.349 GB, free: 3.621 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.005e-06/2.336, allocations: 0 / 1.349 GB, free: 3.621 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0008793/2.337, allocations: 0 / 1.349 GB, free: 3.621 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.08334/2.42, allocations: 20.7 MB / 1.369 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/2.42, allocations: 12.03 kB / 1.369 GB, free: 15.01 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01571/2.436, allocations: 2.377 MB / 1.372 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05103/2.487, allocations: 15.11 MB / 1.386 GB, free: 13.84 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001216/2.488, allocations: 0.7206 MB / 1.387 GB, free: 13.12 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005588/2.494, allocations: 0.9912 MB / 1.388 GB, free: 12.14 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0557/2.55, allocations: 17.27 MB / 1.405 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000431/2.55, allocations: 15.83 kB / 1.405 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004094/2.554, allocations: 354.7 kB / 1.405 GB, free: 9.98 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000311/2.554, allocations: 219.9 kB / 1.405 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.8133/3.368, allocations: 20.58 MB / 1.426 GB, free: 322.7 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.184/3.552, allocations: 82.38 MB / 1.506 GB, free: 256.8 MB / 0.7137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02782/3.58, allocations: 12.61 MB / 1.518 GB, free: 244.3 MB / 0.7137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02059/3.6, allocations: 9.516 MB / 1.528 GB, free: 234.8 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.1021/3.702, allocations: 35.55 MB / 1.562 GB, free: 199.2 MB / 0.7137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0234/3.726, allocations: 9.779 MB / 1.572 GB, free: 189.3 MB / 0.7137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04872/3.775, allocations: 10 MB / 1.582 GB, free: 180.1 MB / 0.7137 GB Notification: Performance of pre-optimization done (n=576): time 3.82e-05/3.775, allocations: 0 / 1.582 GB, free: 180.1 MB / 0.7137 GB Notification: Performance of matching and sorting (n=804): time 2.769/6.544, allocations: 210 MB / 1.787 GB, free: 289.5 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006311/6.544, allocations: 2.576 MB / 1.789 GB, free: 286.4 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03334/6.578, allocations: 15.45 MB / 1.804 GB, free: 281.1 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 0.004274/6.582, allocations: 256.4 kB / 1.804 GB, free: 281 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.01033/6.592, allocations: 7.77 MB / 1.812 GB, free: 275.6 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.006102/6.599, allocations: 2.799 MB / 1.815 GB, free: 273.8 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003566/6.602, allocations: 204.5 kB / 1.815 GB, free: 273.7 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 0.0009094/6.603, allocations: 0.751 MB / 1.816 GB, free: 273.1 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03258/6.636, allocations: 11.16 MB / 1.827 GB, free: 267.1 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0365/6.672, allocations: 14.61 MB / 1.841 GB, free: 257 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03682/6.709, allocations: 12.43 MB / 1.853 GB, free: 248.7 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.627e-05/6.709, allocations: 16 kB / 1.853 GB, free: 248.7 MB / 0.7138 GB Notification: Performance of matching and sorting (n=1416) (initialization): time 1.258/7.967, allocations: 128.9 MB / 1.979 GB, free: 120.1 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009318/7.968, allocations: 1.731 MB / 1.981 GB, free: 117.7 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002809/7.968, allocations: 103.9 kB / 1.981 GB, free: 117.6 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82/9.788, allocations: 144.5 MB / 2.122 GB, free: 270.9 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02627/9.815, allocations: 2.745 MB / 2.124 GB, free: 270.8 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3016/10.12, allocations: 80.9 MB / 2.203 GB, free: 203.6 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03287/10.15, allocations: 1.406 MB / 2.205 GB, free: 202.3 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005314/10.15, allocations: 0.8809 MB / 2.206 GB, free: 201.4 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/10.15, allocations: 4 kB / 2.206 GB, free: 201.4 MB / 0.7138 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.246/11.4, allocations: 127.4 MB / 2.33 GB, free: 74 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003619/11.4, allocations: 103.9 kB / 2.33 GB, free: 73.89 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76/13.16, allocations: 144.3 MB / 2.471 GB, free: 243 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02401/13.19, allocations: 2.703 MB / 2.474 GB, free: 240.4 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3138/13.5, allocations: 84.46 MB / 2.556 GB, free: 156 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03196/13.53, allocations: 1.401 MB / 2.558 GB, free: 154.6 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005126/13.54, allocations: 0.8383 MB / 2.558 GB, free: 153.8 MB / 0.7138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * 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 (1054): * Single equations (assignments): 974 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * 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: 8 {1,1,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 {14 90,14 90} Notification: Performance of prepare postOptimizeDAE: time 0.01632/13.55, allocations: 4.259 MB / 2.563 GB, free: 149.6 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007178/13.56, allocations: 1.543 MB / 2.564 GB, free: 148.9 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3729/13.93, allocations: 52.6 MB / 2.615 GB, free: 96.39 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3425/14.28, allocations: 46.52 MB / 2.661 GB, free: 49.79 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001107/14.28, allocations: 0 / 2.661 GB, free: 49.79 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01294/14.29, allocations: 3.414 MB / 2.664 GB, free: 46.56 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006792/14.3, allocations: 279.8 kB / 2.664 GB, free: 46.29 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02567/14.32, allocations: 1.227 MB / 2.666 GB, free: 45.09 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007108/14.33, allocations: 1.056 MB / 2.667 GB, free: 44.03 MB / 0.7138 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.5678/14.9, allocations: 27.83 MB / 2.694 GB, free: 254.9 MB / 0.7138 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.09587/14.99, allocations: 30.83 MB / 2.724 GB, free: 246.8 MB / 0.7138 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0265/15.02, allocations: 9.631 MB / 2.733 GB, free: 243.4 MB / 0.7138 GB Notification: Performance of sorting global known variables: time 0.02372/15.04, allocations: 10.47 MB / 2.744 GB, free: 240 MB / 0.7138 GB Notification: Performance of Backend: time 7.82e-07/15.04, allocations: 0 / 2.744 GB, free: 240 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.1491/15.19, allocations: 39.11 MB / 2.782 GB, free: 225.5 MB / 0.7138 GB Notification: Performance of SimCode: time 0.1063/15.3, allocations: 43.37 MB / 2.824 GB, free: 191.1 MB / 0.7138 GB Notification: Performance of Templates: time 1.432/16.73, allocations: 467.5 MB / 3.281 GB, free: 32.64 MB / 0.7138 GB