Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified5.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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified5") translateModel(BuildingSystems.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8156/0.8156, allocations: 140.1 MB / 156 MB, free: 5.156 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 177.1 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.666/1.666, allocations: 205.4 MB / 426.3 MB, free: 8.461 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000808/0.0008079, allocations: 94.28 kB / 0.4945 GB, free: 8.398 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001726/0.001726, allocations: 279.2 kB / 0.5729 GB, free: 66.2 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004963/0.0004963, allocations: 24 kB / 0.662 GB, free: 6.789 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4892/0.4897, allocations: 79.3 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.265/1.754, allocations: 434.8 MB / 1.164 GB, free: 252.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/1.755, allocations: 106.3 kB / 1.164 GB, free: 252.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 43.96/45.71, allocations: 10.24 GB / 11.4 GB, free: 76.13 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.004e-06/45.71, allocations: 0 / 11.4 GB, free: 76.13 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.003671/45.72, allocations: 349.4 kB / 11.4 GB, free: 76.06 MB / 0.948 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.07411/45.79, allocations: 17.38 MB / 11.42 GB, free: 69.59 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/45.79, allocations: 9.938 kB / 11.42 GB, free: 69.59 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01638/45.81, allocations: 2.222 MB / 11.42 GB, free: 68.76 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06243/45.87, allocations: 19.06 MB / 11.44 GB, free: 66 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001031/45.87, allocations: 0.5293 MB / 11.44 GB, free: 65.99 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004843/45.88, allocations: 0.7058 MB / 11.44 GB, free: 65.99 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03584/45.91, allocations: 13.38 MB / 11.46 GB, free: 65.35 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003832/45.91, allocations: 10.53 kB / 11.46 GB, free: 65.34 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003653/45.92, allocations: 246.8 kB / 11.46 GB, free: 65.34 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002714/45.92, allocations: 151.6 kB / 11.46 GB, free: 65.34 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03156/45.95, allocations: 17.97 MB / 11.47 GB, free: 65.25 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.1153/46.06, allocations: 69.94 MB / 11.54 GB, free: 32.84 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01463/46.08, allocations: 9.765 MB / 11.55 GB, free: 31.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01357/46.09, allocations: 8.641 MB / 11.56 GB, free: 28.07 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.05973/46.15, allocations: 29.39 MB / 11.59 GB, free: 12.13 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01272/46.16, allocations: 8.307 MB / 11.6 GB, free: 9.164 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03849/46.2, allocations: 15.21 MB / 11.61 GB, free: 1.41 MB / 0.948 GB Notification: Performance of pre-optimization done (n=393): time 3.908e-05/46.2, allocations: 0 / 11.61 GB, free: 1.41 MB / 0.948 GB Notification: Performance of matching and sorting (n=581): time 1.393/47.6, allocations: 127.7 MB / 11.74 GB, free: 74.15 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/47.6, allocations: 114.8 kB / 11.74 GB, free: 74.08 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03732/47.63, allocations: 13.3 MB / 11.75 GB, free: 73.35 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.004013/47.64, allocations: 181.9 kB / 11.75 GB, free: 73.32 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.008844/47.65, allocations: 6.008 MB / 11.75 GB, free: 72.36 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004826/47.65, allocations: 1.955 MB / 11.76 GB, free: 71.37 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002029/47.65, allocations: 141.9 kB / 11.76 GB, free: 71.37 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000562/47.65, allocations: 0.5972 MB / 11.76 GB, free: 71.05 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01699/47.67, allocations: 8.64 MB / 11.77 GB, free: 71 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02239/47.69, allocations: 11.24 MB / 11.78 GB, free: 68.03 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06367/47.76, allocations: 19.25 MB / 11.8 GB, free: 66.02 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002026/47.76, allocations: 16.66 kB / 11.8 GB, free: 66.02 MB / 0.948 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.1164/47.87, allocations: 28.73 MB / 11.82 GB, free: 64.75 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001271/47.87, allocations: 1.541 MB / 11.83 GB, free: 62.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001639/47.87, allocations: 43.69 kB / 11.83 GB, free: 62.82 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729/49.6, allocations: 171.8 MB / 11.99 GB, free: 88.96 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01153/49.61, allocations: 1.855 MB / 12 GB, free: 88.96 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05479/49.67, allocations: 27.37 MB / 12.02 GB, free: 83.86 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0249/49.69, allocations: 1.283 MB / 12.02 GB, free: 83.85 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005071/49.7, allocations: 0.8023 MB / 12.02 GB, free: 83.85 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/49.7, allocations: 9.844 kB / 12.02 GB, free: 83.85 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07608/49.78, allocations: 27.4 MB / 12.05 GB, free: 83.52 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004371/49.78, allocations: 50.72 kB / 12.05 GB, free: 83.51 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.683/50.46, allocations: 171.6 MB / 12.22 GB, free: 73.82 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009821/50.47, allocations: 1.835 MB / 12.22 GB, free: 72.11 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06719/50.54, allocations: 31.75 MB / 12.25 GB, free: 48.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02299/50.56, allocations: 1.257 MB / 12.25 GB, free: 47.36 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004535/50.56, allocations: 0.7664 MB / 12.25 GB, free: 46.65 MB / 0.9636 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 () * Number of clocked 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 {40 56,6 79,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.01531/50.58, allocations: 3.087 MB / 12.26 GB, free: 44.75 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005926/50.59, allocations: 1.201 MB / 12.26 GB, free: 44.2 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09553/50.68, allocations: 30.92 MB / 12.29 GB, free: 22.48 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001506/50.68, allocations: 75.94 kB / 12.29 GB, free: 22.41 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/50.68, allocations: 0 / 12.29 GB, free: 22.41 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07284/50.75, allocations: 25.34 MB / 12.31 GB, free: 4.465 MB / 0.9636 GB Warning: The model contains alias variables with redundant start and/or conflicting 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 1.145/51.9, allocations: 50.42 MB / 12.36 GB, free: 100.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001444/51.9, allocations: 9.375 kB / 12.36 GB, free: 100.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009042/51.91, allocations: 1.247 MB / 12.36 GB, free: 100.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2216/52.13, allocations: 50.01 MB / 12.41 GB, free: 100.4 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00235/52.13, allocations: 198.3 kB / 12.41 GB, free: 100.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02635/52.16, allocations: 15.48 MB / 12.43 GB, free: 95.27 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.525e-05/52.16, allocations: 9.594 kB / 12.43 GB, free: 95.27 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08283/52.24, allocations: 32.59 MB / 12.46 GB, free: 94.16 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01242/52.25, allocations: 2.937 MB / 12.46 GB, free: 94.05 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006529/52.26, allocations: 134.6 kB / 12.46 GB, free: 94.04 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01641/52.28, allocations: 0.9963 MB / 12.46 GB, free: 94.02 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002986/52.28, allocations: 467.5 kB / 12.46 GB, free: 94.01 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002324/52.28, allocations: 284.2 kB / 12.46 GB, free: 94.01 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.02557/52.31, allocations: 9.044 MB / 12.47 GB, free: 93.65 MB / 0.9792 GB Notification: Performance of sort global known variables: time 4.5e-07/52.31, allocations: 1.344 kB / 12.47 GB, free: 93.65 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.05133/52.36, allocations: 6.548 MB / 12.48 GB, free: 93.65 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (490): * Single equations (assignments): 468 * 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: 4 * 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: 4 {7 80,38 56,1 1,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.01173/52.37, allocations: 4.962 MB / 12.48 GB, free: 91.79 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.09308/52.46, allocations: 35.7 MB / 12.52 GB, free: 91.07 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.326e-05/52.47, allocations: 3.719 kB / 12.52 GB, free: 91.07 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.02518/52.49, allocations: 10.04 MB / 12.53 GB, free: 90.93 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06979/52.56, allocations: 6.283 MB / 12.53 GB, free: 90.83 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08167/52.64, allocations: 30.1 MB / 12.56 GB, free: 80.11 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0209/52.66, allocations: 6.915 MB / 12.57 GB, free: 79.03 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.02923/52.69, allocations: 3.753 MB / 12.57 GB, free: 77.09 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00798/52.7, allocations: 0.9881 MB / 12.57 GB, free: 76.29 MB / 0.9792 GB Notification: Performance of SimCode: time 1.833e-06/52.7, allocations: 0 / 12.57 GB, free: 76.29 MB / 0.9792 GB Notification: Performance of Templates: time 2.366/55.07, allocations: 415.9 MB / 12.98 GB, free: 35.38 MB / 0.9949 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified5.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)