Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.581/1.581, allocations: 285.6 MB / 293.1 MB, free: 10.24 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.001334/0.001335, allocations: 180.9 kB / 361.4 MB, free: 6.852 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.557/1.557, allocations: 205.2 MB / 0.62 GB, free: 11.67 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.0008913/0.0008912, allocations: 93.77 kB / 0.733 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.073e-05/2.074e-05, allocations: 4 kB / 0.8517 GB, free: 2.781 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7068/0.7068, allocations: 115.3 MB / 0.9644 GB, free: 78.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.18/1.887, allocations: 465.4 MB / 1.419 GB, free: 98.32 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000315/1.887, allocations: 101.6 kB / 1.419 GB, free: 98.27 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 45.24/47.13, allocations: 10.46 GB / 11.87 GB, free: 74.47 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.594e-06/47.13, allocations: 0 / 11.87 GB, free: 74.47 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.003323/47.13, allocations: 346.1 kB / 11.87 GB, free: 74.41 MB / 1.198 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.05021/47.18, allocations: 11.06 MB / 11.89 GB, free: 69.52 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/47.18, allocations: 11.38 kB / 11.89 GB, free: 69.52 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01596/47.2, allocations: 2.081 MB / 11.89 GB, free: 68.73 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06209/47.26, allocations: 18.25 MB / 11.91 GB, free: 66.63 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005878/47.26, allocations: 199.8 kB / 11.91 GB, free: 66.63 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003568/47.27, allocations: 433.1 kB / 11.91 GB, free: 66.63 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01689/47.28, allocations: 6.887 MB / 11.91 GB, free: 66.6 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02263/47.31, allocations: 7.446 MB / 11.92 GB, free: 65.54 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002266/47.31, allocations: 18.25 kB / 11.92 GB, free: 65.54 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001373/47.31, allocations: 18.64 kB / 11.92 GB, free: 65.54 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001768/47.31, allocations: 160 kB / 11.92 GB, free: 65.54 MB / 1.198 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.09291/47.4, allocations: 48.74 MB / 11.97 GB, free: 38.89 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009304/47.41, allocations: 5.438 MB / 11.97 GB, free: 38.75 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005718/47.42, allocations: 3.968 MB / 11.98 GB, free: 38.68 MB / 1.198 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.04422/47.46, allocations: 13.47 MB / 11.99 GB, free: 35.55 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004398/47.46, allocations: 3.139 MB / 11.99 GB, free: 35.45 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01404/47.48, allocations: 2.286 MB / 12 GB, free: 35.18 MB / 1.198 GB Notification: Performance of pre-optimization done (n=326): time 4.066e-05/47.48, allocations: 2.812 kB / 12 GB, free: 35.18 MB / 1.198 GB Notification: Performance of matching and sorting (n=328): time 0.05769/47.54, allocations: 15.72 MB / 12.01 GB, free: 32.31 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.052e-05/47.54, allocations: 85.92 kB / 12.01 GB, free: 32.24 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03207/47.57, allocations: 11.32 MB / 12.02 GB, free: 31.51 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.002076/47.57, allocations: 37.95 kB / 12.02 GB, free: 31.48 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.00971/47.58, allocations: 6.191 MB / 12.03 GB, free: 30 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.002396/47.58, allocations: 1.081 MB / 12.03 GB, free: 29.28 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001575/47.58, allocations: 3.906 kB / 12.03 GB, free: 29.28 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0006027/47.59, allocations: 0.5332 MB / 12.03 GB, free: 28.96 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006742/47.59, allocations: 3.043 MB / 12.03 GB, free: 28.94 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008587/47.6, allocations: 5.782 MB / 12.04 GB, free: 25.53 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01057/47.61, allocations: 3.979 MB / 12.04 GB, free: 25.37 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001441/47.61, allocations: 20.31 kB / 12.04 GB, free: 25.37 MB / 1.198 GB Notification: Performance of matching and sorting (n=771) (initialization): time 0.0312/47.64, allocations: 10.77 MB / 12.05 GB, free: 24.45 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.01453/47.66, allocations: 38.34 MB / 12.09 GB, free: 16.41 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002446/47.66, allocations: 57.5 kB / 12.09 GB, free: 16.41 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003377/47.66, allocations: 1.346 MB / 12.09 GB, free: 16.33 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008711/47.67, allocations: 1.397 MB / 12.09 GB, free: 16.24 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01148/47.68, allocations: 9.707 MB / 12.1 GB, free: 10.61 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01593/47.7, allocations: 0.7364 MB / 12.1 GB, free: 10.5 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002134/47.7, allocations: 420.2 kB / 12.1 GB, free: 10.5 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/47.7, allocations: 7.25 kB / 12.1 GB, free: 10.5 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02161/47.72, allocations: 8.515 MB / 12.11 GB, free: 9.875 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002725/47.72, allocations: 58.75 kB / 12.11 GB, free: 9.875 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004033/47.73, allocations: 1.47 MB / 12.11 GB, free: 9.777 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007308/47.73, allocations: 1.385 MB / 12.11 GB, free: 9.691 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02175/47.75, allocations: 12.54 MB / 12.13 GB, free: 21.18 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01457/47.77, allocations: 0.7071 MB / 12.13 GB, free: 21.08 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002125/47.77, allocations: 379.3 kB / 12.13 GB, free: 21.08 MB / 1.245 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pmpNorth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumpHea.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumpCoo.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: 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (640): * Single equations (assignments): 625 * 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: 5 * 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: 5 {1 4,1 2,1 2,1 2,4 81} Notification: Performance of prepare postOptimizeDAE: time 0.003768/47.78, allocations: 316.9 kB / 12.13 GB, free: 20.85 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004773/47.78, allocations: 1.135 MB / 12.13 GB, free: 20.21 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02249/47.8, allocations: 7.632 MB / 12.14 GB, free: 19.64 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.914e-05/47.8, allocations: 44.84 kB / 12.14 GB, free: 19.64 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.53e-05/47.8, allocations: 0.9375 kB / 12.14 GB, free: 19.64 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01003/47.81, allocations: 5.757 MB / 12.14 GB, free: 18.35 MB / 1.245 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.04508/47.86, allocations: 16.18 MB / 12.16 GB, free: 11.98 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.535e-05/47.86, allocations: 3.844 kB / 12.16 GB, free: 11.98 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003473/47.86, allocations: 0.5976 MB / 12.16 GB, free: 11.94 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002463/47.86, allocations: 1.129 MB / 12.16 GB, free: 11.64 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005395/47.86, allocations: 52.78 kB / 12.16 GB, free: 11.63 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007658/47.87, allocations: 8.113 MB / 12.17 GB, free: 4.801 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/47.87, allocations: 0 / 12.17 GB, free: 4.801 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.092/48.96, allocations: 10.72 MB / 12.18 GB, free: 125.3 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008596/48.97, allocations: 2.153 MB / 12.18 GB, free: 125.2 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004727/48.98, allocations: 2.688 kB / 12.18 GB, free: 125.2 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01238/48.99, allocations: 0.6168 MB / 12.18 GB, free: 125.2 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001183/48.99, allocations: 237.9 kB / 12.18 GB, free: 125.2 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005578/48.99, allocations: 165.4 kB / 12.18 GB, free: 125.2 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.02167/49.01, allocations: 8.458 MB / 12.19 GB, free: 124.9 MB / 1.245 GB Notification: Performance of sort global known variables: time 4.31e-07/49.01, allocations: 0 / 12.19 GB, free: 124.9 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.04045/49.05, allocations: 5.168 MB / 12.19 GB, free: 124.9 MB / 1.245 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (274): * Single equations (assignments): 251 * 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: 5 * 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: 5 {1 2,1 4,1 2,1 2,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.009423/49.06, allocations: 4.739 MB / 12.2 GB, free: 123.1 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.02747/49.09, allocations: 11.93 MB / 12.21 GB, free: 122.7 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-05/49.09, allocations: 2.062 kB / 12.21 GB, free: 122.7 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.006991/49.1, allocations: 2.665 MB / 12.21 GB, free: 122.6 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03663/49.14, allocations: 5.832 MB / 12.22 GB, free: 122.6 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04455/49.18, allocations: 16.55 MB / 12.24 GB, free: 118.8 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01177/49.19, allocations: 6.692 MB / 12.24 GB, free: 117.8 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.03161/49.22, allocations: 5.845 MB / 12.25 GB, free: 117.7 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002861/49.23, allocations: 0.5633 MB / 12.25 GB, free: 117.7 MB / 1.245 GB Notification: Performance of SimCode: time 9.72e-07/49.23, allocations: 0 / 12.25 GB, free: 117.7 MB / 1.245 GB Notification: Performance of Templates: time 0.3756/49.6, allocations: 234.4 MB / 12.48 GB, free: 101.2 MB / 1.245 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)