Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified2") translateModel(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8217/0.8217, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001156/0.001156, allocations: 188.8 kB / 169.7 MB, free: 1.738 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.778/1.778, allocations: 205.1 MB / 404.5 MB, free: 1.656 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008711/0.000871, allocations: 90.16 kB / 481.8 MB, free: 4.305 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.792e-05/2.794e-05, allocations: 4 kB / 0.5532 GB, free: 54.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1737, allocations: 76.75 MB / 0.6281 GB, free: 10.04 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.46/1.634, allocations: 428.1 MB / 1.046 GB, free: 87.88 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/1.634, allocations: 92.39 kB / 1.046 GB, free: 87.84 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 39.23/40.87, allocations: 8.374 GB / 9.42 GB, free: 57.64 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.144e-06/40.87, allocations: 2.562 kB / 9.42 GB, free: 57.64 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.005239/40.87, allocations: 0.5122 MB / 9.421 GB, free: 57.54 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 0.08018/40.95, allocations: 14.02 MB / 9.434 GB, free: 51.74 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.737e-05/40.95, allocations: 9.594 kB / 9.434 GB, free: 51.74 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02483/40.98, allocations: 2.446 MB / 9.437 GB, free: 50.73 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1126/41.09, allocations: 24.66 MB / 9.461 GB, free: 48.02 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002502/41.09, allocations: 0.7072 MB / 9.462 GB, free: 48 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01226/41.1, allocations: 1.005 MB / 9.462 GB, free: 47.98 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07672/41.18, allocations: 18.56 MB / 9.481 GB, free: 46.18 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008971/41.18, allocations: 10.91 kB / 9.481 GB, free: 46.18 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006688/41.19, allocations: 352.3 kB / 9.481 GB, free: 46.18 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003952/41.19, allocations: 216 kB / 9.481 GB, free: 46.18 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05829/41.25, allocations: 21.39 MB / 9.502 GB, free: 46.12 MB / 0.9323 GB Warning: The model contains alias variables with conflicting start and/or 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.1832/41.43, allocations: 79.08 MB / 9.579 GB, free: 12.15 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0338/41.46, allocations: 13.67 MB / 9.593 GB, free: 11.71 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01699/41.48, allocations: 8.897 MB / 9.601 GB, free: 11.64 MB / 0.9323 GB Warning: The model contains alias variables with conflicting start and/or 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.09426/41.58, allocations: 30.96 MB / 9.632 GB, free: 3.031 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0323/41.61, allocations: 11.2 MB / 9.642 GB, free: 2.855 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05375/41.66, allocations: 15.14 MB / 9.657 GB, free: 2.008 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=580): time 9.243e-05/41.66, allocations: 4 kB / 9.657 GB, free: 2.004 MB / 0.9323 GB Notification: Performance of matching and sorting (n=810): time 2.135/43.8, allocations: 199.2 MB / 9.852 GB, free: 79.03 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000829/43.8, allocations: 2.523 MB / 9.854 GB, free: 76.02 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04203/43.84, allocations: 14.48 MB / 9.868 GB, free: 75.27 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.005412/43.85, allocations: 263.6 kB / 9.869 GB, free: 75.24 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.01205/43.86, allocations: 7.885 MB / 9.876 GB, free: 74.86 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.006885/43.86, allocations: 2.807 MB / 9.879 GB, free: 74.44 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004274/43.87, allocations: 209.1 kB / 9.879 GB, free: 74.44 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.001016/43.87, allocations: 0.7526 MB / 9.88 GB, free: 74.11 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01868/43.89, allocations: 9.828 MB / 9.89 GB, free: 74.09 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02559/43.91, allocations: 13.54 MB / 9.903 GB, free: 70.04 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02789/43.94, allocations: 11.21 MB / 9.914 GB, free: 69.7 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002103/43.94, allocations: 17.94 kB / 9.914 GB, free: 69.7 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1422) (initialization): time 0.6591/44.6, allocations: 136.6 MB / 10.05 GB, free: 49.05 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.01038/44.61, allocations: 38.53 MB / 10.08 GB, free: 25.82 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006057/44.61, allocations: 119 kB / 10.08 GB, free: 25.71 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704/46.32, allocations: 148.5 MB / 10.23 GB, free: 104.8 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0158/46.33, allocations: 2.473 MB / 10.23 GB, free: 104.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2041/46.54, allocations: 87.62 MB / 10.32 GB, free: 97.21 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02765/46.56, allocations: 1.627 MB / 10.32 GB, free: 97.21 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006657/46.57, allocations: 0.941 MB / 10.32 GB, free: 97.21 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/46.57, allocations: 7.266 kB / 10.32 GB, free: 97.2 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6041/47.17, allocations: 128 MB / 10.45 GB, free: 40.83 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006336/47.18, allocations: 122.4 kB / 10.45 GB, free: 40.71 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637/48.81, allocations: 147.7 MB / 10.59 GB, free: 95.5 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01178/48.82, allocations: 2.353 MB / 10.59 GB, free: 95.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2062/49.03, allocations: 88.66 MB / 10.68 GB, free: 90.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02726/49.06, allocations: 1.232 MB / 10.68 GB, free: 90.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007377/49.07, allocations: 0.8738 MB / 10.68 GB, free: 90.5 MB / 0.9948 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,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1060): * Single equations (assignments): 981 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * 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: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(28,89.3%) 28,(14,31.6%) 90} * Non-linear torn systems: 1 {14 90} Notification: Performance of prepare postOptimizeDAE: time 0.01227/49.08, allocations: 0.7206 MB / 10.68 GB, free: 90.4 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009661/49.09, allocations: 1.543 MB / 10.68 GB, free: 90.4 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2522/49.34, allocations: 57.54 MB / 10.74 GB, free: 89.61 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002317/49.34, allocations: 95.91 kB / 10.74 GB, free: 89.61 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002626/49.34, allocations: 45.53 kB / 10.74 GB, free: 89.61 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2156/49.56, allocations: 51.36 MB / 10.79 GB, free: 59.08 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.318/50.87, allocations: 74.65 MB / 10.86 GB, free: 80.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001094/50.87, allocations: 1.188 kB / 10.86 GB, free: 80.93 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01131/50.89, allocations: 1.646 MB / 10.86 GB, free: 80.93 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1933/51.08, allocations: 43.81 MB / 10.91 GB, free: 80.87 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00383/51.08, allocations: 362.1 kB / 10.91 GB, free: 80.87 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1859/51.27, allocations: 69.46 MB / 10.97 GB, free: 69.69 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/51.27, allocations: 2.609 kB / 10.97 GB, free: 69.69 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2445/51.51, allocations: 65.11 MB / 11.04 GB, free: 68.64 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01703/51.53, allocations: 3.633 MB / 11.04 GB, free: 67.89 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009228/51.54, allocations: 271.9 kB / 11.04 GB, free: 67.89 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0212/51.56, allocations: 1.397 MB / 11.04 GB, free: 67.86 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006298/51.57, allocations: 0.7003 MB / 11.04 GB, free: 67.85 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003793/51.57, allocations: 372.3 kB / 11.04 GB, free: 67.85 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.02927/51.6, allocations: 11.07 MB / 11.06 GB, free: 67.35 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9.32e-07/51.6, allocations: 0 / 11.06 GB, free: 67.35 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.06973/51.67, allocations: 9.42 MB / 11.06 GB, free: 67.35 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (703): * Single equations (assignments): 681 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * 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: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(14,32.1%) 89,(28,89.3%) 28} * Non-linear torn systems: 1 {14 90} Notification: Performance of Backend phase and start with SimCode phase: time 0.01443/51.68, allocations: 5.73 MB / 11.07 GB, free: 65.37 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.101/51.79, allocations: 44.06 MB / 11.11 GB, free: 61.33 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.039e-05/51.79, allocations: 12.27 kB / 11.11 GB, free: 61.32 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.03219/51.82, allocations: 12.81 MB / 11.13 GB, free: 54.57 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04099/51.86, allocations: 7.51 MB / 11.13 GB, free: 50.7 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09083/51.95, allocations: 34.83 MB / 11.17 GB, free: 26.15 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01351/51.96, allocations: 9.469 MB / 11.18 GB, free: 20.53 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.03961/52, allocations: 8.989 MB / 11.19 GB, free: 14.76 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005833/52.01, allocations: 0.948 MB / 11.19 GB, free: 13.97 MB / 0.9948 GB Notification: Performance of SimCode: time 1.593e-06/52.01, allocations: 0 / 11.19 GB, free: 13.97 MB / 0.9948 GB Notification: Performance of Templates: time 3.694/55.7, allocations: 0.5418 GB / 11.73 GB, free: 110.5 MB / 1.057 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified2.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified2.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified2.pipe 2>&1)