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.4.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.4.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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6655/0.6655, allocations: 117.9 MB / 133.9 MB, free: 4.52 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001148/0.001148, allocations: 183.5 kB / 161.7 MB, free: 2.754 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.724/1.724, allocations: 205.4 MB / 394.8 MB, free: 21.25 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.0009639/0.000964, allocations: 95.8 kB / 470.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004082/0.0004083, allocations: 12 kB / 0.5423 GB, free: 7.203 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3394, allocations: 74.54 MB / 0.6151 GB, free: 54.16 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.069/1.408, allocations: 428.7 MB / 1.034 GB, free: 218.6 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/1.409, allocations: 108.6 kB / 1.034 GB, free: 218.5 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 40.93/42.34, allocations: 9.853 GB / 10.89 GB, free: 17.74 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.527e-06/42.34, allocations: 0 / 10.89 GB, free: 17.74 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.003703/42.35, allocations: 351.6 kB / 10.89 GB, free: 17.39 MB / 0.9011 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 1.749/44.09, allocations: 17.26 MB / 10.9 GB, free: 30.37 MB / 0.9012 GB Notification: Performance of prepare preOptimizeDAE: time 7.57e-05/44.09, allocations: 9.594 kB / 10.9 GB, free: 30.37 MB / 0.9012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01943/44.11, allocations: 2.369 MB / 10.91 GB, free: 30.09 MB / 0.9012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08325/44.2, allocations: 19.49 MB / 10.93 GB, free: 28.13 MB / 0.9012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001598/44.2, allocations: 0.5195 MB / 10.93 GB, free: 28.12 MB / 0.9012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007295/44.21, allocations: 0.6981 MB / 10.93 GB, free: 28.12 MB / 0.9012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06171/44.27, allocations: 15.82 MB / 10.94 GB, free: 27.52 MB / 0.9012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007124/44.27, allocations: 9.844 kB / 10.94 GB, free: 27.51 MB / 0.9012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004798/44.27, allocations: 246.9 kB / 10.94 GB, free: 27.51 MB / 0.9012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003126/44.27, allocations: 154.1 kB / 10.94 GB, free: 27.51 MB / 0.9012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05559/44.33, allocations: 20.38 MB / 10.96 GB, free: 27.46 MB / 0.9012 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.1617/44.49, allocations: 69.79 MB / 11.03 GB, free: 11.83 MB / 0.9168 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03131/44.52, allocations: 12.2 MB / 11.04 GB, free: 11.68 MB / 0.9168 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01725/44.54, allocations: 8.547 MB / 11.05 GB, free: 11.62 MB / 0.9168 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.0767/44.62, allocations: 27.59 MB / 11.08 GB, free: 3.551 MB / 0.9168 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03035/44.65, allocations: 10.86 MB / 11.09 GB, free: 3.434 MB / 0.9168 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04727/44.69, allocations: 15.3 MB / 11.1 GB, free: 3.242 MB / 0.9168 GB Notification: Performance of pre-optimization done (n=390): time 6.512e-05/44.69, allocations: 1.969 kB / 11.1 GB, free: 3.242 MB / 0.9168 GB Notification: Performance of matching and sorting (n=576): time 1.607/46.3, allocations: 171.5 MB / 11.27 GB, free: 61.02 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.278e-05/46.3, allocations: 112.6 kB / 11.27 GB, free: 60.95 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.039/46.34, allocations: 13.17 MB / 11.28 GB, free: 60.29 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 0.006711/46.35, allocations: 186.3 kB / 11.28 GB, free: 60.26 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.01606/46.36, allocations: 6.065 MB / 11.29 GB, free: 60.09 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 0.006446/46.37, allocations: 1.936 MB / 11.29 GB, free: 60.09 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004391/46.37, allocations: 142.7 kB / 11.29 GB, free: 60.09 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 0.0009523/46.38, allocations: 0.594 MB / 11.29 GB, free: 59.77 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02133/46.4, allocations: 9.033 MB / 11.3 GB, free: 59.76 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02753/46.42, allocations: 11.64 MB / 11.31 GB, free: 56.91 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04417/46.47, allocations: 20.13 MB / 11.33 GB, free: 55.05 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001891/46.47, allocations: 11.22 kB / 11.33 GB, free: 55.05 MB / 0.9324 GB Notification: Performance of matching and sorting (n=957) (initialization): time 0.1453/46.61, allocations: 40.17 MB / 11.37 GB, free: 54.68 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 0.002473/46.62, allocations: 1.55 MB / 11.37 GB, free: 52.84 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002914/46.62, allocations: 46.81 kB / 11.37 GB, free: 52.84 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6674/47.28, allocations: 174.2 MB / 11.54 GB, free: 22.39 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009867/47.29, allocations: 1.7 MB / 11.55 GB, free: 20.82 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083/48.38, allocations: 82.15 MB / 11.63 GB, free: 81.15 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01952/48.4, allocations: 1.423 MB / 11.63 GB, free: 81.15 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004381/48.4, allocations: 0.8167 MB / 11.63 GB, free: 81.15 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/48.4, allocations: 5.156 kB / 11.63 GB, free: 81.15 MB / 0.9637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06335/48.46, allocations: 27.67 MB / 11.65 GB, free: 80.79 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002627/48.47, allocations: 44.97 kB / 11.65 GB, free: 80.79 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6628/49.13, allocations: 172.3 MB / 11.82 GB, free: 79.92 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007655/49.14, allocations: 1.544 MB / 11.82 GB, free: 79.91 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08306/49.22, allocations: 45.64 MB / 11.87 GB, free: 64.22 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01861/49.24, allocations: 1.031 MB / 11.87 GB, free: 63.37 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004273/49.24, allocations: 0.7552 MB / 11.87 GB, free: 62.68 MB / 0.9637 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 () * Number of clocked 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.01287/49.25, allocations: 3.06 MB / 11.87 GB, free: 60.8 MB / 0.9637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006136/49.26, allocations: 1.206 MB / 11.88 GB, free: 60.23 MB / 0.9637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1507/49.41, allocations: 43.29 MB / 11.92 GB, free: 26.34 MB / 0.9637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000145/49.41, allocations: 68 kB / 11.92 GB, free: 26.28 MB / 0.9637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.315e-05/49.41, allocations: 19.94 kB / 11.92 GB, free: 26.26 MB / 0.9637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.9378/50.35, allocations: 37.61 MB / 11.95 GB, free: 70.79 MB / 0.9637 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.1442/50.49, allocations: 53.35 MB / 12.01 GB, free: 64.55 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.402e-05/50.49, allocations: 8.781 kB / 12.01 GB, free: 64.55 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006647/50.5, allocations: 1.23 MB / 12.01 GB, free: 64.55 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2089/50.71, allocations: 52.84 MB / 12.06 GB, free: 64.45 MB / 0.9637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002316/50.71, allocations: 208.4 kB / 12.06 GB, free: 64.45 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1491/50.86, allocations: 60.56 MB / 12.12 GB, free: 56.56 MB / 0.9637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.405e-06/50.86, allocations: 15.16 kB / 12.12 GB, free: 56.56 MB / 0.9637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1721/51.03, allocations: 54.5 MB / 12.17 GB, free: 55.41 MB / 0.9637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01166/51.04, allocations: 2.952 MB / 12.17 GB, free: 55.32 MB / 0.9637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007418/51.05, allocations: 128.1 kB / 12.17 GB, free: 55.32 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01608/51.07, allocations: 1.206 MB / 12.18 GB, free: 55.32 MB / 0.9637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003499/51.07, allocations: 0.558 MB / 12.18 GB, free: 55.3 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001386/51.07, allocations: 306.8 kB / 12.18 GB, free: 55.3 MB / 0.9637 GB Notification: Performance of sorting global known variables: time 0.01875/51.09, allocations: 8.962 MB / 12.19 GB, free: 54.95 MB / 0.9637 GB Notification: Performance of sort global known variables: time 5.61e-07/51.09, allocations: 3.719 kB / 12.19 GB, free: 54.95 MB / 0.9637 GB Notification: Performance of remove unused functions: time 0.06053/51.15, allocations: 7.759 MB / 12.19 GB, free: 54.95 MB / 0.9637 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) * Number of clocked states: 0 () * 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.009011/51.16, allocations: 5.004 MB / 12.2 GB, free: 53.09 MB / 0.9637 GB Notification: Performance of simCode: created initialization part: time 0.08564/51.25, allocations: 38.32 MB / 12.24 GB, free: 36.28 MB / 0.9637 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-05/51.25, allocations: 0 / 12.24 GB, free: 36.28 MB / 0.9637 GB Notification: Performance of simCode: created simulation system equations: time 0.02627/51.27, allocations: 12.05 MB / 12.25 GB, free: 30.16 MB / 0.9637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05551/51.33, allocations: 6.196 MB / 12.25 GB, free: 26.96 MB / 0.9637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8813/52.21, allocations: 36.15 MB / 12.29 GB, free: 67.92 MB / 0.9637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01661/52.23, allocations: 7.008 MB / 12.3 GB, free: 66.88 MB / 0.9637 GB Notification: Performance of simCode: alias equations: time 0.02208/52.25, allocations: 3.688 MB / 12.3 GB, free: 66.77 MB / 0.9637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005572/52.26, allocations: 0.9699 MB / 12.3 GB, free: 66.77 MB / 0.9637 GB Notification: Performance of SimCode: time 1.723e-06/52.26, allocations: 0 / 12.3 GB, free: 66.77 MB / 0.9637 GB Notification: Performance of Templates: time 1.567/53.82, allocations: 482.4 MB / 12.77 GB, free: 118.7 MB / 1.026 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)