Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.611/1.611, allocations: 289.9 MB / 297.4 MB, free: 6.367 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001276/0.001276, allocations: 176.9 kB / 366.7 MB, free: 1.656 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.628/1.628, allocations: 205.2 MB / 0.626 GB, free: 7.176 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008474/0.0008475, allocations: 96.16 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.069e-05/2.073e-05, allocations: 4 kB / 0.8597 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6496/0.6496, allocations: 116.3 MB / 0.9732 GB, free: 76.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.072/1.722, allocations: 464.4 MB / 1.427 GB, free: 88.49 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/1.722, allocations: 94.08 kB / 1.427 GB, free: 88.45 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 34.73/36.45, allocations: 8.659 GB / 10.09 GB, free: 73.84 MB / 1.214 GB Notification: Performance of FrontEnd: time 1.974e-06/36.45, allocations: 4 kB / 10.09 GB, free: 73.84 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.004745/36.46, allocations: 0.5142 MB / 10.09 GB, free: 73.68 MB / 1.214 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.05656/36.52, allocations: 14.14 MB / 10.1 GB, free: 67.46 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/36.52, allocations: 11.5 kB / 10.1 GB, free: 67.46 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01696/36.53, allocations: 2.301 MB / 10.1 GB, free: 66.43 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07682/36.61, allocations: 23.26 MB / 10.12 GB, free: 53.94 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008014/36.61, allocations: 260 kB / 10.13 GB, free: 53.69 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00609/36.62, allocations: 0.578 MB / 10.13 GB, free: 53.11 MB / 1.214 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03444/36.65, allocations: 19.71 MB / 10.14 GB, free: 35.3 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04114/36.69, allocations: 15.44 MB / 10.16 GB, free: 19.38 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006275/36.69, allocations: 11.94 kB / 10.16 GB, free: 19.37 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004514/36.7, allocations: 20 kB / 10.16 GB, free: 19.35 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002129/36.7, allocations: 215.9 kB / 10.16 GB, free: 19.14 MB / 1.214 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 1.256/37.95, allocations: 77.98 MB / 10.24 GB, free: 59.91 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02102/37.97, allocations: 12.4 MB / 10.25 GB, free: 59.49 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01537/37.99, allocations: 9.279 MB / 10.26 GB, free: 59.43 MB / 1.214 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.09164/38.08, allocations: 33.01 MB / 10.29 GB, free: 50.86 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02015/38.1, allocations: 8.969 MB / 10.3 GB, free: 50.7 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04982/38.15, allocations: 14.96 MB / 10.31 GB, free: 50.54 MB / 1.214 GB Notification: Performance of pre-optimization done (n=582): time 7.15e-05/38.15, allocations: 2.25 kB / 10.31 GB, free: 50.54 MB / 1.214 GB Notification: Performance of matching and sorting (n=584): time 0.6681/38.82, allocations: 138.9 MB / 10.45 GB, free: 46.07 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009911/38.82, allocations: 2.508 MB / 10.45 GB, free: 43.06 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03834/38.86, allocations: 13.86 MB / 10.46 GB, free: 42.3 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.00502/38.86, allocations: 47.45 kB / 10.46 GB, free: 42.27 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.01149/38.88, allocations: 7.909 MB / 10.47 GB, free: 40.88 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.00506/38.88, allocations: 1.991 MB / 10.47 GB, free: 39.84 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00259/38.88, allocations: 0 / 10.47 GB, free: 39.84 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0007199/38.88, allocations: 0.6818 MB / 10.48 GB, free: 39.51 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01287/38.9, allocations: 8.409 MB / 10.48 GB, free: 39.48 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01745/38.92, allocations: 11.86 MB / 10.49 GB, free: 35.51 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01985/38.94, allocations: 9.859 MB / 10.5 GB, free: 35.29 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001353/38.94, allocations: 16.28 kB / 10.5 GB, free: 35.29 MB / 1.214 GB Notification: Performance of matching and sorting (n=1196) (initialization): time 0.5853/39.52, allocations: 124.3 MB / 10.63 GB, free: 0.5469 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.165/40.69, allocations: 36.54 MB / 10.66 GB, free: 89.43 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006631/40.69, allocations: 119.3 kB / 10.66 GB, free: 89.43 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6335/41.32, allocations: 143.4 MB / 10.8 GB, free: 89.38 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0123/41.33, allocations: 2.131 MB / 10.8 GB, free: 89.38 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1411/41.47, allocations: 67.26 MB / 10.87 GB, free: 83.46 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02281/41.5, allocations: 0.9524 MB / 10.87 GB, free: 83.43 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00577/41.5, allocations: 0.8351 MB / 10.87 GB, free: 83.43 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/41.5, allocations: 5.062 kB / 10.87 GB, free: 83.43 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5877/42.09, allocations: 121.6 MB / 10.99 GB, free: 65.77 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006004/42.09, allocations: 123.4 kB / 10.99 GB, free: 65.66 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617/43.71, allocations: 143.4 MB / 11.13 GB, free: 149.9 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01034/43.72, allocations: 2.107 MB / 11.13 GB, free: 149.9 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1622/43.88, allocations: 69.39 MB / 11.2 GB, free: 146.6 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02014/43.9, allocations: 0.9252 MB / 11.2 GB, free: 146.6 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00503/43.91, allocations: 0.7953 MB / 11.2 GB, free: 146.6 MB / 1.292 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 (937): * Single equations (assignments): 859 * 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: 2 * 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: 1 {14 90} Notification: Performance of prepare postOptimizeDAE: time 0.00758/43.91, allocations: 357 kB / 11.2 GB, free: 146.5 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006699/43.92, allocations: 1.471 MB / 11.2 GB, free: 146.5 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1852/44.1, allocations: 43.6 MB / 11.25 GB, free: 145.9 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001428/44.1, allocations: 74.34 kB / 11.25 GB, free: 145.9 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001097/44.11, allocations: 29.78 kB / 11.25 GB, free: 145.9 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1619/44.27, allocations: 38.46 MB / 11.28 GB, free: 145.2 MB / 1.292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2096/44.48, allocations: 58.17 MB / 11.34 GB, free: 141.2 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.34e-05/44.48, allocations: 1.562 kB / 11.34 GB, free: 141.2 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007062/44.48, allocations: 1.131 MB / 11.34 GB, free: 141.2 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1831/44.67, allocations: 40.75 MB / 11.38 GB, free: 141.1 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00231/44.67, allocations: 152.7 kB / 11.38 GB, free: 141.1 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05272/44.72, allocations: 27.54 MB / 11.41 GB, free: 135.2 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.303e-06/44.72, allocations: 4.312 kB / 11.41 GB, free: 135.2 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1761/44.9, allocations: 49.04 MB / 11.46 GB, free: 112.5 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01106/44.91, allocations: 3.179 MB / 11.46 GB, free: 110.6 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005399/44.91, allocations: 78.73 kB / 11.46 GB, free: 110.5 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01382/44.93, allocations: 0.8047 MB / 11.46 GB, free: 110.1 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002137/44.93, allocations: 426.3 kB / 11.46 GB, free: 109.8 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009274/44.93, allocations: 257.2 kB / 11.46 GB, free: 109.7 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.01751/44.95, allocations: 10.41 MB / 11.47 GB, free: 104.1 MB / 1.292 GB Notification: Performance of sort global known variables: time 3.71e-07/44.95, allocations: 2.969 kB / 11.47 GB, free: 104.1 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.0444/44.99, allocations: 7.886 MB / 11.48 GB, free: 96.8 MB / 1.292 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (527): * Single equations (assignments): 505 * 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: 2 * 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: 1 {14 90} Notification: Performance of Backend phase and start with SimCode phase: time 0.008535/45, allocations: 5.279 MB / 11.48 GB, free: 92.66 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.06195/45.06, allocations: 35.61 MB / 11.52 GB, free: 73.13 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 1.811e-05/45.06, allocations: 10.62 kB / 11.52 GB, free: 73.12 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.01633/45.08, allocations: 8.337 MB / 11.53 GB, free: 68.91 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03927/45.12, allocations: 7.566 MB / 11.53 GB, free: 64.99 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04953/45.17, allocations: 26.13 MB / 11.56 GB, free: 44.6 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01181/45.18, allocations: 8.967 MB / 11.57 GB, free: 38.38 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.03415/45.22, allocations: 8.216 MB / 11.58 GB, free: 33.17 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003731/45.22, allocations: 0.8361 MB / 11.58 GB, free: 32.42 MB / 1.292 GB Notification: Performance of SimCode: time 1.322e-06/45.22, allocations: 0 / 11.58 GB, free: 32.42 MB / 1.292 GB Notification: Performance of Templates: time 2.589/47.81, allocations: 429.8 MB / 12 GB, free: 10.74 MB / 1.292 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2.sim & ./Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe 2>&1)