Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.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.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.547/2.547, allocations: 287.5 MB / 302.4 MB, free: 8.418 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.001504/0.001503, allocations: 167.6 kB / 371 MB, free: 10.78 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.984/1.984, allocations: 205.4 MB / 0.6297 GB, free: 10.48 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001144/0.001144, allocations: 102 kB / 0.743 GB, free: 6.457 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004935/0.0004935, allocations: 15 kB / 0.8658 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2134, allocations: 115.3 MB / 0.9784 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.097/2.311, allocations: 466 MB / 1.433 GB, free: 272.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003968/2.311, allocations: 102 kB / 1.434 GB, free: 272.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 59.58/61.89, allocations: 10.53 GB / 11.97 GB, free: 84.07 MB / 1.214 GB Notification: Performance of FrontEnd: time 3.326e-06/61.89, allocations: 0 / 11.97 GB, free: 84.07 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.00375/61.89, allocations: 349.6 kB / 11.97 GB, free: 84.07 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.1/61.99, allocations: 17.45 MB / 11.98 GB, free: 79.34 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/61.99, allocations: 9.75 kB / 11.98 GB, free: 79.34 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01797/62.01, allocations: 2.069 MB / 11.99 GB, free: 78.56 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08885/62.1, allocations: 18.47 MB / 12 GB, free: 76.45 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001263/62.1, allocations: 0.5319 MB / 12 GB, free: 76.44 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004305/62.1, allocations: 0.7071 MB / 12 GB, free: 76.44 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03397/62.14, allocations: 8.5 MB / 12.01 GB, free: 75.38 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004512/62.14, allocations: 22.53 kB / 12.01 GB, free: 75.38 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003066/62.14, allocations: 250 kB / 12.01 GB, free: 75.38 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002131/62.14, allocations: 161.9 kB / 12.01 GB, free: 75.38 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02709/62.17, allocations: 6.961 MB / 12.02 GB, free: 75.33 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.1235/62.29, allocations: 49.83 MB / 12.07 GB, free: 48.68 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01672/62.31, allocations: 4.914 MB / 12.07 GB, free: 48.52 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.05643/62.36, allocations: 13.5 MB / 12.09 GB, free: 45.51 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01144/62.38, allocations: 3.367 MB / 12.09 GB, free: 45.4 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01931/62.4, allocations: 2.447 MB / 12.09 GB, free: 45.2 MB / 1.214 GB Notification: Performance of pre-optimization done (n=327): time 2.837e-05/62.4, allocations: 1.938 kB / 12.09 GB, free: 45.2 MB / 1.214 GB Notification: Performance of matching and sorting (n=516): time 0.2726/62.67, allocations: 46.75 MB / 12.14 GB, free: 37.33 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.982e-05/62.67, allocations: 107.2 kB / 12.14 GB, free: 37.26 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03831/62.71, allocations: 12.18 MB / 12.15 GB, free: 36.53 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.002843/62.71, allocations: 176.9 kB / 12.15 GB, free: 36.5 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.0167/62.73, allocations: 6.221 MB / 12.16 GB, free: 35.05 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.005187/62.73, allocations: 1.74 MB / 12.16 GB, free: 33.93 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003201/62.73, allocations: 145.6 kB / 12.16 GB, free: 33.93 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.00102/62.74, allocations: 0.5987 MB / 12.16 GB, free: 33.61 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02899/62.77, allocations: 4.601 MB / 12.16 GB, free: 33.6 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03326/62.8, allocations: 7.526 MB / 12.17 GB, free: 30.24 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0321/62.83, allocations: 5.367 MB / 12.18 GB, free: 30.05 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001886/62.83, allocations: 18.56 kB / 12.18 GB, free: 30.05 MB / 1.214 GB Notification: Performance of matching and sorting (n=959) (initialization): time 0.08721/62.92, allocations: 15.28 MB / 12.19 GB, free: 28.84 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.01464/62.93, allocations: 38.51 MB / 12.23 GB, free: 20.78 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003647/62.93, allocations: 59.09 kB / 12.23 GB, free: 20.78 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01411/62.95, allocations: 3.506 MB / 12.23 GB, free: 20.63 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02007/62.97, allocations: 1.862 MB / 12.23 GB, free: 20.61 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02187/62.99, allocations: 12.36 MB / 12.25 GB, free: 13.85 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02494/63.01, allocations: 1.204 MB / 12.25 GB, free: 13.73 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002797/63.02, allocations: 493.9 kB / 12.25 GB, free: 13.73 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/63.02, allocations: 3.5 kB / 12.25 GB, free: 13.73 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05468/63.07, allocations: 14.29 MB / 12.26 GB, free: 13.19 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002601/63.07, allocations: 61.88 kB / 12.26 GB, free: 13.19 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01415/63.09, allocations: 3.801 MB / 12.27 GB, free: 13.04 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01665/63.1, allocations: 1.845 MB / 12.27 GB, free: 13.02 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0405/63.14, allocations: 17.35 MB / 12.28 GB, free: 23.21 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02343/63.17, allocations: 1.175 MB / 12.29 GB, free: 23.11 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002597/63.17, allocations: 451 kB / 12.29 GB, free: 23.11 MB / 1.26 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.01198/63.18, allocations: 3.122 MB / 12.29 GB, free: 22.88 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004657/63.19, allocations: 1.203 MB / 12.29 GB, free: 22.21 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05411/63.24, allocations: 13.72 MB / 12.3 GB, free: 21.39 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000118/63.24, allocations: 66.16 kB / 12.3 GB, free: 21.38 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-05/63.24, allocations: 6.141 kB / 12.3 GB, free: 21.38 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04296/63.28, allocations: 11.08 MB / 12.31 GB, free: 20.67 MB / 1.26 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.08462/63.37, allocations: 25.5 MB / 12.34 GB, free: 18.45 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.387e-05/63.37, allocations: 10.89 kB / 12.34 GB, free: 18.45 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01171/63.38, allocations: 1.157 MB / 12.34 GB, free: 18.43 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01007/63.39, allocations: 2.381 MB / 12.34 GB, free: 18.3 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001661/63.39, allocations: 175.3 kB / 12.34 GB, free: 18.3 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01509/63.41, allocations: 10.98 MB / 12.35 GB, free: 11.56 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.276e-05/63.41, allocations: 8.406 kB / 12.35 GB, free: 11.56 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06807/63.48, allocations: 20.54 MB / 12.37 GB, free: 7.23 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01193/63.49, allocations: 2.548 MB / 12.38 GB, free: 6.438 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00622/63.49, allocations: 115.3 kB / 12.38 GB, free: 6.434 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02008/63.51, allocations: 0.9667 MB / 12.38 GB, free: 6.34 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001965/63.52, allocations: 401.5 kB / 12.38 GB, free: 6.316 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00122/63.52, allocations: 252.2 kB / 12.38 GB, free: 6.316 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.02725/63.54, allocations: 9.288 MB / 12.39 GB, free: 5.664 MB / 1.26 GB Notification: Performance of sort global known variables: time 1.133e-06/63.54, allocations: 0 / 12.39 GB, free: 5.664 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.05583/63.6, allocations: 6.01 MB / 12.39 GB, free: 4.914 MB / 1.26 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.01235/63.61, allocations: 5.023 MB / 12.4 GB, free: 2.316 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.0765/63.69, allocations: 18.47 MB / 12.42 GB, free: 9.012 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-05/63.69, allocations: 4 kB / 12.42 GB, free: 9.008 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.02187/63.71, allocations: 5.185 MB / 12.42 GB, free: 4.703 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05248/63.76, allocations: 5.967 MB / 12.43 GB, free: 484 kB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.405/66.17, allocations: 27.57 MB / 12.45 GB, free: 123.9 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01869/66.19, allocations: 7.057 MB / 12.46 GB, free: 122.9 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.03125/66.22, allocations: 3.874 MB / 12.46 GB, free: 122.8 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006887/66.23, allocations: 0.9509 MB / 12.47 GB, free: 122.8 MB / 1.276 GB Notification: Performance of SimCode: time 2.986e-06/66.23, allocations: 1.844 kB / 12.47 GB, free: 122.8 MB / 1.276 GB Notification: Performance of Templates: time 0.6838/66.91, allocations: 273.4 MB / 12.73 GB, free: 99.67 MB / 1.276 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)