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 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.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.8164/0.8164, allocations: 143.4 MB / 158.3 MB, free: 5.805 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.00124/0.00124, allocations: 177.1 kB / 191.5 MB, free: 5.758 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.473/1.473, allocations: 223.2 MB / 447.7 MB, free: 4.824 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.000916/0.000916, allocations: 84.39 kB / 0.5188 GB, free: 1.184 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001771/0.001771, allocations: 266.8 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004376/0.0004376, allocations: 14.81 kB / 0.6929 GB, free: 59.67 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1752, allocations: 82.8 MB / 0.7737 GB, free: 13.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.247/1.422, allocations: 423.2 MB / 1.187 GB, free: 261.7 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000342/1.422, allocations: 104 kB / 1.187 GB, free: 261.6 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 46.21/47.63, allocations: 10.49 GB / 11.68 GB, free: 70.56 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.517e-06/47.63, allocations: 2.812 kB / 11.68 GB, free: 70.56 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.003355/47.63, allocations: 348.4 kB / 11.68 GB, free: 70.5 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.07805/47.71, allocations: 17.59 MB / 11.7 GB, free: 64 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 7.156e-05/47.71, allocations: 10.5 kB / 11.7 GB, free: 64 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01905/47.73, allocations: 2.233 MB / 11.7 GB, free: 63.17 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06407/47.79, allocations: 18.87 MB / 11.72 GB, free: 60.9 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001327/47.79, allocations: 0.527 MB / 11.72 GB, free: 60.89 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004861/47.8, allocations: 0.7124 MB / 11.72 GB, free: 60.89 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0372/47.84, allocations: 13.33 MB / 11.73 GB, free: 60.25 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003069/47.84, allocations: 7.094 kB / 11.73 GB, free: 60.24 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0032/47.84, allocations: 248.8 kB / 11.73 GB, free: 60.24 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001676/47.84, allocations: 151.6 kB / 11.73 GB, free: 60.24 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03705/47.88, allocations: 17.99 MB / 11.75 GB, free: 60.14 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 preOpt removeSimpleEquations (simulation): time 0.1391/48.02, allocations: 70.16 MB / 11.82 GB, free: 27.7 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01653/48.03, allocations: 9.761 MB / 11.83 GB, free: 25.84 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 preOpt evalFunc (simulation): time 0.0684/48.1, allocations: 29.26 MB / 11.86 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01682/48.12, allocations: 8.297 MB / 11.87 GB, free: 6.961 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04616/48.16, allocations: 15.07 MB / 11.88 GB, free: 1.797 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=394): time 5.164e-05/48.17, allocations: 0 / 11.88 GB, free: 1.797 MB / 0.9636 GB Notification: Performance of matching and sorting (n=583): time 1.543/49.71, allocations: 117.3 MB / 11.99 GB, free: 85.33 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/49.71, allocations: 113.2 kB / 11.99 GB, free: 85.26 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03998/49.75, allocations: 12.1 MB / 12.01 GB, free: 84.61 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.004469/49.75, allocations: 186.3 kB / 12.01 GB, free: 84.57 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.009745/49.76, allocations: 6.002 MB / 12.01 GB, free: 83.62 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.005677/49.77, allocations: 1.962 MB / 12.01 GB, free: 82.62 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002448/49.77, allocations: 143.5 kB / 12.01 GB, free: 82.62 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0006504/49.77, allocations: 0.6052 MB / 12.02 GB, free: 82.3 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02137/49.79, allocations: 8.526 MB / 12.02 GB, free: 82.29 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02345/49.82, allocations: 11.11 MB / 12.03 GB, free: 79.42 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02292/49.84, allocations: 9.395 MB / 12.04 GB, free: 79.27 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001626/49.84, allocations: 15.61 kB / 12.04 GB, free: 79.27 MB / 0.9792 GB Notification: Performance of matching and sorting (n=964) (initialization): time 0.08064/49.92, allocations: 27.63 MB / 12.07 GB, free: 78.21 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.007339/49.93, allocations: 29.65 MB / 12.1 GB, free: 47.36 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002358/49.93, allocations: 49.58 kB / 12.1 GB, free: 47.36 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6946/50.62, allocations: 170.6 MB / 12.27 GB, free: 7.281 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01194/50.63, allocations: 1.75 MB / 12.27 GB, free: 5.652 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05156/50.69, allocations: 26.75 MB / 12.29 GB, free: 444 kB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.158/51.84, allocations: 1.277 MB / 12.3 GB, free: 118.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005441/51.85, allocations: 0.7998 MB / 12.3 GB, free: 118.3 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/51.85, allocations: 4.531 kB / 12.3 GB, free: 118.3 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07892/51.93, allocations: 26.63 MB / 12.32 GB, free: 118 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000333/51.93, allocations: 48.41 kB / 12.32 GB, free: 118 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7113/52.64, allocations: 170.9 MB / 12.49 GB, free: 116.9 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01024/52.65, allocations: 1.739 MB / 12.49 GB, free: 116.9 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06046/52.71, allocations: 31.77 MB / 12.52 GB, free: 112.8 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02354/52.74, allocations: 1.256 MB / 12.52 GB, free: 112.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005169/52.74, allocations: 0.7582 MB / 12.52 GB, free: 112.7 MB / 1.01 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 (658): * Single equations (assignments): 644 * 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 {39 57,6 82,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.01548/52.76, allocations: 3.118 MB / 12.53 GB, free: 112.5 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006571/52.76, allocations: 1.215 MB / 12.53 GB, free: 112.5 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06992/52.83, allocations: 24.89 MB / 12.55 GB, free: 102.9 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001638/52.83, allocations: 75 kB / 12.55 GB, free: 102.8 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.779e-05/52.83, allocations: 5 kB / 12.55 GB, free: 102.8 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04755/52.88, allocations: 19.34 MB / 12.57 GB, free: 91.5 MB / 1.01 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 0.1096/52.99, allocations: 45.92 MB / 12.62 GB, free: 60.75 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-05/52.99, allocations: 4 kB / 12.62 GB, free: 60.75 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007234/53, allocations: 1.258 MB / 12.62 GB, free: 59.57 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.368/54.37, allocations: 48.97 MB / 12.67 GB, free: 107.7 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002615/54.37, allocations: 200 kB / 12.67 GB, free: 107.7 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02976/54.4, allocations: 14.86 MB / 12.68 GB, free: 102.6 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.41e-05/54.4, allocations: 9.688 kB / 12.68 GB, free: 102.6 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06825/54.47, allocations: 31.61 MB / 12.71 GB, free: 99.21 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01531/54.48, allocations: 2.969 MB / 12.71 GB, free: 99.12 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007549/54.49, allocations: 127.6 kB / 12.71 GB, free: 99.12 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01825/54.51, allocations: 1.004 MB / 12.71 GB, free: 99.11 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002881/54.51, allocations: 467.7 kB / 12.72 GB, free: 99.09 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001449/54.51, allocations: 286.9 kB / 12.72 GB, free: 99.09 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.02587/54.54, allocations: 9.266 MB / 12.72 GB, free: 98.74 MB / 1.01 GB Notification: Performance of sort global known variables: time 5.81e-07/54.54, allocations: 0.5 kB / 12.72 GB, free: 98.74 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.05588/54.59, allocations: 6.609 MB / 12.73 GB, free: 98.74 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (489): * Single equations (assignments): 467 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * 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 {8 74,38 56,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.01283/54.61, allocations: 5.07 MB / 12.74 GB, free: 96.9 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.09554/54.7, allocations: 35.18 MB / 12.77 GB, free: 96.21 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.705e-05/54.7, allocations: 0.7188 kB / 12.77 GB, free: 96.21 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.02466/54.73, allocations: 9.864 MB / 12.78 GB, free: 96.06 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04585/54.77, allocations: 6.189 MB / 12.79 GB, free: 96.01 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07847/54.85, allocations: 30.22 MB / 12.82 GB, free: 85.04 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01567/54.87, allocations: 7.196 MB / 12.82 GB, free: 84.07 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.02441/54.89, allocations: 3.761 MB / 12.83 GB, free: 83.69 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007462/54.9, allocations: 1.001 MB / 12.83 GB, free: 83.67 MB / 1.01 GB Notification: Performance of SimCode: time 2.475e-06/54.9, allocations: 0 / 12.83 GB, free: 83.67 MB / 1.01 GB Notification: Performance of Templates: time 1.679/56.58, allocations: 407.2 MB / 13.22 GB, free: 120.9 MB / 1.026 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)