Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified4.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.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified4") translateModel(BuildingSystems.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7536/0.7536, allocations: 140.1 MB / 156 MB, free: 5.168 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.001132/0.001133, allocations: 182.8 kB / 188.5 MB, free: 15.83 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.603/1.603, allocations: 205.4 MB / 426.3 MB, free: 8.465 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.001263/0.001263, allocations: 82.42 kB / 0.4945 GB, free: 8.422 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001781/0.001782, allocations: 270.6 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004826/0.0004826, allocations: 16 kB / 0.662 GB, free: 6.828 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4467/0.4472, allocations: 79.3 MB / 0.7395 GB, free: 46.38 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.247/1.694, allocations: 434.2 MB / 1.163 GB, free: 252.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/1.694, allocations: 103.4 kB / 1.164 GB, free: 252.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 45.09/46.78, allocations: 10.3 GB / 11.46 GB, free: 57.95 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.306e-06/46.78, allocations: 3.781 kB / 11.46 GB, free: 57.95 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.00488/46.79, allocations: 378.8 kB / 11.46 GB, free: 57.88 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: 1775 * Number of variables: 1775 Notification: Performance of Generate backend data structure: time 0.08309/46.87, allocations: 18.57 MB / 11.48 GB, free: 51.1 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/46.87, allocations: 12.09 kB / 11.48 GB, free: 51.1 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01663/46.89, allocations: 2.181 MB / 11.48 GB, free: 50.24 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0748/46.96, allocations: 20.43 MB / 11.5 GB, free: 47.39 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001984/46.96, allocations: 0.6043 MB / 11.5 GB, free: 47.38 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007625/46.97, allocations: 0.8085 MB / 11.5 GB, free: 47.38 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04629/47.02, allocations: 14.29 MB / 11.52 GB, free: 46.59 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007473/47.02, allocations: 20.59 kB / 11.52 GB, free: 46.59 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005231/47.02, allocations: 284.4 kB / 11.52 GB, free: 46.59 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003014/47.02, allocations: 186.6 kB / 11.52 GB, free: 46.59 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04169/47.07, allocations: 18.47 MB / 11.54 GB, free: 46.52 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.1424/47.21, allocations: 74.03 MB / 11.61 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01694/47.23, allocations: 9.795 MB / 11.62 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01388/47.24, allocations: 8.672 MB / 11.63 GB, free: 12.25 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.07025/47.31, allocations: 30.12 MB / 11.66 GB, free: 3.57 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01775/47.33, allocations: 8.281 MB / 11.66 GB, free: 3.453 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04184/47.37, allocations: 14.95 MB / 11.68 GB, free: 2.594 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=427): time 4.247e-05/47.37, allocations: 0 / 11.68 GB, free: 2.594 MB / 0.9636 GB Notification: Performance of matching and sorting (n=613): time 1.405/48.77, allocations: 113.9 MB / 11.79 GB, free: 79.27 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001615/48.77, allocations: 120.5 kB / 11.79 GB, free: 79.2 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04824/48.82, allocations: 14.05 MB / 11.8 GB, free: 78.48 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.004628/48.83, allocations: 194.6 kB / 11.8 GB, free: 78.45 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.01392/48.84, allocations: 6.65 MB / 11.81 GB, free: 77.36 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.006311/48.85, allocations: 2.071 MB / 11.81 GB, free: 76.31 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004283/48.85, allocations: 160.2 kB / 11.81 GB, free: 76.31 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.001032/48.85, allocations: 0.6168 MB / 11.81 GB, free: 75.99 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02159/48.87, allocations: 8.628 MB / 11.82 GB, free: 75.97 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02325/48.9, allocations: 11.45 MB / 11.83 GB, free: 72.84 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04364/48.94, allocations: 19.49 MB / 11.85 GB, free: 70.77 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001472/48.94, allocations: 14.72 kB / 11.85 GB, free: 70.77 MB / 0.9792 GB Notification: Performance of matching and sorting (n=1035) (initialization): time 0.08276/49.02, allocations: 28.54 MB / 11.88 GB, free: 69.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001611/49.03, allocations: 1.742 MB / 11.88 GB, free: 67.62 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002171/49.03, allocations: 51.75 kB / 11.88 GB, free: 67.62 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6578/49.68, allocations: 147.8 MB / 12.03 GB, free: 55.22 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01135/49.7, allocations: 2.055 MB / 12.03 GB, free: 53.76 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04631/49.74, allocations: 25.29 MB / 12.05 GB, free: 38.68 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02322/49.77, allocations: 1.361 MB / 12.05 GB, free: 37.48 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004868/49.77, allocations: 0.8158 MB / 12.05 GB, free: 36.73 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/49.77, allocations: 4.938 kB / 12.05 GB, free: 36.73 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07159/49.84, allocations: 27.11 MB / 12.08 GB, free: 18.98 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003268/49.84, allocations: 53.81 kB / 12.08 GB, free: 18.93 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671/51.51, allocations: 147.8 MB / 12.23 GB, free: 87.56 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0106/51.52, allocations: 2.026 MB / 12.23 GB, free: 87.54 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05824/51.58, allocations: 29.59 MB / 12.26 GB, free: 83.68 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0245/51.61, allocations: 1.332 MB / 12.26 GB, free: 83.61 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005547/51.61, allocations: 0.7784 MB / 12.26 GB, free: 83.61 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * 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 (761): * Single equations (assignments): 747 * 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 {32 38,5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.01745/51.63, allocations: 3.353 MB / 12.26 GB, free: 83.42 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008649/51.64, allocations: 1.287 MB / 12.26 GB, free: 83.39 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08573/51.72, allocations: 26.57 MB / 12.29 GB, free: 82.38 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002054/51.72, allocations: 72.56 kB / 12.29 GB, free: 82.38 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.134e-05/51.72, allocations: 3.844 kB / 12.29 GB, free: 82.38 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06186/51.79, allocations: 20.92 MB / 12.31 GB, free: 81.72 MB / 0.9948 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.1853/51.97, allocations: 57.9 MB / 12.37 GB, free: 75.02 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001162/51.97, allocations: 7.812 kB / 12.37 GB, free: 75.02 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00794/51.98, allocations: 1.346 MB / 12.37 GB, free: 75.01 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1709/52.15, allocations: 43.03 MB / 12.41 GB, free: 48.61 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002416/52.15, allocations: 204 kB / 12.41 GB, free: 48.54 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02035/52.17, allocations: 14.38 MB / 12.42 GB, free: 38.45 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.676e-06/52.17, allocations: 9.594 kB / 12.42 GB, free: 38.44 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09377/52.27, allocations: 36.25 MB / 12.46 GB, free: 16.55 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01447/52.28, allocations: 3.081 MB / 12.46 GB, free: 14.19 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008304/52.29, allocations: 137.6 kB / 12.46 GB, free: 14.15 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01813/52.31, allocations: 1.061 MB / 12.46 GB, free: 13.21 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00315/52.31, allocations: 471.7 kB / 12.46 GB, free: 12.8 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002507/52.31, allocations: 315.6 kB / 12.46 GB, free: 12.55 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.02506/52.34, allocations: 9.536 MB / 12.47 GB, free: 5.984 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9.21e-07/52.34, allocations: 0 / 12.47 GB, free: 5.984 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.05903/52.4, allocations: 7.119 MB / 12.48 GB, free: 15.69 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 8 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * 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 (537): * Single equations (assignments): 515 * 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 {9 78,30 38,5 80,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.9421/53.34, allocations: 5.427 MB / 12.49 GB, free: 104.2 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.09006/53.43, allocations: 34.95 MB / 12.52 GB, free: 103.6 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.738e-05/53.43, allocations: 2.844 kB / 12.52 GB, free: 103.6 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0234/53.45, allocations: 9.779 MB / 12.53 GB, free: 103.5 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06338/53.52, allocations: 6.817 MB / 12.54 GB, free: 103.4 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07753/53.6, allocations: 32.3 MB / 12.57 GB, free: 91.75 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0208/53.62, allocations: 7.381 MB / 12.57 GB, free: 90.77 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.02787/53.64, allocations: 4.086 MB / 12.58 GB, free: 90.43 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006961/53.65, allocations: 1.087 MB / 12.58 GB, free: 90.41 MB / 1.01 GB Notification: Performance of SimCode: time 1.092e-06/53.65, allocations: 0 / 12.58 GB, free: 90.41 MB / 1.01 GB Notification: Performance of Templates: time 2.408/56.06, allocations: 427.7 MB / 13 GB, free: 116.3 MB / 1.042 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified4.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)