Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.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.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.576/1.576, allocations: 289.9 MB / 297.4 MB, free: 6.426 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.001027/0.001027, allocations: 180.8 kB / 366.7 MB, free: 1.688 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.685/1.685, allocations: 205.3 MB / 0.626 GB, free: 7.156 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.0008246/0.0008245, allocations: 90.14 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.89e-05/2.894e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7464/0.7465, allocations: 116.3 MB / 0.9732 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.134/1.881, allocations: 465.2 MB / 1.428 GB, free: 87.74 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/1.881, allocations: 92.89 kB / 1.428 GB, free: 87.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 41.71/43.59, allocations: 10.28 GB / 11.71 GB, free: 73.18 MB / 1.229 GB Notification: Performance of FrontEnd: time 2.063e-06/43.59, allocations: 0 / 11.71 GB, free: 73.18 MB / 1.229 GB Notification: Performance of Transformations before backend: time 0.004053/43.6, allocations: 389.6 kB / 11.71 GB, free: 73.1 MB / 1.229 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1775 * Number of variables: 1775 Notification: Performance of Generate backend data structure: time 0.05264/43.65, allocations: 12.11 MB / 11.72 GB, free: 67.61 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/43.65, allocations: 11.5 kB / 11.72 GB, free: 67.61 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01525/43.66, allocations: 2.18 MB / 11.72 GB, free: 66.72 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07012/43.73, allocations: 20.08 MB / 11.74 GB, free: 64.17 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008901/43.74, allocations: 222.2 kB / 11.74 GB, free: 64.17 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005074/43.74, allocations: 491.3 kB / 11.74 GB, free: 64.17 MB / 1.229 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03033/43.77, allocations: 18.35 MB / 11.76 GB, free: 64.13 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04029/43.81, allocations: 12.98 MB / 11.77 GB, free: 60.84 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007942/43.81, allocations: 18.03 kB / 11.77 GB, free: 60.83 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005281/43.82, allocations: 7.812 kB / 11.77 GB, free: 60.83 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002702/43.82, allocations: 188 kB / 11.77 GB, free: 60.82 MB / 1.229 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.1264/43.94, allocations: 73.11 MB / 11.85 GB, free: 1.973 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 1.052/45, allocations: 10.45 MB / 11.86 GB, free: 86.06 MB / 1.229 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01278/45.01, allocations: 8.806 MB / 11.86 GB, free: 86.03 MB / 1.229 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.06387/45.07, allocations: 30.16 MB / 11.89 GB, free: 77.66 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01415/45.09, allocations: 7.965 MB / 11.9 GB, free: 77.56 MB / 1.229 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04699/45.13, allocations: 14.85 MB / 11.92 GB, free: 77.56 MB / 1.229 GB Notification: Performance of pre-optimization done (n=427): time 4.782e-05/45.13, allocations: 1.469 kB / 11.92 GB, free: 77.56 MB / 1.229 GB Notification: Performance of matching and sorting (n=429): time 0.1043/45.24, allocations: 36.99 MB / 11.95 GB, free: 75.36 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.483e-05/45.24, allocations: 99.38 kB / 11.95 GB, free: 75.29 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02965/45.27, allocations: 11.85 MB / 11.96 GB, free: 74.62 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.003813/45.27, allocations: 36.42 kB / 11.96 GB, free: 74.59 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01011/45.28, allocations: 6.609 MB / 11.97 GB, free: 73.45 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.004059/45.29, allocations: 1.407 MB / 11.97 GB, free: 72.71 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002908/45.29, allocations: 1.406 kB / 11.97 GB, free: 72.71 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.0006408/45.29, allocations: 0.5597 MB / 11.97 GB, free: 72.39 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01077/45.3, allocations: 6.944 MB / 11.98 GB, free: 72.37 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01315/45.31, allocations: 9.548 MB / 11.99 GB, free: 69.29 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01674/45.33, allocations: 8.069 MB / 12 GB, free: 69.16 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001642/45.33, allocations: 15.19 kB / 12 GB, free: 69.16 MB / 1.229 GB Notification: Performance of matching and sorting (n=851) (initialization): time 0.05569/45.39, allocations: 22.81 MB / 12.02 GB, free: 68.22 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.006421/45.39, allocations: 34.64 MB / 12.05 GB, free: 32.18 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001847/45.39, allocations: 52.25 kB / 12.05 GB, free: 32.18 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6238/46.02, allocations: 143.5 MB / 12.19 GB, free: 31.24 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009006/46.03, allocations: 1.488 MB / 12.19 GB, free: 31.24 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04439/46.07, allocations: 23.29 MB / 12.22 GB, free: 27.11 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01908/46.09, allocations: 0.884 MB / 12.22 GB, free: 27.01 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004601/46.09, allocations: 0.7399 MB / 12.22 GB, free: 27.01 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/46.09, allocations: 7.438 kB / 12.22 GB, free: 27.01 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.518/47.61, allocations: 103 MB / 12.32 GB, free: 104.4 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002629/47.61, allocations: 52.84 kB / 12.32 GB, free: 104.4 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6254/48.24, allocations: 143.6 MB / 12.46 GB, free: 104.4 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007313/48.24, allocations: 1.475 MB / 12.46 GB, free: 104.4 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0496/48.29, allocations: 25.92 MB / 12.49 GB, free: 101.8 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02055/48.31, allocations: 0.8471 MB / 12.49 GB, free: 101.8 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003926/48.32, allocations: 0.7063 MB / 12.49 GB, free: 101.8 MB / 1.26 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pmpSouth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pmpNorth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * 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 (661): * Single equations (assignments): 649 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 2 * 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: 2 {32 38,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.004817/48.32, allocations: 302.6 kB / 12.49 GB, free: 101.7 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004357/48.33, allocations: 1.218 MB / 12.49 GB, free: 101.7 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03337/48.36, allocations: 17.06 MB / 12.51 GB, free: 101 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.828e-05/48.36, allocations: 54.38 kB / 12.51 GB, free: 101 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/48.36, allocations: 0 / 12.51 GB, free: 101 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01735/48.38, allocations: 12.2 MB / 12.52 GB, free: 100.6 MB / 1.26 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.05762/48.44, allocations: 33.49 MB / 12.55 GB, free: 94.59 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.453e-05/48.44, allocations: 1.406 kB / 12.55 GB, free: 94.59 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004454/48.44, allocations: 0.7999 MB / 12.55 GB, free: 94.59 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1792/48.62, allocations: 40.72 MB / 12.59 GB, free: 94.36 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002194/48.62, allocations: 76.39 kB / 12.59 GB, free: 94.36 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01974/48.64, allocations: 11.92 MB / 12.6 GB, free: 90.32 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.468e-06/48.64, allocations: 5.094 kB / 12.6 GB, free: 90.32 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08118/48.72, allocations: 28.53 MB / 12.63 GB, free: 89.18 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01107/48.73, allocations: 2.703 MB / 12.63 GB, free: 88.39 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006044/48.74, allocations: 9.016 kB / 12.63 GB, free: 88.39 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01442/48.76, allocations: 0.6624 MB / 12.63 GB, free: 88.31 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001981/48.76, allocations: 316.9 kB / 12.63 GB, free: 88.3 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001727/48.76, allocations: 217 kB / 12.63 GB, free: 88.3 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.02052/48.78, allocations: 8.867 MB / 12.64 GB, free: 87.46 MB / 1.26 GB Notification: Performance of sort global known variables: time 4.71e-07/48.78, allocations: 0.75 kB / 12.64 GB, free: 87.46 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.05147/48.83, allocations: 6.294 MB / 12.65 GB, free: 81.71 MB / 1.26 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * 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 (373): * Single equations (assignments): 353 * 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: 2 * 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: 2 {30 38,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.01135/48.84, allocations: 5.232 MB / 12.65 GB, free: 77.21 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.06138/48.9, allocations: 28.1 MB / 12.68 GB, free: 63.18 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 1.335e-05/48.9, allocations: 4 kB / 12.68 GB, free: 63.18 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.01583/48.92, allocations: 6.979 MB / 12.69 GB, free: 59.75 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03845/48.96, allocations: 6.637 MB / 12.69 GB, free: 56.04 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04832/49.01, allocations: 20 MB / 12.71 GB, free: 40.89 MB / 1.26 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01137/49.02, allocations: 7.281 MB / 12.72 GB, free: 36.46 MB / 1.26 GB Notification: Performance of simCode: alias equations: time 0.03094/49.05, allocations: 6.124 MB / 12.73 GB, free: 32.49 MB / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003673/49.05, allocations: 0.685 MB / 12.73 GB, free: 31.93 MB / 1.26 GB Notification: Performance of SimCode: time 1.032e-06/49.05, allocations: 0 / 12.73 GB, free: 31.93 MB / 1.26 GB Notification: Performance of Templates: time 1.652/50.71, allocations: 381 MB / 13.1 GB, free: 67.91 MB / 1.276 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.sim & ./Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)