Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.676/1.676, allocations: 285.4 MB / 298 MB, free: 5.996 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.001208/0.001208, allocations: 172.9 kB / 366.4 MB, free: 2.102 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.689/1.689, allocations: 205.1 MB / 0.6248 GB, free: 7.746 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.0008977/0.000898, allocations: 91.98 kB / 0.738 GB, free: 40.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.046e-05/3.048e-05, allocations: 4 kB / 0.8583 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7911/0.7912, allocations: 115.3 MB / 0.9709 GB, free: 77.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.373/2.164, allocations: 464.9 MB / 1.425 GB, free: 91.34 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/2.164, allocations: 92.52 kB / 1.425 GB, free: 91.29 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 44.87/47.03, allocations: 10.33 GB / 11.75 GB, free: 63.02 MB / 1.229 GB Notification: Performance of FrontEnd: time 3.757e-06/47.03, allocations: 0 / 11.75 GB, free: 63.02 MB / 1.229 GB Notification: Performance of Transformations before backend: time 0.004391/47.04, allocations: 383.1 kB / 11.75 GB, free: 62.94 MB / 1.229 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1775 * Number of variables: 1775 Notification: Performance of Generate backend data structure: time 0.0491/47.08, allocations: 12.12 MB / 11.77 GB, free: 57.43 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 7.464e-05/47.08, allocations: 6.094 kB / 11.77 GB, free: 57.43 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01499/47.1, allocations: 2.187 MB / 11.77 GB, free: 56.54 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06399/47.16, allocations: 20.07 MB / 11.79 GB, free: 54 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001031/47.16, allocations: 0.5993 MB / 11.79 GB, free: 53.98 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004702/47.17, allocations: 0.8156 MB / 11.79 GB, free: 53.98 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03509/47.2, allocations: 13.99 MB / 11.8 GB, free: 53.14 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002504/47.21, allocations: 11.14 kB / 11.8 GB, free: 53.14 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002301/47.21, allocations: 289.5 kB / 11.8 GB, free: 53.14 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001343/47.21, allocations: 185.5 kB / 11.8 GB, free: 53.13 MB / 1.229 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0293/47.24, allocations: 18.05 MB / 11.82 GB, free: 48.4 MB / 1.229 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.1314/47.37, allocations: 74.27 MB / 11.89 GB, free: 0 / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 1.072/48.44, allocations: 9.525 MB / 11.9 GB, free: 93.81 MB / 1.245 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0155/48.46, allocations: 8.485 MB / 11.91 GB, free: 93.78 MB / 1.245 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.07068/48.53, allocations: 30.28 MB / 11.94 GB, free: 85.64 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01666/48.54, allocations: 8.1 MB / 11.95 GB, free: 85.53 MB / 1.245 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0514/48.59, allocations: 14.98 MB / 11.96 GB, free: 85.53 MB / 1.245 GB Notification: Performance of pre-optimization done (n=427): time 5.12e-05/48.59, allocations: 0 / 11.96 GB, free: 85.53 MB / 1.245 GB Notification: Performance of matching and sorting (n=613): time 0.2554/48.85, allocations: 73.42 MB / 12.03 GB, free: 78.85 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.298e-05/48.85, allocations: 115.3 kB / 12.03 GB, free: 78.78 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03328/48.88, allocations: 12.61 MB / 12.05 GB, free: 78.05 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.00437/48.89, allocations: 190.1 kB / 12.05 GB, free: 78.02 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.01158/48.9, allocations: 6.66 MB / 12.05 GB, free: 76.89 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.006052/48.91, allocations: 2.072 MB / 12.06 GB, free: 75.83 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003775/48.91, allocations: 161 kB / 12.06 GB, free: 75.83 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.0007546/48.91, allocations: 0.618 MB / 12.06 GB, free: 75.51 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01491/48.92, allocations: 7.81 MB / 12.06 GB, free: 75.49 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01861/48.94, allocations: 10.6 MB / 12.07 GB, free: 72.36 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01687/48.96, allocations: 8.795 MB / 12.08 GB, free: 72.2 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000104/48.96, allocations: 14.88 kB / 12.08 GB, free: 72.2 MB / 1.245 GB Notification: Performance of matching and sorting (n=1035) (initialization): time 0.07265/49.03, allocations: 25.96 MB / 12.11 GB, free: 71.13 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.009056/49.04, allocations: 34.79 MB / 12.14 GB, free: 35.08 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002721/49.04, allocations: 53.22 kB / 12.14 GB, free: 35.08 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6337/49.68, allocations: 146.4 MB / 12.29 GB, free: 28.1 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01292/49.69, allocations: 1.956 MB / 12.29 GB, free: 26.71 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04265/49.73, allocations: 24.61 MB / 12.31 GB, free: 11.85 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02398/49.76, allocations: 1.363 MB / 12.31 GB, free: 11.04 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00474/49.76, allocations: 0.8114 MB / 12.31 GB, free: 10.56 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/49.76, allocations: 5.25 kB / 12.31 GB, free: 10.55 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05181/49.81, allocations: 25.23 MB / 12.34 GB, free: 15.28 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002185/49.81, allocations: 56.06 kB / 12.34 GB, free: 15.23 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762/51.58, allocations: 146.8 MB / 12.48 GB, free: 101.9 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00989/51.59, allocations: 1.945 MB / 12.48 GB, free: 101.9 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05085/51.64, allocations: 28.87 MB / 12.51 GB, free: 98.21 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02095/51.66, allocations: 1.323 MB / 12.51 GB, free: 98.21 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004388/51.66, allocations: 0.7731 MB / 12.51 GB, free: 98.21 MB / 1.26 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * 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 (761): * Single equations (assignments): 747 * Array equations: 4 * 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: 0 * Non-linear torn systems: 3 {32 38,5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.005086/51.67, allocations: 0.5578 MB / 12.51 GB, free: 98.11 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00479/51.67, allocations: 1.293 MB / 12.52 GB, free: 98.1 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07673/51.75, allocations: 26.7 MB / 12.54 GB, free: 97.57 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001423/51.75, allocations: 79.72 kB / 12.54 GB, free: 97.57 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.584e-05/51.75, allocations: 0 / 12.54 GB, free: 97.57 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05562/51.8, allocations: 21.12 MB / 12.56 GB, free: 97.07 MB / 1.26 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 postOpt removeSimpleEquations (simulation): time 0.1733/51.98, allocations: 59.98 MB / 12.62 GB, free: 90.55 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.639e-05/51.98, allocations: 8.016 kB / 12.62 GB, free: 90.55 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007171/51.98, allocations: 1.355 MB / 12.62 GB, free: 90.54 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1756/52.16, allocations: 41.92 MB / 12.66 GB, free: 90.26 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002156/52.16, allocations: 202 kB / 12.66 GB, free: 90.26 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0196/52.18, allocations: 13.63 MB / 12.68 GB, free: 85.09 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.877e-05/52.18, allocations: 12.09 kB / 12.68 GB, free: 85.09 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0995/52.28, allocations: 38.63 MB / 12.71 GB, free: 66.77 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01163/52.29, allocations: 3.094 MB / 12.72 GB, free: 64.95 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005548/52.3, allocations: 134.4 kB / 12.72 GB, free: 64.91 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01724/52.32, allocations: 1.057 MB / 12.72 GB, free: 64.28 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002461/52.32, allocations: 480.5 kB / 12.72 GB, free: 64.04 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00165/52.32, allocations: 301.1 kB / 12.72 GB, free: 63.84 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.02306/52.34, allocations: 9.603 MB / 12.73 GB, free: 58.44 MB / 1.26 GB Notification: Performance of sort global known variables: time 6.01e-07/52.34, allocations: 0 / 12.73 GB, free: 58.44 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.05718/52.4, allocations: 7.166 MB / 12.74 GB, free: 52.2 MB / 1.26 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 8 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * 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 (537): * Single equations (assignments): 515 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * 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: 0 * Non-linear torn systems: 3 {7 74,30 38,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.01076/52.41, allocations: 5.556 MB / 12.74 GB, free: 47.55 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.07135/52.48, allocations: 32.94 MB / 12.77 GB, free: 30.71 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 2.149e-05/52.48, allocations: 7.031 kB / 12.77 GB, free: 30.71 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.0196/52.5, allocations: 8.939 MB / 12.78 GB, free: 26.16 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03989/52.54, allocations: 6.818 MB / 12.79 GB, free: 22.39 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05317/52.6, allocations: 22.88 MB / 12.81 GB, free: 5.438 MB / 1.26 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01278/52.61, allocations: 7.676 MB / 12.82 GB, free: 0.7305 MB / 1.26 GB Notification: Performance of simCode: alias equations: time 0.05689/52.67, allocations: 8.161 MB / 12.83 GB, free: 14.62 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00519/52.67, allocations: 0.7943 MB / 12.83 GB, free: 13.88 MB / 1.276 GB Notification: Performance of SimCode: time 1.473e-06/52.67, allocations: 0 / 12.83 GB, free: 13.88 MB / 1.276 GB Notification: Performance of Templates: time 2.733/55.4, allocations: 450.7 MB / 13.27 GB, free: 2.062 MB / 1.323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)