Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Examples.FlowSystem.Basic.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.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Examples.FlowSystem.Basic") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002592/0.002592, allocations: 354.5 kB / 16.58 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.413/1.413, allocations: 165.8 MB / 183.1 MB, free: 5.441 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.642/3.642, allocations: 410.7 MB / 0.6001 GB, free: 15.24 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.001764/0.001763, allocations: 197.7 kB / 0.6668 GB, free: 6.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004487/0.000449, allocations: 16 kB / 0.7429 GB, free: 8.996 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4004/0.4009, allocations: 67.44 MB / 0.8087 GB, free: 28.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.335/1.736, allocations: 424.1 MB / 1.223 GB, free: 138.5 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003291/1.737, allocations: 109.8 kB / 1.223 GB, free: 138.5 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 35.11/36.84, allocations: 6.391 GB / 7.614 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.645e-06/36.84, allocations: 0 / 7.614 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.004312/36.85, allocations: 0.5276 MB / 7.614 GB, free: 29.84 MB / 0.8386 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.1094/36.96, allocations: 21.43 MB / 7.635 GB, free: 10.74 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/36.96, allocations: 16.02 kB / 7.635 GB, free: 10.72 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01823/36.97, allocations: 2.312 MB / 7.638 GB, free: 8.387 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1107/37.09, allocations: 23.21 MB / 7.66 GB, free: 1.078 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001533/37.09, allocations: 0.7228 MB / 7.661 GB, free: 360 kB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.8685/37.96, allocations: 1.024 MB / 7.662 GB, free: 51.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05901/38.01, allocations: 17.07 MB / 7.679 GB, free: 49.35 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006505/38.02, allocations: 11.22 kB / 7.679 GB, free: 49.35 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004972/38.02, allocations: 360.6 kB / 7.679 GB, free: 49.35 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003356/38.02, allocations: 216.3 kB / 7.679 GB, free: 49.35 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05665/38.08, allocations: 19.94 MB / 7.699 GB, free: 49.29 MB / 0.8542 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.2069/38.28, allocations: 78.35 MB / 7.775 GB, free: 18.67 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03269/38.32, allocations: 12.55 MB / 7.788 GB, free: 18.22 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02343/38.34, allocations: 9.635 MB / 7.797 GB, free: 18.12 MB / 0.8542 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.1119/38.45, allocations: 33.68 MB / 7.83 GB, free: 25.73 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02606/38.48, allocations: 9.541 MB / 7.839 GB, free: 25.55 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0808/38.56, allocations: 15.13 MB / 7.854 GB, free: 25.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=606): time 4.728e-05/38.56, allocations: 0 / 7.854 GB, free: 25.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=860): time 2.81/41.37, allocations: 222.8 MB / 8.071 GB, free: 77.06 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007744/41.37, allocations: 2.539 MB / 8.074 GB, free: 74.05 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0504/41.42, allocations: 16.45 MB / 8.09 GB, free: 73.29 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.00534/41.43, allocations: 275.3 kB / 8.09 GB, free: 73.25 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.01444/41.44, allocations: 7.865 MB / 8.098 GB, free: 72.79 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.007123/41.45, allocations: 2.986 MB / 8.101 GB, free: 72.11 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004608/41.45, allocations: 212.2 kB / 8.101 GB, free: 72.11 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0012/41.45, allocations: 0.7552 MB / 8.102 GB, free: 71.78 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03582/41.49, allocations: 10.69 MB / 8.112 GB, free: 71.76 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04038/41.53, allocations: 14.48 MB / 8.126 GB, free: 67.85 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03961/41.57, allocations: 12.02 MB / 8.138 GB, free: 67.63 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001247/41.57, allocations: 15.19 kB / 8.138 GB, free: 67.63 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1448) (initialization): time 1.294/42.86, allocations: 133.2 MB / 8.268 GB, free: 51.17 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009899/42.86, allocations: 1.572 MB / 8.27 GB, free: 49.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004554/42.87, allocations: 110.1 kB / 8.27 GB, free: 49 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.278/45.14, allocations: 154.3 MB / 8.421 GB, free: 84.47 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02674/45.17, allocations: 2.612 MB / 8.423 GB, free: 84.47 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.285/45.46, allocations: 76.92 MB / 8.498 GB, free: 77.41 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03597/45.49, allocations: 1.503 MB / 8.5 GB, free: 77.41 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005749/45.5, allocations: 0.9271 MB / 8.501 GB, free: 77.41 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/45.5, allocations: 6.625 kB / 8.501 GB, free: 77.41 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.278/46.78, allocations: 131.1 MB / 8.629 GB, free: 20.11 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005553/46.78, allocations: 113.6 kB / 8.629 GB, free: 20 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.263/49.04, allocations: 153.9 MB / 8.779 GB, free: 92.08 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0226/49.06, allocations: 2.562 MB / 8.782 GB, free: 92.08 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2996/49.36, allocations: 83.63 MB / 8.863 GB, free: 88.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0342/49.4, allocations: 1.495 MB / 8.865 GB, free: 87.95 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00574/49.4, allocations: 0.8694 MB / 8.865 GB, free: 87.95 MB / 0.9167 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,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,$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 (990): * Single equations (assignments): 910 * 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 {33 119,33 119} Notification: Performance of prepare postOptimizeDAE: time 0.01888/49.42, allocations: 4.301 MB / 8.87 GB, free: 87.76 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007314/49.43, allocations: 1.561 MB / 8.871 GB, free: 87.76 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3805/49.81, allocations: 54.25 MB / 8.924 GB, free: 70.38 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001868/49.81, allocations: 107 kB / 8.924 GB, free: 70.28 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002071/49.81, allocations: 32 kB / 8.924 GB, free: 70.25 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3705/50.18, allocations: 47.98 MB / 8.971 GB, free: 31.03 MB / 0.9167 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 1.354/51.53, allocations: 73.79 MB / 9.043 GB, free: 87.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001517/51.53, allocations: 1.688 kB / 9.043 GB, free: 87.43 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01733/51.55, allocations: 1.677 MB / 9.045 GB, free: 87.43 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.369/51.92, allocations: 46.48 MB / 9.09 GB, free: 87.25 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003499/51.92, allocations: 355.4 kB / 9.091 GB, free: 87.25 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1228/52.05, allocations: 34.54 MB / 9.124 GB, free: 80.22 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/52.05, allocations: 3.812 kB / 9.124 GB, free: 80.22 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3948/52.44, allocations: 62.69 MB / 9.186 GB, free: 79.08 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0164/52.46, allocations: 3.768 MB / 9.189 GB, free: 78.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008253/52.47, allocations: 289.9 kB / 9.19 GB, free: 78.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02837/52.49, allocations: 1.305 MB / 9.191 GB, free: 78.39 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004592/52.5, allocations: 0.6213 MB / 9.191 GB, free: 78.38 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003218/52.5, allocations: 379.2 kB / 9.192 GB, free: 78.38 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.03212/52.53, allocations: 11.19 MB / 9.203 GB, free: 77.94 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7.11e-07/52.53, allocations: 0 / 9.203 GB, free: 77.94 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.06023/52.59, allocations: 8.792 MB / 9.211 GB, free: 77.94 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 (pmpSouth.vol.dynBal.U,pmpSouth.filter.x[1],pmpSouth.filter.x[2],pmpNorth.vol.dynBal.U,pmpNorth.filter.x[1],pmpNorth.filter.x[2],valSouth1[1].filter.x[1],valSouth1[1].filter.x[2],valSouth1[2].filter.x[1],valSouth1[2].filter.x[2],valSouth1[3].filter.x[1],valSouth1[3].filter.x[2],valSouth1[4].filter.x[1],valSouth1[4].filter.x[2],valSouth2[1].filter.x[1],valSouth2[1].filter.x[2],valSouth2[2].filter.x[1],valSouth2[2].filter.x[2],valSouth2[3].filter.x[1],valSouth2[3].filter.x[2],valSouth2[4].filter.x[1],valSouth2[4].filter.x[2],valSouth2[5].filter.x[1],valSouth2[5].filter.x[2],valSouth2[6].filter.x[1],valSouth2[6].filter.x[2],valSouth2[7].filter.x[1],valSouth2[7].filter.x[2],valSouth2[8].filter.x[1],valSouth2[8].filter.x[2],valNorth1[1].filter.x[1],valNorth1[1].filter.x[2],valNorth1[2].filter.x[1],valNorth1[2].filter.x[2],valNorth1[3].filter.x[1],valNorth1[3].filter.x[2],valNorth1[4].filter.x[1],valNorth1[4].filter.x[2],valNorth2[1].filter.x[1],valNorth2[1].filter.x[2],valNorth2[2].filter.x[1],valNorth2[2].filter.x[2],valNorth2[3].filter.x[1],valNorth2[3].filter.x[2],valNorth2[4].filter.x[1],valNorth2[4].filter.x[2],valNorth2[5].filter.x[1],valNorth2[5].filter.x[2],valNorth2[6].filter.x[1],valNorth2[6].filter.x[2],valNorth2[7].filter.x[1],valNorth2[7].filter.x[2],valNorth2[8].filter.x[1],valNorth2[8].filter.x[2],valSouth.vol.dynBal.U,valSouth.filter.x[1],valSouth.filter.x[2],valNorth.vol.dynBal.U,valNorth.filter.x[1],valNorth.filter.x[2],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.x[1],pumpHea.filter.x[2],valHea.filter.x[1],valHea.filter.x[2],valCoo.filter.x[1],valCoo.filter.x[2],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.x[1],pumpCoo.filter.x[2]) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulseStart,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 (665): * Single equations (assignments): 641 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * 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: 7 {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: 3 {33 156,33 119,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01464/52.61, allocations: 5.51 MB / 9.217 GB, free: 76 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.1691/52.78, allocations: 46.18 MB / 9.262 GB, free: 53.37 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.269e-05/52.78, allocations: 13.59 kB / 9.262 GB, free: 53.36 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.04718/52.83, allocations: 12.63 MB / 9.274 GB, free: 46.82 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07466/52.9, allocations: 7.995 MB / 9.282 GB, free: 42.8 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.892/54.79, allocations: 41.56 MB / 9.322 GB, free: 87.9 MB / 0.9168 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02494/54.82, allocations: 9.51 MB / 9.332 GB, free: 86.76 MB / 0.9168 GB Notification: Performance of simCode: alias equations: time 0.03977/54.86, allocations: 5.1 MB / 9.337 GB, free: 86.62 MB / 0.9168 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009918/54.87, allocations: 1.265 MB / 9.338 GB, free: 86.62 MB / 0.9168 GB Notification: Performance of SimCode: time 2.494e-06/54.87, allocations: 0 / 9.338 GB, free: 86.62 MB / 0.9168 GB Notification: Performance of Templates: time 2.094/56.96, allocations: 0.489 GB / 9.827 GB, free: 126.2 MB / 0.9637 GB