Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.466/2.466, allocations: 284.8 MB / 297.3 MB, free: 6.344 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001502/0.001502, allocations: 180.9 kB / 365.7 MB, free: 2.602 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.9/1.9, allocations: 205.2 MB / 0.6241 GB, free: 8.18 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001071/0.00107, allocations: 95.39 kB / 0.7372 GB, free: 40.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.067e-05/4.071e-05, allocations: 4 kB / 0.8574 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8238/0.8238, allocations: 115.2 MB / 0.97 GB, free: 78.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.351/2.175, allocations: 464 MB / 1.423 GB, free: 93.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/2.176, allocations: 89.83 kB / 1.423 GB, free: 93.36 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 49.87/52.05, allocations: 8.698 GB / 10.12 GB, free: 106.3 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.495e-06/52.05, allocations: 0 / 10.12 GB, free: 106.3 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.00557/52.05, allocations: 0.5136 MB / 10.12 GB, free: 106.2 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.102/52.15, allocations: 14.15 MB / 10.14 GB, free: 100.4 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 7.134e-05/52.15, allocations: 14.66 kB / 10.14 GB, free: 100.4 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02923/52.18, allocations: 2.305 MB / 10.14 GB, free: 99.34 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1549/52.34, allocations: 23.25 MB / 10.16 GB, free: 96.76 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001793/52.34, allocations: 0.7252 MB / 10.16 GB, free: 96.74 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00915/52.35, allocations: 1.021 MB / 10.16 GB, free: 96.72 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06464/52.41, allocations: 16.62 MB / 10.18 GB, free: 94.87 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006078/52.41, allocations: 12.5 kB / 10.18 GB, free: 94.86 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005779/52.42, allocations: 360.9 kB / 10.18 GB, free: 94.86 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003184/52.42, allocations: 223.8 kB / 10.18 GB, free: 94.86 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05316/52.47, allocations: 19.46 MB / 10.2 GB, free: 94.8 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 0.2155/52.69, allocations: 79.35 MB / 10.28 GB, free: 61.24 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0286/52.72, allocations: 11.68 MB / 10.29 GB, free: 60.8 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02137/52.74, allocations: 8.995 MB / 10.3 GB, free: 60.73 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.1176/52.86, allocations: 33.24 MB / 10.33 GB, free: 52.05 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02634/52.88, allocations: 9.142 MB / 10.34 GB, free: 51.88 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08833/52.97, allocations: 15.14 MB / 10.35 GB, free: 51.2 MB / 1.214 GB Notification: Performance of pre-optimization done (n=582): time 4.886e-05/52.97, allocations: 4 kB / 10.35 GB, free: 51.2 MB / 1.214 GB Notification: Performance of matching and sorting (n=812): time 1.489/54.46, allocations: 171 MB / 10.52 GB, free: 1.723 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001153/54.46, allocations: 2.525 MB / 10.52 GB, free: 14.61 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0533/54.52, allocations: 14.74 MB / 10.54 GB, free: 0.668 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.005651/54.52, allocations: 261.6 kB / 10.54 GB, free: 420 kB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 1.245/55.77, allocations: 7.906 MB / 10.54 GB, free: 119.6 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.007882/55.77, allocations: 2.825 MB / 10.55 GB, free: 119.2 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005072/55.78, allocations: 209.6 kB / 10.55 GB, free: 119.2 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.001461/55.78, allocations: 0.7439 MB / 10.55 GB, free: 118.9 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03086/55.81, allocations: 9.555 MB / 10.56 GB, free: 118.9 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03401/55.85, allocations: 13.24 MB / 10.57 GB, free: 115 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0336/55.88, allocations: 10.9 MB / 10.58 GB, free: 114.7 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001771/55.88, allocations: 18.58 kB / 10.58 GB, free: 114.7 MB / 1.229 GB Notification: Performance of matching and sorting (n=1424) (initialization): time 1.285/57.16, allocations: 128.3 MB / 10.71 GB, free: 112.8 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.007309/57.17, allocations: 36.7 MB / 10.74 GB, free: 75.39 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007248/57.17, allocations: 119.5 kB / 10.74 GB, free: 75.39 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434/58.61, allocations: 146.9 MB / 10.89 GB, free: 59.88 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02764/58.63, allocations: 2.699 MB / 10.89 GB, free: 57.37 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2716/58.91, allocations: 73.2 MB / 10.96 GB, free: 1.785 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04273/58.95, allocations: 1.557 MB / 10.96 GB, free: 456 kB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00651/58.96, allocations: 0.92 MB / 10.96 GB, free: 15.61 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/58.96, allocations: 4 kB / 10.96 GB, free: 15.61 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 2.667/61.62, allocations: 127 MB / 11.09 GB, free: 131 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005729/61.62, allocations: 114.1 kB / 11.09 GB, free: 131 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365/62.99, allocations: 147.3 MB / 11.23 GB, free: 129.2 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02402/63.01, allocations: 2.672 MB / 11.23 GB, free: 129.2 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2954/63.31, allocations: 77 MB / 11.31 GB, free: 116.4 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03611/63.34, allocations: 1.527 MB / 11.31 GB, free: 115.9 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005854/63.35, allocations: 0.873 MB / 11.31 GB, free: 115.6 MB / 1.26 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 (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 {14 90,14 90} Notification: Performance of prepare postOptimizeDAE: time 0.009708/63.36, allocations: 0.7222 MB / 11.31 GB, free: 115.5 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008912/63.37, allocations: 1.554 MB / 11.31 GB, free: 115.5 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3495/63.72, allocations: 49.25 MB / 11.36 GB, free: 77.87 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002376/63.72, allocations: 99.45 kB / 11.36 GB, free: 77.78 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001391/63.72, allocations: 31.95 kB / 11.36 GB, free: 77.75 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3147/64.03, allocations: 43.25 MB / 11.4 GB, free: 42.09 MB / 1.26 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3916/64.42, allocations: 67.74 MB / 11.47 GB, free: 5.957 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001502/64.42, allocations: 6.438 kB / 11.47 GB, free: 5.953 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.219/65.64, allocations: 1.825 MB / 11.47 GB, free: 137.8 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3495/65.99, allocations: 42.26 MB / 11.51 GB, free: 137.7 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003024/66, allocations: 341.9 kB / 11.51 GB, free: 137.7 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1046/66.1, allocations: 30.54 MB / 11.54 GB, free: 130.7 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/66.1, allocations: 6.562 kB / 11.54 GB, free: 130.7 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3486/66.45, allocations: 56.76 MB / 11.6 GB, free: 129.4 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01772/66.47, allocations: 3.655 MB / 11.6 GB, free: 129.2 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008918/66.48, allocations: 279.2 kB / 11.6 GB, free: 129.2 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02923/66.5, allocations: 1.326 MB / 11.6 GB, free: 129.2 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004703/66.51, allocations: 0.5922 MB / 11.6 GB, free: 129.2 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003339/66.51, allocations: 357.9 kB / 11.6 GB, free: 129.2 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.03401/66.55, allocations: 11.26 MB / 11.61 GB, free: 128.6 MB / 1.276 GB Notification: Performance of sort global known variables: time 1.313e-06/66.55, allocations: 0.9844 kB / 11.61 GB, free: 128.6 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.07122/66.62, allocations: 8.803 MB / 11.62 GB, free: 128.6 MB / 1.276 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 (717): * Single equations (assignments): 693 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * 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 89,14 90} Notification: Performance of Backend phase and start with SimCode phase: time 0.01613/66.63, allocations: 5.64 MB / 11.63 GB, free: 126.7 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.1384/66.77, allocations: 41.67 MB / 11.67 GB, free: 123.3 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 2.317e-05/66.77, allocations: 12.22 kB / 11.67 GB, free: 123.3 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.03446/66.81, allocations: 10.68 MB / 11.68 GB, free: 123 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06811/66.88, allocations: 7.763 MB / 11.69 GB, free: 122.9 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08714/66.96, allocations: 29.41 MB / 11.72 GB, free: 117.2 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01898/66.98, allocations: 9.442 MB / 11.73 GB, free: 116.1 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.05925/67.04, allocations: 8.971 MB / 11.73 GB, free: 115.9 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006393/67.05, allocations: 0.974 MB / 11.73 GB, free: 115.9 MB / 1.276 GB Notification: Performance of SimCode: time 1.313e-06/67.05, allocations: 3.156 kB / 11.73 GB, free: 115.9 MB / 1.276 GB Notification: Performance of Templates: time 3.693/70.74, allocations: 0.4975 GB / 12.23 GB, free: 129.3 MB / 1.292 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe 2>&1)