Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Examples.FlowSystem.Simplified1.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.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Examples.FlowSystem.Simplified1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003685/0.003685, allocations: 353 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.432/1.432, 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.662/3.662, allocations: 410.7 MB / 0.6001 GB, free: 15.21 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.001769/0.001769, allocations: 191.6 kB / 0.6668 GB, free: 6.922 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004845/0.000485, allocations: 12 kB / 0.7429 GB, free: 8.965 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4026/0.4031, allocations: 67.44 MB / 0.8087 GB, free: 28.78 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.392/1.795, allocations: 424.3 MB / 1.223 GB, free: 138.2 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003118/1.796, allocations: 97.77 kB / 1.223 GB, free: 138.1 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 47.97/49.77, allocations: 8.664 GB / 9.887 GB, free: 53.31 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.585e-06/49.77, allocations: 0.75 kB / 9.887 GB, free: 53.31 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.004413/49.77, allocations: 0.5155 MB / 9.888 GB, free: 53.2 MB / 0.8542 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.1168/49.89, allocations: 21.42 MB / 9.909 GB, free: 45.43 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/49.89, allocations: 9.156 kB / 9.909 GB, free: 45.43 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01912/49.91, allocations: 2.316 MB / 9.911 GB, free: 44.42 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1072/50.02, allocations: 23.14 MB / 9.934 GB, free: 41.72 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001387/50.02, allocations: 0.7207 MB / 9.934 GB, free: 41.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006575/50.02, allocations: 1.02 MB / 9.935 GB, free: 41.68 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05636/50.08, allocations: 16.93 MB / 9.952 GB, free: 39.82 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005577/50.08, allocations: 14.84 kB / 9.952 GB, free: 39.82 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004719/50.09, allocations: 356 kB / 9.952 GB, free: 39.82 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003137/50.09, allocations: 219.4 kB / 9.952 GB, free: 39.82 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05493/50.14, allocations: 19.86 MB / 9.972 GB, free: 39.76 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.1962/50.34, allocations: 79.17 MB / 10.05 GB, free: 5.938 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02904/50.37, allocations: 11.93 MB / 10.06 GB, free: 5.477 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02086/50.39, allocations: 9.153 MB / 10.07 GB, free: 5.406 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.1056/50.49, allocations: 33.1 MB / 10.1 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02496/50.52, allocations: 9.319 MB / 10.11 GB, free: 5.621 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0793/50.6, allocations: 15.11 MB / 10.13 GB, free: 4.098 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=582): time 4.094e-05/50.6, allocations: 4 kB / 10.13 GB, free: 4.094 MB / 0.8698 GB Notification: Performance of matching and sorting (n=812): time 2.763/53.36, allocations: 210.1 MB / 10.33 GB, free: 64.39 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007209/53.36, allocations: 2.526 MB / 10.33 GB, free: 61.39 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04572/53.41, allocations: 16.5 MB / 10.35 GB, free: 60.48 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.004938/53.41, allocations: 265.2 kB / 10.35 GB, free: 60.45 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.01325/53.43, allocations: 7.864 MB / 10.36 GB, free: 59.08 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.006628/53.43, allocations: 2.82 MB / 10.36 GB, free: 57.64 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004231/53.44, allocations: 208.5 kB / 10.36 GB, free: 57.64 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.001087/53.44, allocations: 0.7488 MB / 10.36 GB, free: 57.32 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03313/53.47, allocations: 10.47 MB / 10.37 GB, free: 57.26 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03775/53.51, allocations: 14.21 MB / 10.39 GB, free: 53.23 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03682/53.55, allocations: 11.79 MB / 10.4 GB, free: 48.16 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001094/53.55, allocations: 13.03 kB / 10.4 GB, free: 48.15 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1424) (initialization): time 2.234/55.78, allocations: 131.2 MB / 10.52 GB, free: 70.52 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001215/55.78, allocations: 1.723 MB / 10.53 GB, free: 68.47 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005092/55.78, allocations: 112.7 kB / 10.53 GB, free: 68.47 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379/57.16, allocations: 149.3 MB / 10.67 GB, free: 60.66 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02835/57.19, allocations: 2.797 MB / 10.68 GB, free: 60.02 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3401/57.53, allocations: 74.64 MB / 10.75 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03745/57.57, allocations: 1.564 MB / 10.75 GB, free: 9.578 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006191/57.57, allocations: 0.92 MB / 10.75 GB, free: 8.746 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/57.57, allocations: 4 kB / 10.75 GB, free: 8.742 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 2.25/59.82, allocations: 129.4 MB / 10.88 GB, free: 92.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006138/59.82, allocations: 119 kB / 10.88 GB, free: 92.79 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368/61.19, allocations: 148.5 MB / 11.02 GB, free: 77.95 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02491/61.22, allocations: 2.75 MB / 11.02 GB, free: 76.98 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.303/61.52, allocations: 78.44 MB / 11.1 GB, free: 19.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03515/61.55, allocations: 1.531 MB / 11.1 GB, free: 18.13 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005515/61.56, allocations: 0.8818 MB / 11.1 GB, free: 17.34 MB / 0.9167 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,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 (1062): * Single equations (assignments): 982 * 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 {39 65,39 65} Notification: Performance of prepare postOptimizeDAE: time 0.01879/61.58, allocations: 4.279 MB / 11.11 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008146/61.59, allocations: 1.553 MB / 11.11 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.29/62.88, allocations: 51.86 MB / 11.16 GB, free: 98.17 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000209/62.88, allocations: 100.3 kB / 11.16 GB, free: 98.17 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002153/62.88, allocations: 27.66 kB / 11.16 GB, free: 98.17 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3572/63.23, allocations: 45.77 MB / 11.21 GB, free: 97.46 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 0.4223/63.66, allocations: 70.44 MB / 11.27 GB, free: 93.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000142/63.66, allocations: 2.125 kB / 11.27 GB, free: 93.34 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01896/63.68, allocations: 1.819 MB / 11.28 GB, free: 93.34 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3925/64.07, allocations: 43.93 MB / 11.32 GB, free: 93.2 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00315/64.07, allocations: 346 kB / 11.32 GB, free: 93.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1164/64.19, allocations: 31.8 MB / 11.35 GB, free: 82.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/64.19, allocations: 0 / 11.35 GB, free: 82.82 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3945/64.58, allocations: 59.94 MB / 11.41 GB, free: 51.23 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01525/64.6, allocations: 3.658 MB / 11.41 GB, free: 49.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007931/64.61, allocations: 276 kB / 11.41 GB, free: 49.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02796/64.63, allocations: 1.334 MB / 11.41 GB, free: 49.02 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004399/64.64, allocations: 0.5889 MB / 11.41 GB, free: 48.73 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00292/64.64, allocations: 363.3 kB / 11.41 GB, free: 48.5 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.03047/64.67, allocations: 11.21 MB / 11.43 GB, free: 42.73 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7.91e-07/64.67, allocations: 0 / 11.43 GB, free: 42.73 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.06544/64.74, allocations: 8.751 MB / 11.43 GB, free: 35.04 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 (713): * Single equations (assignments): 689 * 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 {36 81,39 65,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01367/64.75, allocations: 5.506 MB / 11.44 GB, free: 30.86 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 1.051/65.8, allocations: 45.89 MB / 11.48 GB, free: 91.07 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.261e-05/65.8, allocations: 12.16 kB / 11.48 GB, free: 91.07 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.04915/65.85, allocations: 12.43 MB / 11.5 GB, free: 90.72 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07368/65.93, allocations: 7.949 MB / 11.5 GB, free: 90.66 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1064/66.03, allocations: 41.01 MB / 11.54 GB, free: 76.61 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02179/66.05, allocations: 9.42 MB / 11.55 GB, free: 75.47 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.03845/66.09, allocations: 5.523 MB / 11.56 GB, free: 75.32 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009474/66.1, allocations: 1.305 MB / 11.56 GB, free: 75.32 MB / 0.9167 GB Notification: Performance of SimCode: time 1.743e-06/66.1, allocations: 0 / 11.56 GB, free: 75.32 MB / 0.9167 GB Notification: Performance of Templates: time 2.066/68.17, allocations: 473 MB / 12.02 GB, free: 80.72 MB / 0.9323 GB