Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.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.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.767/1.767, allocations: 292.6 MB / 307.5 MB, free: 5.207 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.001233/0.001233, allocations: 177.1 kB / 377.1 MB, free: 1.52 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.796/1.796, allocations: 205.4 MB / 0.6367 GB, free: 8.629 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.0009511/0.0009512, allocations: 89.97 kB / 0.751 GB, free: 63.03 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003625/0.0003625, allocations: 8 kB / 0.8748 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2969, allocations: 116.3 MB / 0.9884 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.591/1.888, allocations: 467.2 MB / 1.445 GB, free: 264.4 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/1.888, allocations: 103.5 kB / 1.445 GB, free: 264.4 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 49.63/51.52, allocations: 10.53 GB / 11.98 GB, free: 83.27 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.104e-06/51.52, allocations: 0 / 11.98 GB, free: 83.27 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.003556/51.52, allocations: 354.3 kB / 11.98 GB, free: 83.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: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.08182/51.6, allocations: 17.44 MB / 11.99 GB, free: 77.36 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/51.6, allocations: 11.62 kB / 11.99 GB, free: 77.36 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01526/51.62, allocations: 2.072 MB / 12 GB, free: 76.57 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06625/51.68, allocations: 18.46 MB / 12.01 GB, free: 74.47 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001166/51.68, allocations: 0.5325 MB / 12.02 GB, free: 74.46 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004355/51.69, allocations: 0.7145 MB / 12.02 GB, free: 74.45 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03014/51.72, allocations: 8.493 MB / 12.02 GB, free: 73.39 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004542/51.72, allocations: 20.64 kB / 12.02 GB, free: 73.39 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003401/51.72, allocations: 252.9 kB / 12.02 GB, free: 73.39 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001705/51.72, allocations: 155 kB / 12.02 GB, free: 73.39 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02099/51.74, allocations: 6.965 MB / 12.03 GB, free: 73.34 MB / 1.214 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.1066/51.85, allocations: 49.83 MB / 12.08 GB, free: 46.7 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01169/51.86, allocations: 4.922 MB / 12.09 GB, free: 46.53 MB / 1.214 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.04592/51.91, allocations: 13.48 MB / 12.1 GB, free: 43.53 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007792/51.92, allocations: 3.374 MB / 12.1 GB, free: 43.42 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01397/51.93, allocations: 2.449 MB / 12.1 GB, free: 43.21 MB / 1.214 GB Notification: Performance of pre-optimization done (n=327): time 2.774e-05/51.93, allocations: 0 / 12.1 GB, free: 43.21 MB / 1.214 GB Notification: Performance of matching and sorting (n=516): time 0.1687/52.1, allocations: 46.76 MB / 12.15 GB, free: 35.15 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.689e-05/52.1, allocations: 108.9 kB / 12.15 GB, free: 35.07 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03579/52.13, allocations: 12.17 MB / 12.16 GB, free: 34.35 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.002794/52.14, allocations: 179.9 kB / 12.16 GB, free: 34.32 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.01056/52.15, allocations: 6.22 MB / 12.17 GB, free: 32.88 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.003457/52.15, allocations: 1.739 MB / 12.17 GB, free: 31.76 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009876/52.15, allocations: 143.2 kB / 12.17 GB, free: 31.76 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0006162/52.15, allocations: 0.5992 MB / 12.17 GB, free: 31.44 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01049/52.16, allocations: 4.601 MB / 12.17 GB, free: 31.39 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01338/52.18, allocations: 7.523 MB / 12.18 GB, free: 27.93 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0136/52.19, allocations: 5.364 MB / 12.19 GB, free: 27.66 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001486/52.19, allocations: 15.47 kB / 12.19 GB, free: 27.66 MB / 1.214 GB Notification: Performance of matching and sorting (n=959) (initialization): time 0.03926/52.23, allocations: 15.29 MB / 12.2 GB, free: 26.44 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.01602/52.25, allocations: 38.51 MB / 12.24 GB, free: 18.38 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003011/52.25, allocations: 60.75 kB / 12.24 GB, free: 18.38 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008152/52.25, allocations: 3.502 MB / 12.24 GB, free: 18.23 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01128/52.27, allocations: 1.861 MB / 12.25 GB, free: 18.21 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01466/52.28, allocations: 12.37 MB / 12.26 GB, free: 27.45 MB / 1.261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01845/52.3, allocations: 1.208 MB / 12.26 GB, free: 27.34 MB / 1.261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002912/52.3, allocations: 487.8 kB / 12.26 GB, free: 27.34 MB / 1.261 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/52.3, allocations: 6 kB / 12.26 GB, free: 27.34 MB / 1.261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03488/52.34, allocations: 14.29 MB / 12.27 GB, free: 26.79 MB / 1.261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002597/52.34, allocations: 60.69 kB / 12.27 GB, free: 26.79 MB / 1.261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008778/52.35, allocations: 3.794 MB / 12.28 GB, free: 26.63 MB / 1.261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01004/52.36, allocations: 1.85 MB / 12.28 GB, free: 26.62 MB / 1.261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02672/52.38, allocations: 17.35 MB / 12.3 GB, free: 20.8 MB / 1.261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01928/52.4, allocations: 1.175 MB / 12.3 GB, free: 20.7 MB / 1.261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002584/52.41, allocations: 447.5 kB / 12.3 GB, free: 20.7 MB / 1.261 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 (738): * Single equations (assignments): 721 * 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 2,1 4,1 2,1 2,6 82,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.0116/52.42, allocations: 3.121 MB / 12.3 GB, free: 20.47 MB / 1.261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004838/52.42, allocations: 1.201 MB / 12.3 GB, free: 19.8 MB / 1.261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03512/52.46, allocations: 13.71 MB / 12.31 GB, free: 18.98 MB / 1.261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001059/52.46, allocations: 63.5 kB / 12.31 GB, free: 18.98 MB / 1.261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.183e-05/52.46, allocations: 9.109 kB / 12.31 GB, free: 18.98 MB / 1.261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02514/52.48, allocations: 11.08 MB / 12.33 GB, free: 18.27 MB / 1.261 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.07115/52.55, allocations: 25.5 MB / 12.35 GB, free: 16.05 MB / 1.261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.415e-05/52.55, allocations: 10.41 kB / 12.35 GB, free: 16.05 MB / 1.261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006781/52.56, allocations: 1.167 MB / 12.35 GB, free: 16.03 MB / 1.261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005537/52.57, allocations: 2.389 MB / 12.35 GB, free: 15.89 MB / 1.261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001474/52.57, allocations: 168.1 kB / 12.35 GB, free: 15.89 MB / 1.261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01049/52.58, allocations: 10.98 MB / 12.36 GB, free: 25.16 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.166e-05/52.58, allocations: 11.38 kB / 12.36 GB, free: 25.16 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04036/52.62, allocations: 20.54 MB / 12.38 GB, free: 20.89 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01217/52.63, allocations: 2.544 MB / 12.39 GB, free: 20.1 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005988/52.64, allocations: 112.8 kB / 12.39 GB, free: 20.1 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0149/52.65, allocations: 0.9709 MB / 12.39 GB, free: 20.01 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001683/52.65, allocations: 392 kB / 12.39 GB, free: 19.99 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008804/52.65, allocations: 258.5 kB / 12.39 GB, free: 19.99 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.02236/52.68, allocations: 9.289 MB / 12.4 GB, free: 19.59 MB / 1.276 GB Notification: Performance of sort global known variables: time 3.91e-07/52.68, allocations: 4 kB / 12.4 GB, free: 19.58 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.0427/52.72, allocations: 6.009 MB / 12.4 GB, free: 18.83 MB / 1.276 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (439): * Single equations (assignments): 414 * 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: 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 {5 77,1 2,1 4,1 2,1 2,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.008521/52.73, allocations: 5.017 MB / 12.41 GB, free: 16.25 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.04504/52.77, allocations: 18.33 MB / 12.43 GB, free: 3.441 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 5.471e-05/52.77, allocations: 4 kB / 12.43 GB, free: 3.438 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 1.026/53.8, allocations: 5.198 MB / 12.43 GB, free: 134.1 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03633/53.84, allocations: 5.954 MB / 12.44 GB, free: 134.1 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06574/53.9, allocations: 27.58 MB / 12.46 GB, free: 123.8 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01411/53.92, allocations: 7.071 MB / 12.47 GB, free: 122.8 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.0239/53.94, allocations: 3.868 MB / 12.48 GB, free: 122.7 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005643/53.95, allocations: 0.9482 MB / 12.48 GB, free: 122.7 MB / 1.276 GB Notification: Performance of SimCode: time 1.232e-06/53.95, allocations: 0 / 12.48 GB, free: 122.7 MB / 1.276 GB Notification: Performance of Templates: time 0.4373/54.38, allocations: 273.4 MB / 12.74 GB, free: 96.96 MB / 1.276 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.sim & ./Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)