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.573/1.573, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001124/0.001124, allocations: 184.9 kB / 361.4 MB, free: 6.887 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.817/1.817, allocations: 205.2 MB / 0.62 GB, free: 11.69 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.000876/0.0008762, allocations: 95.16 kB / 0.733 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.816e-05/1.819e-05, allocations: 4 kB / 0.8517 GB, free: 2.781 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7435/0.7436, allocations: 115.3 MB / 0.9644 GB, free: 78.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.188/1.932, allocations: 464.2 MB / 1.418 GB, free: 104.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/1.932, allocations: 102.3 kB / 1.418 GB, free: 104.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 43.57/45.5, allocations: 10.28 GB / 11.7 GB, free: 50.54 MB / 1.214 GB Notification: Performance of FrontEnd: time 1.423e-06/45.5, allocations: 0 / 11.7 GB, free: 50.54 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.003346/45.5, allocations: 387.4 kB / 11.7 GB, free: 50.45 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: 1775 * Number of variables: 1775 Notification: Performance of Generate backend data structure: time 0.04882/45.55, allocations: 12.11 MB / 11.71 GB, free: 44.04 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/45.55, allocations: 10.31 kB / 11.71 GB, free: 44.04 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01546/45.57, allocations: 2.181 MB / 11.71 GB, free: 43.14 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06181/45.63, allocations: 20.07 MB / 11.73 GB, free: 31.55 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005635/45.63, allocations: 224 kB / 11.73 GB, free: 31.34 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004354/45.63, allocations: 499.6 kB / 11.73 GB, free: 30.85 MB / 1.214 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0285/45.66, allocations: 18.34 MB / 11.75 GB, free: 13.46 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03556/45.7, allocations: 12.98 MB / 11.76 GB, free: 248 kB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005048/45.7, allocations: 15.84 kB / 11.76 GB, free: 232 kB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003777/45.7, allocations: 8 kB / 11.76 GB, free: 224 kB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000229/45.7, allocations: 188 kB / 11.76 GB, free: 36 kB / 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.141/46.84, allocations: 73.1 MB / 11.84 GB, free: 34.99 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01505/46.86, allocations: 10.29 MB / 11.85 GB, free: 34.84 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01224/46.87, allocations: 8.811 MB / 11.85 GB, free: 34.77 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.06793/46.94, allocations: 30.15 MB / 11.88 GB, free: 26.07 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01315/46.95, allocations: 7.962 MB / 11.89 GB, free: 25.97 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04528/47, allocations: 14.85 MB / 11.91 GB, free: 25.86 MB / 1.214 GB Notification: Performance of pre-optimization done (n=427): time 7.398e-05/47, allocations: 2.062 kB / 11.91 GB, free: 25.86 MB / 1.214 GB Notification: Performance of matching and sorting (n=429): time 0.09815/47.09, allocations: 37 MB / 11.94 GB, free: 22.98 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.35e-05/47.1, allocations: 97.66 kB / 11.94 GB, free: 22.91 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02651/47.12, allocations: 11.85 MB / 11.95 GB, free: 22.24 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.004036/47.13, allocations: 39.33 kB / 11.95 GB, free: 22.21 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.009662/47.14, allocations: 6.6 MB / 11.96 GB, free: 21.06 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.004388/47.14, allocations: 1.413 MB / 11.96 GB, free: 20.32 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003038/47.14, allocations: 0 / 11.96 GB, free: 20.32 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0006931/47.14, allocations: 0.5654 MB / 11.96 GB, free: 20 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01121/47.15, allocations: 6.941 MB / 11.97 GB, free: 19.98 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01434/47.17, allocations: 9.551 MB / 11.98 GB, free: 16.89 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01721/47.19, allocations: 8.061 MB / 11.99 GB, free: 16.78 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001467/47.19, allocations: 14.59 kB / 11.99 GB, free: 16.78 MB / 1.214 GB Notification: Performance of matching and sorting (n=851) (initialization): time 0.05579/47.24, allocations: 22.82 MB / 12.01 GB, free: 15.83 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.01295/47.26, allocations: 34.64 MB / 12.04 GB, free: 11.79 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002462/47.26, allocations: 52.72 kB / 12.04 GB, free: 11.79 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6349/47.89, allocations: 143.5 MB / 12.18 GB, free: 10.73 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008687/47.9, allocations: 1.485 MB / 12.18 GB, free: 10.73 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04564/47.95, allocations: 24.1 MB / 12.21 GB, free: 0 / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02107/47.97, allocations: 0.8878 MB / 12.21 GB, free: 15.42 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00522/47.97, allocations: 0.7462 MB / 12.21 GB, free: 14.98 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/47.97, allocations: 5.875 kB / 12.21 GB, free: 14.97 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.527/49.5, allocations: 103.5 MB / 12.31 GB, free: 104.9 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002516/49.5, allocations: 53.31 kB / 12.31 GB, free: 104.9 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6272/50.13, allocations: 143.6 MB / 12.45 GB, free: 103.2 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00825/50.13, allocations: 1.476 MB / 12.45 GB, free: 103.2 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04567/50.18, allocations: 25.93 MB / 12.48 GB, free: 100.6 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01951/50.2, allocations: 0.8514 MB / 12.48 GB, free: 100.5 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004376/50.2, allocations: 0.7067 MB / 12.48 GB, free: 100.5 MB / 1.26 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pmpSouth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pmpNorth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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 (661): * Single equations (assignments): 649 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {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: 2 {32 38,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.005672/50.21, allocations: 301.1 kB / 12.48 GB, free: 100.4 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00539/50.22, allocations: 1.223 MB / 12.48 GB, free: 100.4 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0434/50.26, allocations: 17.04 MB / 12.5 GB, free: 99.71 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-05/50.26, allocations: 56.31 kB / 12.5 GB, free: 99.71 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.942e-05/50.26, allocations: 4.531 kB / 12.5 GB, free: 99.71 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02299/50.28, allocations: 12.21 MB / 12.51 GB, free: 99.28 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.07108/50.35, allocations: 33.48 MB / 12.54 GB, free: 93.3 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.701e-05/50.35, allocations: 0 / 12.54 GB, free: 93.3 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004724/50.36, allocations: 0.8003 MB / 12.54 GB, free: 93.3 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1763/50.53, allocations: 40.72 MB / 12.58 GB, free: 86.12 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001719/50.54, allocations: 76.36 kB / 12.58 GB, free: 86.08 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01684/50.55, allocations: 11.92 MB / 12.59 GB, free: 77.65 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/50.55, allocations: 5.594 kB / 12.59 GB, free: 77.65 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07528/50.63, allocations: 28.54 MB / 12.62 GB, free: 58.74 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01121/50.64, allocations: 2.709 MB / 12.62 GB, free: 56.66 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005264/50.64, allocations: 7.984 kB / 12.62 GB, free: 56.65 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01352/50.66, allocations: 0.6606 MB / 12.63 GB, free: 56.01 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001698/50.66, allocations: 317.7 kB / 12.63 GB, free: 55.73 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007915/50.66, allocations: 219.4 kB / 12.63 GB, free: 55.55 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.0172/50.68, allocations: 8.862 MB / 12.63 GB, free: 49.73 MB / 1.26 GB Notification: Performance of sort global known variables: time 4.6e-07/50.68, allocations: 0 / 12.63 GB, free: 49.73 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.04867/50.73, allocations: 6.295 MB / 12.64 GB, free: 43.93 MB / 1.26 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (373): * Single equations (assignments): 353 * 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: 2 * 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: 0 * Non-linear torn systems: 2 {30 38,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.01003/50.74, allocations: 5.238 MB / 12.65 GB, free: 39.17 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.05724/50.79, allocations: 28.11 MB / 12.67 GB, free: 21.43 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 1.357e-05/50.79, allocations: 0 / 12.67 GB, free: 21.43 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.01485/50.81, allocations: 6.974 MB / 12.68 GB, free: 17.6 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03923/50.85, allocations: 6.643 MB / 12.69 GB, free: 12.28 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05107/50.9, allocations: 20.01 MB / 12.71 GB, free: 11.12 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.135/53.03, allocations: 7.273 MB / 12.71 GB, free: 106 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.04495/53.08, allocations: 6.121 MB / 12.72 GB, free: 105.9 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003689/53.08, allocations: 0.6827 MB / 12.72 GB, free: 105.9 MB / 1.276 GB Notification: Performance of SimCode: time 7.32e-07/53.08, allocations: 0 / 12.72 GB, free: 105.9 MB / 1.276 GB Notification: Performance of Templates: time 0.5349/53.62, allocations: 381 MB / 13.09 GB, free: 15.91 MB / 1.276 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)