Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified6") translateModel(BuildingSystems.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.83/0.83, allocations: 141.8 MB / 149.3 MB, free: 9.23 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 187.8 kB / 182.2 MB, free: 9.457 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 221.5 MB / 436.4 MB, free: 13.26 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009137/0.0009136, allocations: 96.08 kB / 0.5074 GB, free: 10.1 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001645/0.001645, allocations: 283.1 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.456e-05/1.447e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4348/0.4349, allocations: 82.77 MB / 0.7574 GB, free: 32.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.272/1.707, allocations: 423.1 MB / 1.171 GB, free: 265.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000339/1.707, allocations: 98.86 kB / 1.171 GB, free: 265.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 44.35/46.06, allocations: 10.66 GB / 11.83 GB, free: 60.55 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.794e-06/46.06, allocations: 0 / 11.83 GB, free: 60.55 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.002804/46.06, allocations: 353.3 kB / 11.83 GB, free: 60.49 MB / 0.9636 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.04597/46.11, allocations: 11.07 MB / 11.84 GB, free: 55.63 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/46.11, allocations: 12.61 kB / 11.84 GB, free: 55.63 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01459/46.12, allocations: 2.086 MB / 11.84 GB, free: 54.84 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06295/46.18, allocations: 18.32 MB / 11.86 GB, free: 52.72 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000607/46.18, allocations: 201 kB / 11.86 GB, free: 52.72 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003578/46.19, allocations: 436.6 kB / 11.86 GB, free: 52.72 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01807/46.21, allocations: 6.886 MB / 11.86 GB, free: 52.7 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02458/46.23, allocations: 7.452 MB / 11.87 GB, free: 51.65 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004072/46.23, allocations: 13.28 kB / 11.87 GB, free: 51.65 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002551/46.23, allocations: 11.88 kB / 11.87 GB, free: 51.65 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002099/46.23, allocations: 158.9 kB / 11.87 GB, free: 51.64 MB / 0.9636 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.08975/46.32, allocations: 48.8 MB / 11.92 GB, free: 25.07 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009873/46.33, allocations: 5.442 MB / 11.92 GB, free: 24.93 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006519/46.34, allocations: 3.973 MB / 11.93 GB, free: 24.86 MB / 0.9636 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.03945/46.38, allocations: 13.5 MB / 11.94 GB, free: 21.72 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006121/46.39, allocations: 3.148 MB / 11.94 GB, free: 21.61 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01671/46.4, allocations: 2.271 MB / 11.95 GB, free: 21.37 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=326): time 3.763e-05/46.4, allocations: 0 / 11.95 GB, free: 21.37 MB / 0.9636 GB Notification: Performance of matching and sorting (n=328): time 0.05009/46.45, allocations: 15.76 MB / 11.96 GB, free: 18.49 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/46.45, allocations: 92.06 kB / 11.96 GB, free: 18.42 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02813/46.48, allocations: 11.45 MB / 11.97 GB, free: 17.69 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001776/46.48, allocations: 36.73 kB / 11.97 GB, free: 17.66 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.009027/46.49, allocations: 6.201 MB / 11.98 GB, free: 16.18 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.002116/46.49, allocations: 1.074 MB / 11.98 GB, free: 15.47 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001414/46.5, allocations: 2.531 kB / 11.98 GB, free: 15.47 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0005792/46.5, allocations: 0.5357 MB / 11.98 GB, free: 15.15 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005415/46.5, allocations: 3.032 MB / 11.98 GB, free: 15.14 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007681/46.51, allocations: 5.795 MB / 11.99 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01322/46.52, allocations: 3.986 MB / 11.99 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001988/46.52, allocations: 17.81 kB / 11.99 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of matching and sorting (n=771) (initialization): time 0.02982/46.55, allocations: 10.77 MB / 12 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.01443/46.57, allocations: 38.34 MB / 12.04 GB, free: 2.598 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003207/46.57, allocations: 60.97 kB / 12.04 GB, free: 2.598 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003755/46.57, allocations: 1.354 MB / 12.04 GB, free: 2.516 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008702/46.58, allocations: 1.389 MB / 12.04 GB, free: 2.512 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01217/46.59, allocations: 9.71 MB / 12.05 GB, free: 12.91 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01732/46.61, allocations: 0.7426 MB / 12.05 GB, free: 12.8 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003016/46.61, allocations: 419.4 kB / 12.06 GB, free: 12.8 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/46.61, allocations: 4 kB / 12.06 GB, free: 12.8 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02421/46.64, allocations: 8.52 MB / 12.06 GB, free: 12.39 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002594/46.64, allocations: 57.72 kB / 12.06 GB, free: 12.39 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004024/46.64, allocations: 1.472 MB / 12.07 GB, free: 12.29 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006859/46.65, allocations: 1.385 MB / 12.07 GB, free: 12.2 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02144/46.67, allocations: 12.55 MB / 12.08 GB, free: 7.676 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01411/46.68, allocations: 0.7192 MB / 12.08 GB, free: 7.582 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002029/46.69, allocations: 373.6 kB / 12.08 GB, free: 7.582 MB / 1.01 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.003528/46.69, allocations: 307.9 kB / 12.08 GB, free: 7.359 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004592/46.69, allocations: 1.149 MB / 12.08 GB, free: 6.719 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02078/46.71, allocations: 7.654 MB / 12.09 GB, free: 6.148 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.036e-05/46.71, allocations: 40.72 kB / 12.09 GB, free: 6.148 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.585e-05/46.71, allocations: 0 / 12.09 GB, free: 6.148 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01087/46.73, allocations: 5.77 MB / 12.09 GB, free: 5.562 MB / 1.01 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.04601/46.77, allocations: 16.25 MB / 12.11 GB, free: 2.375 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.223e-05/46.77, allocations: 3.625 kB / 12.11 GB, free: 2.375 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003662/46.78, allocations: 0.6002 MB / 12.11 GB, free: 2.332 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002434/46.78, allocations: 1.123 MB / 12.11 GB, free: 2.031 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000792/46.78, allocations: 62.19 kB / 12.11 GB, free: 2.016 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.9523/47.73, allocations: 8.088 MB / 12.12 GB, free: 105.4 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.206e-06/47.73, allocations: 4.016 kB / 12.12 GB, free: 105.4 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02251/47.75, allocations: 10.52 MB / 12.13 GB, free: 104.6 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009396/47.76, allocations: 2.177 MB / 12.13 GB, free: 104.5 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007181/47.77, allocations: 8.016 kB / 12.13 GB, free: 104.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01399/47.78, allocations: 0.618 MB / 12.13 GB, free: 104.5 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00141/47.79, allocations: 232.2 kB / 12.13 GB, free: 104.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006265/47.79, allocations: 163.7 kB / 12.13 GB, free: 104.5 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.02143/47.81, allocations: 8.558 MB / 12.14 GB, free: 104.1 MB / 1.01 GB Notification: Performance of sort global known variables: time 7.52e-07/47.81, allocations: 0 / 12.14 GB, free: 104.1 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.04028/47.85, allocations: 5.195 MB / 12.15 GB, free: 104.1 MB / 1.01 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.008589/47.86, allocations: 4.747 MB / 12.15 GB, free: 102.4 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.02437/47.88, allocations: 11.95 MB / 12.16 GB, free: 102 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/47.88, allocations: 4.312 kB / 12.16 GB, free: 102 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.004882/47.89, allocations: 2.662 MB / 12.17 GB, free: 101.9 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03212/47.92, allocations: 5.762 MB / 12.17 GB, free: 101.9 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03802/47.96, allocations: 16.64 MB / 12.19 GB, free: 98.09 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01134/47.97, allocations: 6.733 MB / 12.19 GB, free: 97.14 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0288/48, allocations: 5.894 MB / 12.2 GB, free: 96.99 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002455/48, allocations: 0.5619 MB / 12.2 GB, free: 96.99 MB / 1.01 GB Notification: Performance of SimCode: time 8.22e-07/48, allocations: 3.469 kB / 12.2 GB, free: 96.99 MB / 1.01 GB Notification: Performance of Templates: time 0.353/48.35, allocations: 233.4 MB / 12.43 GB, free: 31.23 MB / 1.01 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified6.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)