Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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) 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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5") translateModel(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7067/0.7067, allocations: 127.3 MB / 139.8 MB, free: 15.5 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.00119/0.001191, allocations: 172.8 kB / 169.7 MB, free: 1.754 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.802/1.802, allocations: 205.1 MB / 404.5 MB, free: 1.582 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009983/0.0009983, allocations: 87.67 kB / 481.8 MB, free: 4.234 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.402e-05/3.412e-05, allocations: 7.938 kB / 0.5532 GB, free: 54.85 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1932, allocations: 76.76 MB / 0.6281 GB, free: 10.03 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.335/1.528, allocations: 429.6 MB / 1.048 GB, free: 86.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/1.529, allocations: 92.08 kB / 1.048 GB, free: 86.45 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 45.3/46.83, allocations: 9.883 GB / 10.93 GB, free: 48.87 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.896e-06/46.83, allocations: 1.594 kB / 10.93 GB, free: 48.87 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.003353/46.84, allocations: 343 kB / 10.93 GB, free: 48.8 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1489 * Number of variables: 1489 Notification: Performance of Generate backend data structure: time 0.04697/46.88, allocations: 11.02 MB / 10.94 GB, free: 43.77 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/46.88, allocations: 11.19 kB / 10.94 GB, free: 43.77 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01659/46.9, allocations: 2.367 MB / 10.94 GB, free: 42.94 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06701/46.97, allocations: 19.14 MB / 10.96 GB, free: 31.86 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001149/46.97, allocations: 0.5293 MB / 10.96 GB, free: 31.34 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005663/46.97, allocations: 0.6875 MB / 10.96 GB, free: 30.65 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04693/47.02, allocations: 14.94 MB / 10.98 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004696/47.02, allocations: 7.938 kB / 10.98 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004002/47.02, allocations: 244 kB / 10.98 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001462/47.03, allocations: 148 kB / 10.98 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.056/48.08, allocations: 19.35 MB / 11 GB, free: 57.21 MB / 0.9167 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.1323/48.21, allocations: 69.89 MB / 11.07 GB, free: 26.34 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02329/48.24, allocations: 11.3 MB / 11.08 GB, free: 26.18 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01202/48.25, allocations: 8.345 MB / 11.09 GB, free: 26.12 MB / 0.9167 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.06363/48.31, allocations: 27.7 MB / 11.11 GB, free: 18.16 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02484/48.34, allocations: 10.06 MB / 11.12 GB, free: 18.05 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04722/48.38, allocations: 15.31 MB / 11.14 GB, free: 17.95 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=390): time 4.94e-05/48.39, allocations: 0.6562 kB / 11.14 GB, free: 17.95 MB / 0.9167 GB Notification: Performance of matching and sorting (n=576): time 0.3747/48.76, allocations: 97.99 MB / 11.23 GB, free: 10.84 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001783/48.76, allocations: 119.8 kB / 11.23 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03654/48.8, allocations: 11.72 MB / 11.24 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.004819/48.8, allocations: 186.4 kB / 11.24 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.01009/48.81, allocations: 6.073 MB / 11.25 GB, free: 9.078 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.005425/48.82, allocations: 1.939 MB / 11.25 GB, free: 8.094 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003715/48.82, allocations: 142.8 kB / 11.25 GB, free: 8.094 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0007598/48.82, allocations: 0.5963 MB / 11.25 GB, free: 7.777 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01622/48.84, allocations: 8.058 MB / 11.26 GB, free: 7.762 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01852/48.86, allocations: 10.63 MB / 11.27 GB, free: 4.898 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01842/48.87, allocations: 8.99 MB / 11.28 GB, free: 4.098 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001351/48.87, allocations: 11.84 kB / 11.28 GB, free: 4.098 MB / 0.9167 GB Notification: Performance of matching and sorting (n=957) (initialization): time 0.1135/48.99, allocations: 34.14 MB / 11.31 GB, free: 1.594 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.01316/49, allocations: 30.15 MB / 11.34 GB, free: 2.012 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002868/49, allocations: 48 kB / 11.34 GB, free: 1.965 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728/50.73, allocations: 171.9 MB / 11.51 GB, free: 100.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01029/50.74, allocations: 1.69 MB / 11.51 GB, free: 100.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08544/50.83, allocations: 40.47 MB / 11.55 GB, free: 94.76 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02577/50.85, allocations: 1.423 MB / 11.55 GB, free: 94.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006739/50.86, allocations: 0.8107 MB / 11.55 GB, free: 94.7 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/50.86, allocations: 3.469 kB / 11.55 GB, free: 94.7 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0629/50.92, allocations: 26.11 MB / 11.58 GB, free: 92.35 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002645/50.92, allocations: 45.31 kB / 11.58 GB, free: 92.31 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715/52.64, allocations: 171 MB / 11.75 GB, free: 126.2 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008136/52.64, allocations: 1.532 MB / 11.75 GB, free: 126.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07928/52.72, allocations: 41.95 MB / 11.79 GB, free: 122.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01993/52.74, allocations: 1.037 MB / 11.79 GB, free: 122.1 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004124/52.75, allocations: 0.7502 MB / 11.79 GB, free: 122.1 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 209 * 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 (657): * 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): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(7,65.3%) 78} * Non-linear torn systems: 2 {40 56,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.004518/52.75, allocations: 0.5152 MB / 11.79 GB, free: 122 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004443/52.76, allocations: 1.195 MB / 11.79 GB, free: 122 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1415/52.9, allocations: 39.97 MB / 11.83 GB, free: 121.4 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001451/52.9, allocations: 73.88 kB / 11.83 GB, free: 121.4 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.13e-05/52.9, allocations: 13.16 kB / 11.83 GB, free: 121.4 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1214/53.02, allocations: 34.34 MB / 11.87 GB, free: 120.7 MB / 0.9948 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.1217/53.14, allocations: 49.79 MB / 11.91 GB, free: 114.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.17e-05/53.14, allocations: 4.469 kB / 11.91 GB, free: 114.3 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006618/53.15, allocations: 1.219 MB / 11.92 GB, free: 114.3 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2101/53.36, allocations: 50.42 MB / 11.96 GB, free: 96.82 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002375/53.36, allocations: 208.3 kB / 11.96 GB, free: 96.75 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1263/53.49, allocations: 51.35 MB / 12.01 GB, free: 67.27 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.111e-05/53.49, allocations: 11.19 kB / 12.01 GB, free: 67.26 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.206/54.69, allocations: 52.14 MB / 12.07 GB, free: 118.4 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01699/54.71, allocations: 2.958 MB / 12.07 GB, free: 118.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007754/54.72, allocations: 125.7 kB / 12.07 GB, free: 118.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02294/54.74, allocations: 1.211 MB / 12.07 GB, free: 118.3 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004746/54.75, allocations: 0.548 MB / 12.07 GB, free: 118.3 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002833/54.75, allocations: 307.1 kB / 12.07 GB, free: 118.3 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.02188/54.77, allocations: 8.953 MB / 12.08 GB, free: 117.9 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4.51e-07/54.77, allocations: 4.875 kB / 12.08 GB, free: 117.9 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.05872/54.83, allocations: 7.218 MB / 12.09 GB, free: 117.9 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (482): * Single equations (assignments): 462 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,76.0%) 76} * Non-linear torn systems: 2 {38 56,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.00996/54.84, allocations: 5.116 MB / 12.09 GB, free: 116.1 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.08333/54.92, allocations: 35.81 MB / 12.13 GB, free: 115 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-05/54.92, allocations: 7.875 kB / 12.13 GB, free: 115 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.02614/54.95, allocations: 10.98 MB / 12.14 GB, free: 114.5 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03619/54.99, allocations: 6.201 MB / 12.14 GB, free: 114.4 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07484/55.06, allocations: 27.07 MB / 12.17 GB, free: 110.2 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0128/55.07, allocations: 7.254 MB / 12.18 GB, free: 109.1 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0319/55.11, allocations: 6.36 MB / 12.18 GB, free: 109 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003297/55.11, allocations: 0.6956 MB / 12.18 GB, free: 109 MB / 0.9948 GB Notification: Performance of SimCode: time 1.323e-06/55.11, allocations: 0 / 12.18 GB, free: 109 MB / 0.9948 GB Notification: Performance of Templates: time 2.495/57.6, allocations: 480.9 MB / 12.65 GB, free: 76.18 MB / 0.9949 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)