Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.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.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay") translateModel(BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay") [/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.6553/0.6553, allocations: 117.9 MB / 133.9 MB, free: 4.492 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.001037/0.001038, allocations: 184.8 kB / 161.7 MB, free: 2.715 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.886/1.886, allocations: 205.4 MB / 394.8 MB, free: 20.91 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.0007769/0.0007769, allocations: 90.34 kB / 470.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004009/0.0004012, allocations: 16 kB / 0.5423 GB, free: 6.836 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3958, allocations: 74.53 MB / 0.6151 GB, free: 54.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.384/6.78, allocations: 2.153 GB / 2.768 GB, free: 230.7 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003224/6.78, allocations: 98.83 kB / 2.768 GB, free: 230.6 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.128/8.908, allocations: 480.1 MB / 3.237 GB, free: 124.4 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.226e-06/8.908, allocations: 0 / 3.237 GB, free: 124.4 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.646e-05/8.908, allocations: 24.05 kB / 3.237 GB, free: 124.4 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.002746/8.911, allocations: 1.077 MB / 3.238 GB, free: 124 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.825e-05/8.911, allocations: 13.34 kB / 3.238 GB, free: 124 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001511/8.912, allocations: 203.5 kB / 3.238 GB, free: 124 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001629/8.914, allocations: 0.6793 MB / 3.239 GB, free: 123.7 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.062e-05/8.914, allocations: 41.56 kB / 3.239 GB, free: 123.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/8.914, allocations: 50.17 kB / 3.239 GB, free: 123.7 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00183/8.916, allocations: 0.5779 MB / 3.239 GB, free: 123.6 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.586e-05/8.916, allocations: 4.688 kB / 3.239 GB, free: 123.6 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.606e-05/8.916, allocations: 21 kB / 3.239 GB, free: 123.6 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.344e-05/8.916, allocations: 18.34 kB / 3.24 GB, free: 123.6 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001703/8.918, allocations: 0.5228 MB / 3.24 GB, free: 123.6 MB / 0.6355 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.0036/8.922, allocations: 2 MB / 3.242 GB, free: 122.7 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/8.923, allocations: 451.8 kB / 3.242 GB, free: 122.6 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004032/8.923, allocations: 201.4 kB / 3.243 GB, free: 122.6 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002951/8.924, allocations: 197.4 kB / 3.243 GB, free: 122.4 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/8.924, allocations: 36.31 kB / 3.243 GB, free: 122.4 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=33): time 3.697e-06/8.924, allocations: 7.062 kB / 3.243 GB, free: 122.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33): time 0.002476/8.926, allocations: 0.7295 MB / 3.244 GB, free: 122.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/8.926, allocations: 59.16 kB / 3.244 GB, free: 122.3 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007107/8.927, allocations: 497.6 kB / 3.244 GB, free: 122.2 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.782e-05/8.927, allocations: 38.98 kB / 3.244 GB, free: 122.1 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002474/8.927, allocations: 313.5 kB / 3.244 GB, free: 122 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/8.927, allocations: 115.6 kB / 3.245 GB, free: 122 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.885e-05/8.927, allocations: 8.594 kB / 3.245 GB, free: 122 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001339/8.927, allocations: 365.2 kB / 3.245 GB, free: 121.6 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004195/8.928, allocations: 171 kB / 3.245 GB, free: 121.6 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005027/8.928, allocations: 265.5 kB / 3.245 GB, free: 121.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009429/8.929, allocations: 406.2 kB / 3.246 GB, free: 121.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/8.929, allocations: 0 / 3.246 GB, free: 121.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009786/8.93, allocations: 0.4986 MB / 3.246 GB, free: 121.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.371e-05/8.93, allocations: 112.2 kB / 3.246 GB, free: 121.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/8.93, allocations: 3.812 kB / 3.246 GB, free: 121.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/8.93, allocations: 0 / 3.246 GB, free: 121.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004564/8.931, allocations: 92.64 kB / 3.246 GB, free: 121.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/8.931, allocations: 3.812 kB / 3.246 GB, free: 121.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007731/8.932, allocations: 82.05 kB / 3.246 GB, free: 121.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.065e-05/8.932, allocations: 15 kB / 3.246 GB, free: 121.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.985e-06/8.932, allocations: 4.312 kB / 3.246 GB, free: 121.3 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005502/8.932, allocations: 343.8 kB / 3.247 GB, free: 121.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-06/8.932, allocations: 0 / 3.247 GB, free: 121.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.729e-06/8.932, allocations: 6.969 kB / 3.247 GB, free: 121.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/8.933, allocations: 79.41 kB / 3.247 GB, free: 121.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/8.933, allocations: 8.875 kB / 3.247 GB, free: 121.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004799/8.933, allocations: 62.28 kB / 3.247 GB, free: 121.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/8.933, allocations: 20.78 kB / 3.247 GB, free: 121.3 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004061/8.934, allocations: 287.7 kB / 3.247 GB, free: 121.1 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.465e-05/8.934, allocations: 60.75 kB / 3.247 GB, free: 121.1 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001504/8.934, allocations: 71.66 kB / 3.247 GB, free: 121.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/8.934, allocations: 0 / 3.247 GB, free: 121.1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/8.934, allocations: 3.938 kB / 3.247 GB, free: 121.1 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008524/8.935, allocations: 0.4959 MB / 3.248 GB, free: 120.9 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002032/8.937, allocations: 1.25 MB / 3.249 GB, free: 120.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/8.937, allocations: 3.938 kB / 3.249 GB, free: 120.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005137/8.937, allocations: 100.4 kB / 3.249 GB, free: 120.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/8.937, allocations: 3.906 kB / 3.249 GB, free: 120.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.537e-05/8.937, allocations: 14.08 kB / 3.249 GB, free: 120.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/8.937, allocations: 3.938 kB / 3.249 GB, free: 120.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/8.937, allocations: 4.438 kB / 3.249 GB, free: 120.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/8.939, allocations: 0.8419 MB / 3.25 GB, free: 120.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002618/8.939, allocations: 176.6 kB / 3.25 GB, free: 120.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.41e-05/8.939, allocations: 5.281 kB / 3.25 GB, free: 120.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005648/8.94, allocations: 70.64 kB / 3.25 GB, free: 120.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/8.94, allocations: 28.83 kB / 3.25 GB, free: 120.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.395e-05/8.94, allocations: 19.25 kB / 3.25 GB, free: 120.2 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004519/8.94, allocations: 353.4 kB / 3.251 GB, free: 120.1 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/8.94, allocations: 0 / 3.251 GB, free: 120.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001895/8.942, allocations: 444.7 kB / 3.251 GB, free: 120.1 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.U,del.dynBal.m,del.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002794/8.945, allocations: 1.293 MB / 3.252 GB, free: 119.8 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001681/8.947, allocations: 0.5829 MB / 3.253 GB, free: 119.8 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/8.947, allocations: 0 / 3.253 GB, free: 119.8 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000488/8.947, allocations: 217.2 kB / 3.253 GB, free: 119.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002297/8.95, allocations: 368.2 kB / 3.253 GB, free: 119.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003155/8.953, allocations: 1.563 MB / 3.255 GB, free: 119.1 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007437/8.954, allocations: 0.9383 MB / 3.256 GB, free: 118.4 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0008826/8.955, allocations: 178.2 kB / 3.256 GB, free: 118.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000183/8.955, allocations: 54.25 kB / 3.256 GB, free: 118.4 MB / 0.6355 GB Notification: Performance of SimCode: time 1.723e-06/8.955, allocations: 0 / 3.256 GB, free: 118.4 MB / 0.6355 GB Notification: Performance of Templates: time 0.05638/9.011, allocations: 26.98 MB / 3.282 GB, free: 118 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.pipe 2>&1)