Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3") translateModel(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8006/0.8006, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001137, allocations: 182.8 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 221.3 MB / 441.4 MB, free: 4.664 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 98.23 kB / 0.5124 GB, free: 24.24 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001938/0.001938, allocations: 275 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.082e-05/4.084e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5126/0.5127, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9438/1.457, allocations: 421.9 MB / 1.176 GB, free: 1.426 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/1.457, allocations: 98.69 kB / 1.176 GB, free: 1.379 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 42.29/43.75, allocations: 9.552 GB / 10.73 GB, free: 75.09 MB / 0.9792 GB Notification: Performance of FrontEnd: time 4.067e-06/43.75, allocations: 7.062 kB / 10.73 GB, free: 75.09 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.003911/43.75, allocations: 411.7 kB / 10.73 GB, free: 75.02 MB / 0.9792 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.05956/43.81, allocations: 13.45 MB / 10.74 GB, free: 69.23 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.783e-05/43.81, allocations: 12.88 kB / 10.74 GB, free: 69.23 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01706/43.83, allocations: 2.18 MB / 10.74 GB, free: 68.25 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07764/43.91, allocations: 21.4 MB / 10.76 GB, free: 65.63 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001251/43.91, allocations: 0.679 MB / 10.77 GB, free: 65.62 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006055/43.91, allocations: 0.9485 MB / 10.77 GB, free: 65.61 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04341/43.96, allocations: 15.52 MB / 10.78 GB, free: 64.76 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004559/43.96, allocations: 15.33 kB / 10.78 GB, free: 64.75 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004441/43.96, allocations: 327.6 kB / 10.78 GB, free: 64.75 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004227/43.96, allocations: 366.5 kB / 10.78 GB, free: 64.73 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03863/44, allocations: 19.63 MB / 10.8 GB, free: 64.62 MB / 0.9792 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.1594/44.16, allocations: 79.81 MB / 10.88 GB, free: 28.72 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0192/44.18, allocations: 11.71 MB / 10.89 GB, free: 23.27 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01422/44.19, allocations: 9.457 MB / 10.9 GB, free: 19.14 MB / 0.9792 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.08668/44.28, allocations: 34.2 MB / 10.93 GB, free: 12.47 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01939/44.3, allocations: 9.197 MB / 10.94 GB, free: 5.387 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 1.133/45.43, allocations: 17.45 MB / 10.96 GB, free: 97.95 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=593): time 6.046e-05/45.43, allocations: 0.8438 kB / 10.96 GB, free: 97.95 MB / 0.9948 GB Notification: Performance of matching and sorting (n=866): time 0.8475/46.28, allocations: 212.5 MB / 11.17 GB, free: 85.69 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0913/46.37, allocations: 41.39 MB / 11.21 GB, free: 76.54 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03787/46.41, allocations: 14.15 MB / 11.22 GB, free: 73.16 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.005742/46.41, allocations: 239.6 kB / 11.22 GB, free: 73.06 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01232/46.43, allocations: 7.233 MB / 11.23 GB, free: 70.95 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.01145/46.44, allocations: 3.081 MB / 11.23 GB, free: 68.96 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006564/46.45, allocations: 203.7 kB / 11.23 GB, free: 68.91 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.001036/46.45, allocations: 0.7381 MB / 11.23 GB, free: 68.47 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02683/46.47, allocations: 16.67 MB / 11.25 GB, free: 59.66 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03051/46.5, allocations: 19.65 MB / 11.27 GB, free: 47.15 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03157/46.54, allocations: 18.03 MB / 11.29 GB, free: 37.35 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001564/46.54, allocations: 16 kB / 11.29 GB, free: 37.34 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1391) (initialization): time 1.714/48.25, allocations: 142.6 MB / 11.42 GB, free: 97.89 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.008843/48.26, allocations: 36.82 MB / 11.46 GB, free: 59.17 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004052/48.26, allocations: 54.44 kB / 11.46 GB, free: 59.17 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6267/48.89, allocations: 146 MB / 11.6 GB, free: 42.12 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0196/48.91, allocations: 3.597 MB / 11.61 GB, free: 40.76 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1463/49.05, allocations: 71.14 MB / 11.68 GB, free: 3.168 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09124/49.14, allocations: 6.182 MB / 11.68 GB, free: 13.23 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007574/49.15, allocations: 1.319 MB / 11.68 GB, free: 11.99 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/49.15, allocations: 4 kB / 11.68 GB, free: 11.98 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.648/50.8, allocations: 141.4 MB / 11.82 GB, free: 137.3 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003101/50.8, allocations: 54.36 kB / 11.82 GB, free: 137.3 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6208/51.42, allocations: 146.4 MB / 11.96 GB, free: 121.8 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01735/51.44, allocations: 3.587 MB / 11.97 GB, free: 120.3 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1369/51.57, allocations: 75.4 MB / 12.04 GB, free: 64.58 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08998/51.66, allocations: 6.148 MB / 12.05 GB, free: 58.67 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007915/51.67, allocations: 1.282 MB / 12.05 GB, free: 57.46 MB / 1.057 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 (1071): * Single equations (assignments): 1055 * Array equations: 6 * 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.009213/51.68, allocations: 0.667 MB / 12.05 GB, free: 57.23 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008557/51.69, allocations: 1.475 MB / 12.05 GB, free: 56.54 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.128/52.82, allocations: 58.22 MB / 12.11 GB, free: 123 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2116/53.03, allocations: 64.26 MB / 12.17 GB, free: 122.5 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001444/53.03, allocations: 28.5 kB / 12.17 GB, free: 122.5 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2094/53.24, allocations: 63.56 MB / 12.23 GB, free: 121.7 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2908/53.53, allocations: 127 MB / 12.36 GB, free: 116.6 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.687e-05/53.53, allocations: 7.547 kB / 12.36 GB, free: 116.6 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01177/53.54, allocations: 2.03 MB / 12.36 GB, free: 116.6 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3228/53.87, allocations: 81.57 MB / 12.44 GB, free: 77.43 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004547/53.87, allocations: 0.5787 MB / 12.44 GB, free: 76.86 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.101/54.97, allocations: 63.86 MB / 12.5 GB, free: 133.3 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.083/55.05, allocations: 35.61 MB / 12.54 GB, free: 128.2 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2467/55.3, allocations: 91.3 MB / 12.63 GB, free: 126.9 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02199/55.32, allocations: 6.161 MB / 12.63 GB, free: 126.5 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009156/55.33, allocations: 214 kB / 12.63 GB, free: 126.5 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05474/55.39, allocations: 3.349 MB / 12.63 GB, free: 126.5 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005345/55.39, allocations: 0.8864 MB / 12.64 GB, free: 126.5 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004222/55.4, allocations: 0.6383 MB / 12.64 GB, free: 126.5 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.02215/55.42, allocations: 10.83 MB / 12.65 GB, free: 126 MB / 1.057 GB Notification: Performance of sort global known variables: time 5.11e-07/55.42, allocations: 0 / 12.65 GB, free: 126 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.1132/55.53, allocations: 38.64 MB / 12.68 GB, free: 126 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 ($STATESET1.x[31],$STATESET1.x[30],$STATESET1.x[29],$STATESET1.x[28],$STATESET1.x[27],$STATESET1.x[26],$STATESET1.x[25],$STATESET1.x[24],$STATESET1.x[23],$STATESET1.x[22],$STATESET1.x[21],$STATESET1.x[20],$STATESET1.x[19],$STATESET1.x[18],$STATESET1.x[17],$STATESET1.x[16],$STATESET1.x[15],$STATESET1.x[14],$STATESET1.x[13],$STATESET1.x[12],$STATESET1.x[11],$STATESET1.x[10],$STATESET1.x[9],$STATESET1.x[8],$STATESET1.x[7],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],pmpSouth.vol.dynBal.U,pmpSouth.filter.s[1],pmpNorth.vol.dynBal.U,pmpNorth.filter.s[1],valSouth1[1].filter.s[1],valSouth1[2].filter.s[1],valSouth1[3].filter.s[1],valSouth1[4].filter.s[1],valSouth2[1].filter.s[1],valSouth2[2].filter.s[1],valSouth2[3].filter.s[1],valSouth2[4].filter.s[1],valSouth2[5].filter.s[1],valSouth2[6].filter.s[1],valSouth2[7].filter.s[1],valSouth2[8].filter.s[1],valNorth1[1].filter.s[1],valNorth1[2].filter.s[1],valNorth1[3].filter.s[1],valNorth1[4].filter.s[1],valNorth2[1].filter.s[1],valNorth2[2].filter.s[1],valNorth2[3].filter.s[1],valNorth2[4].filter.s[1],valNorth2[5].filter.s[1],valNorth2[6].filter.s[1],valNorth2[7].filter.s[1],valNorth2[8].filter.s[1],valSouth.vol.dynBal.U,valSouth.filter.s[1],valNorth.vol.dynBal.U,valNorth.filter.s[1],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.s[1],valHea.filter.s[1],valCoo.filter.s[1],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.s[1],vol.p) * 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 (658): * Single equations (assignments): 636 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {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 {5 79,1 3,34 189} Notification: Performance of Backend phase and start with SimCode phase: time 0.01265/55.54, allocations: 5.577 MB / 12.69 GB, free: 124.1 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.1195/55.66, allocations: 69.88 MB / 12.76 GB, free: 91.05 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-05/55.66, allocations: 0 / 12.76 GB, free: 91.05 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.07556/55.74, allocations: 39.04 MB / 12.8 GB, free: 63.09 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0469/55.79, allocations: 7.238 MB / 12.8 GB, free: 57.95 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08062/55.87, allocations: 43.92 MB / 12.85 GB, free: 20.29 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01626/55.88, allocations: 10.1 MB / 12.86 GB, free: 13.3 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 1.856/57.74, allocations: 11.21 MB / 12.87 GB, free: 110.8 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01239/57.75, allocations: 1.681 MB / 12.87 GB, free: 110.8 MB / 1.057 GB Notification: Performance of SimCode: time 1.142e-06/57.75, allocations: 0.6562 kB / 12.87 GB, free: 110.8 MB / 1.057 GB Notification: Performance of Templates: time 1.788/59.54, allocations: 0.6088 GB / 13.48 GB, free: 124 MB / 1.104 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)