Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified2.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.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified2") translateModel(BuildingSystems.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8166/0.8166, allocations: 141.7 MB / 154.3 MB, free: 15.49 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.001102/0.001102, allocations: 179.1 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.562/1.562, allocations: 221.3 MB / 441.4 MB, free: 4.637 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.001055/0.001055, allocations: 93.19 kB / 0.5124 GB, free: 24.26 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001862/0.001862, allocations: 274.3 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.772e-05/3.775e-05, allocations: 4 kB / 0.6834 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5262/0.5263, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9503/1.477, allocations: 421.8 MB / 1.176 GB, free: 1.508 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003004/1.477, allocations: 94.92 kB / 1.176 GB, free: 1.465 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 38.7/40.18, allocations: 8.75 GB / 9.927 GB, free: 46.83 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.605e-06/40.18, allocations: 0 / 9.927 GB, free: 46.83 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.003376/40.18, allocations: 417.1 kB / 9.927 GB, free: 46.76 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.05653/40.24, allocations: 13.46 MB / 9.94 GB, free: 41.18 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/40.24, allocations: 10.5 kB / 9.94 GB, free: 41.18 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01679/40.26, allocations: 2.186 MB / 9.942 GB, free: 40.22 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07437/40.33, allocations: 21.41 MB / 9.963 GB, free: 37.79 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001349/40.33, allocations: 0.6799 MB / 9.964 GB, free: 37.77 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006386/40.34, allocations: 0.954 MB / 9.965 GB, free: 37.76 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04841/40.39, allocations: 15.56 MB / 9.98 GB, free: 36.96 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009524/40.39, allocations: 13.59 kB / 9.98 GB, free: 36.96 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006016/40.4, allocations: 328.8 kB / 9.98 GB, free: 36.96 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006058/40.4, allocations: 368.4 kB / 9.981 GB, free: 36.95 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0424/40.44, allocations: 19.66 MB / 10 GB, free: 36.88 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.1753/40.61, allocations: 79.48 MB / 10.08 GB, free: 19.52 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02324/40.64, allocations: 11.96 MB / 10.09 GB, free: 19.05 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01486/40.65, allocations: 9.147 MB / 10.1 GB, free: 18.98 MB / 0.9948 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.08242/40.73, allocations: 33.93 MB / 10.13 GB, free: 10.36 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02117/40.76, allocations: 9.297 MB / 10.14 GB, free: 10.18 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04809/40.8, allocations: 15.08 MB / 10.16 GB, free: 9.762 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=614): time 6.947e-05/40.8, allocations: 0 / 10.16 GB, free: 9.762 MB / 0.9948 GB Notification: Performance of matching and sorting (n=908): time 1.941/42.74, allocations: 229.5 MB / 10.38 GB, free: 73.1 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1113/42.86, allocations: 46.22 MB / 10.42 GB, free: 63.32 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03576/42.89, allocations: 14.15 MB / 10.44 GB, free: 62.59 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.005872/42.9, allocations: 243.2 kB / 10.44 GB, free: 62.56 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.01209/42.91, allocations: 7.213 MB / 10.45 GB, free: 62.27 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.01172/42.92, allocations: 3.232 MB / 10.45 GB, free: 61.11 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005584/42.93, allocations: 211.9 kB / 10.45 GB, free: 61.11 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.001001/42.93, allocations: 0.7496 MB / 10.45 GB, free: 60.78 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02871/42.96, allocations: 18.32 MB / 10.47 GB, free: 60.75 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03321/42.99, allocations: 21.33 MB / 10.49 GB, free: 57.5 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.031/43.02, allocations: 19.69 MB / 10.51 GB, free: 57.16 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001588/43.02, allocations: 15.34 kB / 10.51 GB, free: 57.16 MB / 1.01 GB Notification: Performance of matching and sorting (n=1424) (initialization): time 1.774/44.8, allocations: 146.3 MB / 10.65 GB, free: 77.52 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.007354/44.8, allocations: 35.3 MB / 10.68 GB, free: 40.6 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002484/44.8, allocations: 52.36 kB / 10.68 GB, free: 40.6 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6441/45.45, allocations: 146.9 MB / 10.83 GB, free: 40.39 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0214/45.47, allocations: 3.668 MB / 10.83 GB, free: 40.36 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.152/45.62, allocations: 73.2 MB / 10.9 GB, free: 32.86 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1218/45.74, allocations: 7.286 MB / 10.91 GB, free: 31.7 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008565/45.75, allocations: 1.44 MB / 10.91 GB, free: 31.7 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/45.75, allocations: 4.25 kB / 10.91 GB, free: 31.7 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.851/47.6, allocations: 145.1 MB / 11.05 GB, free: 99.14 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003153/47.6, allocations: 50.81 kB / 11.05 GB, free: 99.14 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6413/48.24, allocations: 147.3 MB / 11.2 GB, free: 99.04 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01877/48.26, allocations: 3.644 MB / 11.2 GB, free: 99 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1534/48.42, allocations: 77.01 MB / 11.28 GB, free: 93.98 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1179/48.53, allocations: 7.256 MB / 11.28 GB, free: 92.81 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007835/48.54, allocations: 1.396 MB / 11.28 GB, free: 92.81 MB / 1.057 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1064): * Single equations (assignments): 1046 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 0 * 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.01035/48.55, allocations: 0.6709 MB / 11.29 GB, free: 92.7 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008689/48.56, allocations: 1.481 MB / 11.29 GB, free: 92.7 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.466/50.03, allocations: 132.9 MB / 11.42 GB, free: 106.1 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2289/50.26, allocations: 69.47 MB / 11.48 GB, free: 105.6 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001561/50.26, allocations: 29.36 kB / 11.48 GB, free: 105.6 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2241/50.48, allocations: 68.65 MB / 11.55 GB, free: 104.9 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3255/50.81, allocations: 154.2 MB / 11.7 GB, free: 98.35 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001442/50.81, allocations: 4.422 kB / 11.7 GB, free: 98.35 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01372/50.82, allocations: 2.113 MB / 11.7 GB, free: 98.35 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.3/52.12, allocations: 97.5 MB / 11.8 GB, free: 110.6 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004079/52.12, allocations: 0.6545 MB / 11.8 GB, free: 110.6 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1462/52.27, allocations: 77 MB / 11.88 GB, free: 101.7 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.08614/52.36, allocations: 39.76 MB / 11.91 GB, free: 94.73 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2378/52.59, allocations: 99.32 MB / 12.01 GB, free: 93.25 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02109/52.62, allocations: 6.69 MB / 12.02 GB, free: 92.34 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00817/52.62, allocations: 230.1 kB / 12.02 GB, free: 92.33 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.06824/52.69, allocations: 3.9 MB / 12.02 GB, free: 91.68 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004858/52.7, allocations: 0.9778 MB / 12.02 GB, free: 91.66 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003706/52.7, allocations: 0.7209 MB / 12.02 GB, free: 91.66 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.02162/52.72, allocations: 10.83 MB / 12.03 GB, free: 91.16 MB / 1.057 GB Notification: Performance of sort global known variables: time 5.81e-07/52.72, allocations: 0 / 12.03 GB, free: 91.16 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.1308/52.85, allocations: 50.98 MB / 12.08 GB, free: 55.13 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[32],$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]) * 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 (667): * Single equations (assignments): 644 * 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: 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: 1 {(28,89.3%) 28} * Non-linear torn systems: 2 {14 89,42 208} Notification: Performance of Backend phase and start with SimCode phase: time 0.01294/52.87, allocations: 5.588 MB / 12.09 GB, free: 50.53 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.9504/53.82, allocations: 77.04 MB / 12.16 GB, free: 108.9 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.082e-05/53.82, allocations: 7 kB / 12.16 GB, free: 108.9 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.103/53.92, allocations: 50.45 MB / 12.21 GB, free: 106.6 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05182/53.97, allocations: 7.404 MB / 12.22 GB, free: 106.3 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09475/54.07, allocations: 46.7 MB / 12.27 GB, free: 98.99 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02358/54.09, allocations: 10.4 MB / 12.28 GB, free: 97.59 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.04985/54.14, allocations: 11.41 MB / 12.29 GB, free: 96.69 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.012/54.15, allocations: 1.863 MB / 12.29 GB, free: 96.68 MB / 1.057 GB Notification: Performance of SimCode: time 2.284e-06/54.15, allocations: 0 / 12.29 GB, free: 96.68 MB / 1.057 GB Notification: Performance of Templates: time 2.72/56.87, allocations: 0.6425 GB / 12.93 GB, free: 15.59 MB / 1.136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified2.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified2.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified2.pipe 2>&1)