Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified6") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.718/1.718, allocations: 297.8 MB / 313.7 MB, free: 156 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009767/0.0009767, allocations: 176.3 kB / 384.6 MB, free: 10.9 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 223.2 MB / 0.6626 GB, free: 4.344 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008405/0.0008405, allocations: 91.88 kB / 0.7808 GB, free: 50.6 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004354/0.0004355, allocations: 13.66 kB / 0.9088 GB, free: 2.922 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8178/0.8183, allocations: 120.3 MB / 1.026 GB, free: 55.87 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.079/1.897, allocations: 456.1 MB / 1.472 GB, free: 239.8 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003924/1.898, allocations: 102.8 kB / 1.472 GB, free: 239.8 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 43.73/45.62, allocations: 10.66 GB / 12.13 GB, free: 72 MB / 1.245 GB Notification: Performance of FrontEnd: time 3.697e-06/45.62, allocations: 0 / 12.13 GB, free: 72 MB / 1.245 GB Notification: Performance of Transformations before backend: time 0.003851/45.63, allocations: 350.6 kB / 12.13 GB, free: 71.92 MB / 1.245 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.06717/45.69, allocations: 17.36 MB / 12.15 GB, free: 63.86 MB / 1.245 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/45.69, allocations: 11.31 kB / 12.15 GB, free: 63.86 MB / 1.245 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0139/45.71, allocations: 2.09 MB / 12.15 GB, free: 63.02 MB / 1.245 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05872/45.77, allocations: 18.76 MB / 12.17 GB, free: 49.14 MB / 1.245 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001004/45.77, allocations: 0.5276 MB / 12.17 GB, free: 48.61 MB / 1.245 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00406/45.77, allocations: 0.719 MB / 12.17 GB, free: 47.89 MB / 1.245 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03182/45.8, allocations: 8.534 MB / 12.18 GB, free: 39.02 MB / 1.245 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004924/45.81, allocations: 23.75 kB / 12.18 GB, free: 38.99 MB / 1.245 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003122/45.81, allocations: 256 kB / 12.18 GB, free: 38.74 MB / 1.245 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001765/45.81, allocations: 152 kB / 12.18 GB, free: 38.59 MB / 1.245 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02139/45.83, allocations: 6.956 MB / 12.18 GB, free: 31.63 MB / 1.245 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 1.168/47, allocations: 50.6 MB / 12.23 GB, free: 65.53 MB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009397/47.01, allocations: 4.912 MB / 12.24 GB, free: 65.39 MB / 1.245 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006869/47.01, allocations: 3.761 MB / 12.24 GB, free: 65.34 MB / 1.245 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.03671/47.05, allocations: 13.58 MB / 12.25 GB, free: 62.51 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005353/47.06, allocations: 3.386 MB / 12.26 GB, free: 62.4 MB / 1.245 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01143/47.07, allocations: 2.382 MB / 12.26 GB, free: 62.4 MB / 1.245 GB Notification: Performance of pre-optimization done (n=326): time 2.108e-05/47.07, allocations: 1.062 kB / 12.26 GB, free: 62.4 MB / 1.245 GB Notification: Performance of matching and sorting (n=514): time 0.1879/47.26, allocations: 53.14 MB / 12.31 GB, free: 56.05 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/47.26, allocations: 113.6 kB / 12.31 GB, free: 55.98 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03527/47.29, allocations: 13.67 MB / 12.33 GB, free: 55.24 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.002136/47.29, allocations: 173.3 kB / 12.33 GB, free: 55.21 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.007328/47.3, allocations: 6.206 MB / 12.33 GB, free: 54.13 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.002635/47.3, allocations: 1.741 MB / 12.33 GB, free: 53.25 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007174/47.3, allocations: 141.4 kB / 12.33 GB, free: 53.25 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.0004648/47.3, allocations: 0.5989 MB / 12.33 GB, free: 52.93 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01059/47.32, allocations: 4.701 MB / 12.34 GB, free: 52.91 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01437/47.33, allocations: 7.661 MB / 12.35 GB, free: 49.55 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02215/47.35, allocations: 11.4 MB / 12.36 GB, free: 47.23 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001137/47.35, allocations: 19.28 kB / 12.36 GB, free: 47.23 MB / 1.245 GB Notification: Performance of matching and sorting (n=957) (initialization): time 0.04738/47.4, allocations: 16.41 MB / 12.37 GB, free: 46.18 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.001376/47.4, allocations: 1.938 MB / 12.38 GB, free: 43.86 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001627/47.4, allocations: 61.45 kB / 12.38 GB, free: 43.86 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0153/47.42, allocations: 4.782 MB / 12.38 GB, free: 43.76 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01078/47.43, allocations: 1.961 MB / 12.38 GB, free: 43.76 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01373/47.44, allocations: 12.96 MB / 12.39 GB, free: 37 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01679/47.46, allocations: 1.218 MB / 12.4 GB, free: 36.97 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002333/47.46, allocations: 493.5 kB / 12.4 GB, free: 36.97 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/47.46, allocations: 3.031 kB / 12.4 GB, free: 36.97 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03912/47.5, allocations: 14.99 MB / 12.41 GB, free: 36.61 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002904/47.5, allocations: 61.84 kB / 12.41 GB, free: 36.61 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01306/47.51, allocations: 4.561 MB / 12.42 GB, free: 36.53 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009454/47.52, allocations: 1.946 MB / 12.42 GB, free: 36.53 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02622/47.55, allocations: 17.31 MB / 12.43 GB, free: 30.93 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01565/47.56, allocations: 1.182 MB / 12.44 GB, free: 30.86 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00234/47.57, allocations: 455.6 kB / 12.44 GB, free: 30.86 MB / 1.245 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.01061/47.58, allocations: 3.139 MB / 12.44 GB, free: 30.66 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004437/47.58, allocations: 1.207 MB / 12.44 GB, free: 30 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03877/47.62, allocations: 14.56 MB / 12.45 GB, free: 29.21 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001135/47.62, allocations: 73.91 kB / 12.45 GB, free: 29.2 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.817e-05/47.62, allocations: 1.375 kB / 12.45 GB, free: 29.2 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03117/47.65, allocations: 11.9 MB / 12.47 GB, free: 28.46 MB / 1.245 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.07658/47.73, allocations: 26.68 MB / 12.49 GB, free: 26.25 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.191e-05/47.73, allocations: 9 kB / 12.49 GB, free: 26.25 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007054/47.74, allocations: 1.152 MB / 12.49 GB, free: 26.23 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01112/47.75, allocations: 3.463 MB / 12.5 GB, free: 26.04 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00152/47.75, allocations: 169.1 kB / 12.5 GB, free: 26.04 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01297/47.76, allocations: 11.65 MB / 12.51 GB, free: 35.35 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/47.76, allocations: 8.062 kB / 12.51 GB, free: 35.35 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0462/47.81, allocations: 19.52 MB / 12.53 GB, free: 33.32 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01107/47.82, allocations: 2.58 MB / 12.53 GB, free: 32.54 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005826/47.82, allocations: 114.1 kB / 12.53 GB, free: 32.54 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01353/47.84, allocations: 0.9854 MB / 12.53 GB, free: 32.45 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001802/47.84, allocations: 393.2 kB / 12.53 GB, free: 32.44 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001409/47.84, allocations: 258.5 kB / 12.53 GB, free: 32.44 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.02186/47.86, allocations: 9.267 MB / 12.54 GB, free: 32.08 MB / 1.26 GB Notification: Performance of sort global known variables: time 1.713e-06/47.86, allocations: 0 / 12.54 GB, free: 32.08 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.04433/47.91, allocations: 6.006 MB / 12.55 GB, free: 32.08 MB / 1.26 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.01061/47.92, allocations: 4.931 MB / 12.55 GB, free: 29.86 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.04885/47.97, allocations: 18.73 MB / 12.57 GB, free: 29.11 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 3.841e-05/47.97, allocations: 3.562 kB / 12.57 GB, free: 29.11 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.01519/47.98, allocations: 5.443 MB / 12.57 GB, free: 28.94 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05632/48.04, allocations: 5.892 MB / 12.58 GB, free: 28.63 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05385/48.09, allocations: 27.89 MB / 12.61 GB, free: 13.63 MB / 1.26 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01256/48.11, allocations: 6.852 MB / 12.61 GB, free: 9.27 MB / 1.26 GB Notification: Performance of simCode: alias equations: time 0.02939/48.13, allocations: 3.883 MB / 12.62 GB, free: 6.457 MB / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006408/48.14, allocations: 0.9425 MB / 12.62 GB, free: 5.68 MB / 1.26 GB Notification: Performance of SimCode: time 1.714e-06/48.14, allocations: 0 / 12.62 GB, free: 5.68 MB / 1.26 GB Notification: Performance of Templates: time 2.469/50.61, allocations: 280.3 MB / 12.89 GB, free: 105.9 MB / 1.292 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified6.sim & ./Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)