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.8692/0.8692, allocations: 141.8 MB / 149.3 MB, free: 9.219 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.001129/0.001129, allocations: 180.6 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.507/1.507, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.0008679/0.000868, allocations: 80.11 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002076/0.002076, allocations: 272.7 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.478e-05/1.481e-05, allocations: 7.984 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4054/0.4054, allocations: 82.77 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.218/1.624, allocations: 423.1 MB / 1.171 GB, free: 193.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/1.624, allocations: 95.55 kB / 1.171 GB, free: 193.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 46.92/48.54, allocations: 10.66 GB / 11.83 GB, free: 62.36 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.814e-06/48.54, allocations: 0 / 11.83 GB, free: 62.36 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.003235/48.55, allocations: 353.3 kB / 11.83 GB, free: 62.29 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.04516/48.59, allocations: 11.07 MB / 11.84 GB, free: 57.41 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/48.59, allocations: 8.688 kB / 11.84 GB, free: 57.41 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01388/48.61, allocations: 2.082 MB / 11.84 GB, free: 56.61 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06029/48.67, allocations: 18.33 MB / 11.86 GB, free: 54.5 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005793/48.67, allocations: 193.1 kB / 11.86 GB, free: 54.5 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003442/48.67, allocations: 436.9 kB / 11.86 GB, free: 54.5 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01679/48.69, allocations: 6.89 MB / 11.86 GB, free: 54.47 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02115/48.71, allocations: 7.457 MB / 11.87 GB, free: 53.42 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003257/48.71, allocations: 16.5 kB / 11.87 GB, free: 53.42 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001962/48.71, allocations: 12.34 kB / 11.87 GB, free: 53.42 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000151/48.71, allocations: 161.1 kB / 11.87 GB, free: 53.41 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.08781/48.8, allocations: 48.8 MB / 11.92 GB, free: 26.82 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00901/48.81, allocations: 5.439 MB / 11.92 GB, free: 26.67 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005971/48.81, allocations: 3.97 MB / 11.93 GB, free: 26.59 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.03826/48.85, allocations: 13.5 MB / 11.94 GB, free: 23.41 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005414/48.86, allocations: 3.15 MB / 11.94 GB, free: 23.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01316/48.87, allocations: 2.279 MB / 11.95 GB, free: 23 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=326): time 2.593e-05/48.87, allocations: 6.656 kB / 11.95 GB, free: 23 MB / 0.9636 GB Notification: Performance of matching and sorting (n=328): time 0.04682/48.92, allocations: 15.75 MB / 11.96 GB, free: 20.12 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.747e-05/48.92, allocations: 86.8 kB / 11.96 GB, free: 20.05 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02359/48.94, allocations: 11.44 MB / 11.97 GB, free: 19.32 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001639/48.94, allocations: 37.61 kB / 11.97 GB, free: 19.29 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.006351/48.95, allocations: 6.208 MB / 11.98 GB, free: 17.81 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.001916/48.95, allocations: 1.076 MB / 11.98 GB, free: 17.09 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004815/48.95, allocations: 3.391 kB / 11.98 GB, free: 17.09 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002948/48.95, allocations: 0.5354 MB / 11.98 GB, free: 16.78 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003774/48.96, allocations: 3.033 MB / 11.98 GB, free: 16.76 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005643/48.96, allocations: 5.793 MB / 11.99 GB, free: 13.34 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007817/48.97, allocations: 3.979 MB / 11.99 GB, free: 13.18 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.097e-05/48.97, allocations: 21.81 kB / 11.99 GB, free: 13.18 MB / 0.9636 GB Notification: Performance of matching and sorting (n=771) (initialization): time 0.0235/48.99, allocations: 10.76 MB / 12 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.01567/49.01, allocations: 38.35 MB / 12.04 GB, free: 4.227 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000259/49.01, allocations: 58.66 kB / 12.04 GB, free: 4.227 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003093/49.01, allocations: 1.347 MB / 12.04 GB, free: 4.145 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008416/49.02, allocations: 1.4 MB / 12.04 GB, free: 4.129 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01068/49.03, allocations: 9.71 MB / 12.05 GB, free: 14.49 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01637/49.05, allocations: 0.7373 MB / 12.05 GB, free: 14.39 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002769/49.05, allocations: 416.1 kB / 12.06 GB, free: 14.39 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/49.05, allocations: 6 kB / 12.06 GB, free: 14.39 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01762/49.07, allocations: 8.522 MB / 12.06 GB, free: 13.77 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001645/49.07, allocations: 63.77 kB / 12.06 GB, free: 13.77 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003675/49.07, allocations: 1.472 MB / 12.07 GB, free: 13.66 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006376/49.08, allocations: 1.383 MB / 12.07 GB, free: 13.58 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01882/49.1, allocations: 12.55 MB / 12.08 GB, free: 9.051 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01448/49.11, allocations: 0.7126 MB / 12.08 GB, free: 8.957 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001906/49.11, allocations: 376.6 kB / 12.08 GB, free: 8.957 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.002155/49.12, allocations: 306.7 kB / 12.08 GB, free: 8.727 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00395/49.12, allocations: 1.143 MB / 12.08 GB, free: 8.09 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01563/49.14, allocations: 7.663 MB / 12.09 GB, free: 7.52 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-05/49.14, allocations: 34.28 kB / 12.09 GB, free: 7.52 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/49.14, allocations: 3.188 kB / 12.09 GB, free: 7.52 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008847/49.14, allocations: 5.767 MB / 12.09 GB, free: 6.938 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.03978/49.18, allocations: 16.26 MB / 12.11 GB, free: 0.9844 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.397e-05/49.18, allocations: 0 / 12.11 GB, free: 0.9844 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00328/49.19, allocations: 0.6053 MB / 12.11 GB, free: 0.9375 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002256/49.19, allocations: 1.128 MB / 12.11 GB, free: 0.6367 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003827/49.19, allocations: 55.28 kB / 12.11 GB, free: 0.625 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031/50.22, allocations: 8.113 MB / 12.12 GB, free: 105.8 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.298e-05/50.22, allocations: 2.234 kB / 12.12 GB, free: 105.8 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02679/50.25, allocations: 10.5 MB / 12.13 GB, free: 105 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01025/50.26, allocations: 2.18 MB / 12.13 GB, free: 104.9 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005728/50.26, allocations: 7.297 kB / 12.13 GB, free: 104.9 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01269/50.28, allocations: 0.6203 MB / 12.13 GB, free: 104.9 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001199/50.28, allocations: 229.5 kB / 12.13 GB, free: 104.9 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006074/50.28, allocations: 165.3 kB / 12.13 GB, free: 104.9 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.02229/50.3, allocations: 8.552 MB / 12.14 GB, free: 104.5 MB / 1.01 GB Notification: Performance of sort global known variables: time 3.71e-07/50.3, allocations: 0.5469 kB / 12.14 GB, free: 104.5 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.04444/50.35, allocations: 5.196 MB / 12.15 GB, free: 104.5 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.0094/50.35, allocations: 4.756 MB / 12.15 GB, free: 102.8 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.02608/50.38, allocations: 11.95 MB / 12.16 GB, free: 102.4 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/50.38, allocations: 0 / 12.16 GB, free: 102.4 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.005316/50.39, allocations: 2.659 MB / 12.17 GB, free: 102.3 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03778/50.42, allocations: 5.766 MB / 12.17 GB, free: 102.3 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04182/50.47, allocations: 16.64 MB / 12.19 GB, free: 98.48 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01001/50.48, allocations: 6.726 MB / 12.19 GB, free: 97.53 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.03089/50.51, allocations: 5.893 MB / 12.2 GB, free: 97.38 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002582/50.51, allocations: 0.5692 MB / 12.2 GB, free: 97.38 MB / 1.01 GB Notification: Performance of SimCode: time 1.413e-06/50.51, allocations: 0 / 12.2 GB, free: 97.38 MB / 1.01 GB Notification: Performance of Templates: time 0.3718/50.88, allocations: 233.4 MB / 12.43 GB, free: 29.55 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)