Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.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.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.596/1.596, allocations: 289.7 MB / 302.3 MB, free: 2.152 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.00114/0.00114, allocations: 176.8 kB / 371.6 MB, free: 3.395 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.683/1.683, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0008583/0.0008585, allocations: 89.53 kB / 0.745 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.691e-05/3.695e-05, allocations: 4 kB / 0.8662 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2902, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.882/2.172, allocations: 466.5 MB / 1.435 GB, free: 257.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/2.172, allocations: 93.55 kB / 1.435 GB, free: 257.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 46.22/48.39, allocations: 10.27 GB / 11.7 GB, free: 88.57 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.615e-06/48.39, allocations: 1.594 kB / 11.7 GB, free: 88.57 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.003599/48.39, allocations: 350.5 kB / 11.7 GB, free: 88.52 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.04712/48.44, allocations: 11.15 MB / 11.71 GB, free: 83.68 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/48.44, allocations: 10.97 kB / 11.71 GB, free: 83.68 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01539/48.46, allocations: 2.221 MB / 11.72 GB, free: 82.89 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06773/48.52, allocations: 18.61 MB / 11.73 GB, free: 80.79 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00103/48.53, allocations: 0.5277 MB / 11.74 GB, free: 80.78 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004784/48.53, allocations: 0.7091 MB / 11.74 GB, free: 80.78 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03606/48.57, allocations: 13.08 MB / 11.75 GB, free: 80.17 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005087/48.57, allocations: 7.859 kB / 11.75 GB, free: 80.17 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003669/48.57, allocations: 249 kB / 11.75 GB, free: 80.17 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002187/48.57, allocations: 158.9 kB / 11.75 GB, free: 80.17 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03388/48.6, allocations: 17.53 MB / 11.77 GB, free: 80.12 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 removeSimpleEquations (simulation): time 0.1293/48.73, allocations: 70.03 MB / 11.83 GB, free: 48.31 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01545/48.75, allocations: 9.458 MB / 11.84 GB, free: 48.14 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01473/48.76, allocations: 8.441 MB / 11.85 GB, free: 48.07 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.0689/48.83, allocations: 29.48 MB / 11.88 GB, free: 39.99 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01452/48.85, allocations: 8.114 MB / 11.89 GB, free: 39.88 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04331/48.89, allocations: 15.23 MB / 11.9 GB, free: 39.12 MB / 1.214 GB Notification: Performance of pre-optimization done (n=393): time 4.493e-05/48.89, allocations: 0 / 11.9 GB, free: 39.12 MB / 1.214 GB Notification: Performance of matching and sorting (n=581): time 0.2356/49.13, allocations: 76.13 MB / 11.98 GB, free: 19.44 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.502e-05/49.13, allocations: 110.4 kB / 11.98 GB, free: 19.37 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02752/49.15, allocations: 11.86 MB / 11.99 GB, free: 10.5 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.003956/49.16, allocations: 183.7 kB / 11.99 GB, free: 10.31 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.007996/49.17, allocations: 6.012 MB / 12 GB, free: 4.832 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.004771/49.17, allocations: 1.953 MB / 12 GB, free: 3.062 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002557/49.17, allocations: 146.3 kB / 12 GB, free: 2.922 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0005317/49.17, allocations: 0.5963 MB / 12 GB, free: 2.41 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01978/49.19, allocations: 8.265 MB / 12.01 GB, free: 12.8 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01923/49.21, allocations: 10.38 MB / 12.02 GB, free: 2.496 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.145/50.36, allocations: 10.25 MB / 12.03 GB, free: 106.3 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.885e-05/50.36, allocations: 12.5 kB / 12.03 GB, free: 106.3 MB / 1.229 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.05786/50.42, allocations: 26.11 MB / 12.05 GB, free: 106 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.005143/50.42, allocations: 29.66 MB / 12.08 GB, free: 75.34 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001373/50.42, allocations: 44.31 kB / 12.08 GB, free: 75.34 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7105/51.13, allocations: 170.4 MB / 12.25 GB, free: 74.39 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01025/51.14, allocations: 1.76 MB / 12.25 GB, free: 74.37 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04204/51.18, allocations: 26.57 MB / 12.28 GB, free: 69.21 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0199/51.2, allocations: 1.278 MB / 12.28 GB, free: 69.14 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00373/51.21, allocations: 0.8013 MB / 12.28 GB, free: 69.14 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/51.21, allocations: 5 kB / 12.28 GB, free: 69.14 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04141/51.25, allocations: 25.18 MB / 12.3 GB, free: 68.71 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000178/51.25, allocations: 45.41 kB / 12.3 GB, free: 68.71 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7014/51.95, allocations: 170.6 MB / 12.47 GB, free: 7.582 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01003/51.96, allocations: 1.752 MB / 12.47 GB, free: 5.945 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087/53.05, allocations: 30.92 MB / 12.5 GB, free: 166.6 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02015/53.07, allocations: 1.253 MB / 12.5 GB, free: 166.6 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005059/53.07, allocations: 0.7596 MB / 12.5 GB, free: 166.6 MB / 1.292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * 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 (662): * Single equations (assignments): 648 * 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: 3 * 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: 3 {39 57,6 79,8 77} Notification: Performance of prepare postOptimizeDAE: time 0.004909/53.08, allocations: 0.5157 MB / 12.5 GB, free: 166.5 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004836/53.08, allocations: 1.201 MB / 12.5 GB, free: 166.5 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05718/53.14, allocations: 23.34 MB / 12.53 GB, free: 166.1 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001373/53.14, allocations: 71.75 kB / 12.53 GB, free: 166.1 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.638e-05/53.14, allocations: 0 / 12.53 GB, free: 166.1 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03472/53.18, allocations: 17.81 MB / 12.54 GB, free: 165.5 MB / 1.292 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.1534/53.33, allocations: 54.12 MB / 12.6 GB, free: 159.2 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.414e-05/53.33, allocations: 7.469 kB / 12.6 GB, free: 159.2 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006823/53.34, allocations: 1.257 MB / 12.6 GB, free: 159.2 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2051/53.54, allocations: 48.88 MB / 12.65 GB, free: 159.1 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002164/53.54, allocations: 201.3 kB / 12.65 GB, free: 159.1 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02349/53.57, allocations: 14.71 MB / 12.66 GB, free: 154 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-05/53.57, allocations: 10.66 kB / 12.66 GB, free: 154 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06722/53.63, allocations: 32.81 MB / 12.69 GB, free: 150.3 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01375/53.65, allocations: 2.932 MB / 12.7 GB, free: 149.5 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006465/53.66, allocations: 131.8 kB / 12.7 GB, free: 149.5 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01639/53.67, allocations: 1.002 MB / 12.7 GB, free: 149.5 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002809/53.67, allocations: 462.9 kB / 12.7 GB, free: 149.4 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001251/53.68, allocations: 283.9 kB / 12.7 GB, free: 149.4 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.02349/53.7, allocations: 9.033 MB / 12.71 GB, free: 149 MB / 1.292 GB Notification: Performance of sort global known variables: time 6.52e-07/53.7, allocations: 0 / 12.71 GB, free: 149 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.04957/53.75, allocations: 6.571 MB / 12.71 GB, free: 149 MB / 1.292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (491): * Single equations (assignments): 469 * 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: 3 * 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: 3 {5 76,37 57,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.01105/53.76, allocations: 5.045 MB / 12.72 GB, free: 147.2 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.07546/53.84, allocations: 33.53 MB / 12.75 GB, free: 146.3 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 1.919e-05/53.84, allocations: 3.5 kB / 12.75 GB, free: 146.3 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.02038/53.86, allocations: 9.232 MB / 12.76 GB, free: 146.2 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03643/53.89, allocations: 6.28 MB / 12.77 GB, free: 146.1 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05052/53.94, allocations: 21.31 MB / 12.79 GB, free: 141.8 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0101/53.95, allocations: 7.177 MB / 12.79 GB, free: 140.8 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.03224/53.99, allocations: 6.372 MB / 12.8 GB, free: 140.1 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004344/53.99, allocations: 0.7148 MB / 12.8 GB, free: 140.1 MB / 1.292 GB Notification: Performance of SimCode: time 1.903e-06/53.99, allocations: 4 kB / 12.8 GB, free: 140.1 MB / 1.292 GB Notification: Performance of Templates: time 1.818/55.81, allocations: 437 MB / 13.23 GB, free: 151.2 MB / 1.292 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.sim & ./Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)