Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.284/1.284, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 187.2 kB / 327.6 MB, free: 2.156 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.449/1.449, allocations: 205.4 MB / 0.5785 GB, free: 20.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007229/0.000723, allocations: 89.5 kB / 0.6831 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003669/0.0003669, allocations: 14.28 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2022, allocations: 106.3 MB / 0.9012 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7896/0.9918, allocations: 458.7 MB / 1.349 GB, free: 5.941 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.9921, allocations: 102 kB / 1.349 GB, free: 5.891 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 34.3/35.29, allocations: 10.18 GB / 11.53 GB, free: 87.82 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.367e-06/35.29, allocations: 0 / 11.53 GB, free: 87.82 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.002716/35.3, allocations: 351.2 kB / 11.53 GB, free: 87.75 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.0577/35.35, allocations: 17.29 MB / 11.54 GB, free: 81.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/35.35, allocations: 7.25 kB / 11.54 GB, free: 81.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01274/35.37, allocations: 2.079 MB / 11.55 GB, free: 80.38 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04981/35.42, allocations: 18.67 MB / 11.56 GB, free: 77.48 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001032/35.42, allocations: 0.5318 MB / 11.57 GB, free: 77.46 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003894/35.42, allocations: 0.7141 MB / 11.57 GB, free: 77.46 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02415/35.45, allocations: 8.499 MB / 11.57 GB, free: 76.31 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003878/35.45, allocations: 23.22 kB / 11.57 GB, free: 76.29 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002131/35.45, allocations: 247.8 kB / 11.57 GB, free: 76.29 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001523/35.45, allocations: 158 kB / 11.57 GB, free: 76.29 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0165/35.47, allocations: 6.896 MB / 11.58 GB, free: 76.14 MB / 1.151 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.08312/35.55, allocations: 50.41 MB / 11.63 GB, free: 47.71 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01014/35.56, allocations: 4.846 MB / 11.64 GB, free: 47.53 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006179/35.57, allocations: 3.717 MB / 11.64 GB, free: 46.52 MB / 1.151 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.03306/35.6, allocations: 13.46 MB / 11.65 GB, free: 39.86 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006239/35.6, allocations: 3.346 MB / 11.66 GB, free: 38.78 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0113/35.62, allocations: 2.38 MB / 11.66 GB, free: 38.32 MB / 1.151 GB Notification: Performance of pre-optimization done (n=326): time 1.886e-05/35.62, allocations: 3.969 kB / 11.66 GB, free: 38.32 MB / 1.151 GB Notification: Performance of matching and sorting (n=514): time 0.9628/36.58, allocations: 51.03 MB / 11.71 GB, free: 94.29 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.195e-05/36.58, allocations: 107.9 kB / 11.71 GB, free: 94.22 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02763/36.61, allocations: 13.53 MB / 11.72 GB, free: 93.55 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.001813/36.61, allocations: 170.2 kB / 11.72 GB, free: 93.52 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.006947/36.62, allocations: 6.227 MB / 11.73 GB, free: 93.34 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.00222/36.62, allocations: 1.731 MB / 11.73 GB, free: 93.34 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006726/36.62, allocations: 149.3 kB / 11.73 GB, free: 93.34 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0003486/36.62, allocations: 0.5969 MB / 11.73 GB, free: 93.02 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007474/36.63, allocations: 4.486 MB / 11.73 GB, free: 93 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008725/36.64, allocations: 7.446 MB / 11.74 GB, free: 89.66 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01694/36.65, allocations: 11.05 MB / 11.75 GB, free: 87.34 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.602e-05/36.65, allocations: 16.16 kB / 11.75 GB, free: 87.34 MB / 1.151 GB Notification: Performance of matching and sorting (n=957) (initialization): time 0.03614/36.69, allocations: 16.02 MB / 11.77 GB, free: 86.88 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001189/36.69, allocations: 1.932 MB / 11.77 GB, free: 84.56 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.241e-05/36.69, allocations: 61.34 kB / 11.77 GB, free: 84.56 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01354/36.7, allocations: 4.772 MB / 11.77 GB, free: 84.47 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009472/36.71, allocations: 1.89 MB / 11.78 GB, free: 84.47 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01189/36.72, allocations: 12.97 MB / 11.79 GB, free: 77.72 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01399/36.74, allocations: 1.128 MB / 11.79 GB, free: 77.69 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002006/36.74, allocations: 498.6 kB / 11.79 GB, free: 77.69 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/36.74, allocations: 5.969 kB / 11.79 GB, free: 77.69 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02815/36.77, allocations: 14.61 MB / 11.8 GB, free: 77.32 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002226/36.77, allocations: 59.62 kB / 11.8 GB, free: 77.32 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01161/36.78, allocations: 4.557 MB / 11.81 GB, free: 77.24 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008552/36.79, allocations: 1.868 MB / 11.81 GB, free: 77.24 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0212/36.81, allocations: 17.32 MB / 11.83 GB, free: 71.66 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01344/36.82, allocations: 1.106 MB / 11.83 GB, free: 71.63 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001743/36.83, allocations: 452.2 kB / 11.83 GB, free: 71.63 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 269 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (742): * Single equations (assignments): 725 * 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: 6 * 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: 6 {1 4,1 2,1 2,1 2,7 78,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.008462/36.83, allocations: 3.121 MB / 11.83 GB, free: 71.45 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003352/36.84, allocations: 1.209 MB / 11.83 GB, free: 70.78 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03101/36.87, allocations: 14.14 MB / 11.85 GB, free: 70.21 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.615e-05/36.87, allocations: 65.86 kB / 11.85 GB, free: 70.21 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/36.87, allocations: 0 / 11.85 GB, free: 70.21 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02305/36.89, allocations: 11.52 MB / 11.86 GB, free: 69.61 MB / 1.151 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.05883/36.95, allocations: 26.13 MB / 11.88 GB, free: 67.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.945e-05/36.95, allocations: 13.03 kB / 11.88 GB, free: 67.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005787/36.96, allocations: 1.081 MB / 11.89 GB, free: 67.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0101/36.97, allocations: 3.475 MB / 11.89 GB, free: 67.49 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001226/36.97, allocations: 175.1 kB / 11.89 GB, free: 67.49 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009666/36.98, allocations: 11.64 MB / 11.9 GB, free: 60.82 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.109e-05/36.98, allocations: 18.27 kB / 11.9 GB, free: 60.82 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03412/37.01, allocations: 18.91 MB / 11.92 GB, free: 59.03 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008182/37.02, allocations: 2.528 MB / 11.92 GB, free: 58.25 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003632/37.02, allocations: 110.3 kB / 11.92 GB, free: 58.25 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01034/37.03, allocations: 0.91 MB / 11.92 GB, free: 58.24 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001007/37.04, allocations: 399.5 kB / 11.92 GB, free: 58.22 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006853/37.04, allocations: 251 kB / 11.92 GB, free: 58.22 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.01806/37.05, allocations: 9.17 MB / 11.93 GB, free: 57.87 MB / 1.151 GB Notification: Performance of sort global known variables: time 5.81e-07/37.05, allocations: 0 / 11.93 GB, free: 57.87 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.03717/37.09, allocations: 5.919 MB / 11.94 GB, free: 57.87 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (440): * Single equations (assignments): 415 * 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: 7 * 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: 7 {9 78,1 4,1 2,1 2,1 2,1 1,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.008016/37.1, allocations: 4.894 MB / 11.94 GB, free: 56.01 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.03769/37.14, allocations: 18.12 MB / 11.96 GB, free: 55.14 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.34e-05/37.14, allocations: 0 / 11.96 GB, free: 55.14 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.01074/37.15, allocations: 5.248 MB / 11.97 GB, free: 54.96 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04463/37.19, allocations: 5.96 MB / 11.97 GB, free: 54.63 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0402/37.23, allocations: 27.52 MB / 12 GB, free: 43.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00759/37.24, allocations: 6.817 MB / 12 GB, free: 42.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.01731/37.26, allocations: 3.854 MB / 12.01 GB, free: 41.97 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003887/37.26, allocations: 0.9471 MB / 12.01 GB, free: 41.95 MB / 1.151 GB Notification: Performance of SimCode: time 6.01e-07/37.26, allocations: 0 / 12.01 GB, free: 41.95 MB / 1.151 GB Notification: Performance of Templates: time 1.128/38.39, allocations: 280.2 MB / 12.28 GB, free: 117.7 MB / 1.182 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)