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.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.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7889/0.7889, allocations: 127.4 MB / 134.9 MB, free: 3.496 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.001125/0.001125, allocations: 183.3 kB / 164.6 MB, free: 11.63 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.731/1.731, allocations: 205.2 MB / 399.5 MB, free: 13.5 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.001035/0.001035, allocations: 84.95 kB / 476.7 MB, free: 1.461 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.633e-05/1.655e-05, allocations: 2.5 kB / 0.5466 GB, free: 95.59 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1551, allocations: 76.76 MB / 0.6215 GB, free: 43.08 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.783/4.938, allocations: 2.153 GB / 2.775 GB, free: 26.12 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002179/4.938, allocations: 87.95 kB / 2.775 GB, free: 26.04 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.725/6.663, allocations: 475.2 MB / 3.239 GB, free: 73.69 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.773e-06/6.663, allocations: 0 / 3.239 GB, free: 73.69 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.807e-05/6.663, allocations: 19.98 kB / 3.239 GB, free: 73.67 MB / 0.6511 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.002407/6.666, allocations: 0.962 MB / 3.24 GB, free: 72.66 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/6.666, allocations: 12.03 kB / 3.24 GB, free: 72.64 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001562/6.667, allocations: 202.9 kB / 3.24 GB, free: 72.45 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/6.669, allocations: 0.6557 MB / 3.241 GB, free: 71.75 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/6.669, allocations: 16 kB / 3.241 GB, free: 71.74 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/6.669, allocations: 28 kB / 3.241 GB, free: 71.71 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006632/6.67, allocations: 374.5 kB / 3.241 GB, free: 71.34 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006799/6.67, allocations: 391.9 kB / 3.241 GB, free: 70.95 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/6.67, allocations: 4 kB / 3.241 GB, free: 70.95 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.508e-05/6.67, allocations: 0 / 3.241 GB, free: 70.95 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-05/6.67, allocations: 25.25 kB / 3.241 GB, free: 70.93 MB / 0.6511 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.00253/6.673, allocations: 1.88 MB / 3.243 GB, free: 68.88 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004/6.673, allocations: 314.4 kB / 3.243 GB, free: 68.57 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/6.674, allocations: 186.3 kB / 3.244 GB, free: 68.38 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002628/6.674, allocations: 190.5 kB / 3.244 GB, free: 68.16 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/6.674, allocations: 34.84 kB / 3.244 GB, free: 68.12 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 1.923e-06/6.674, allocations: 0 / 3.244 GB, free: 68.12 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.001325/6.675, allocations: 443.2 kB / 3.244 GB, free: 67.68 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/6.675, allocations: 59.39 kB / 3.244 GB, free: 67.61 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003675/6.676, allocations: 361.4 kB / 3.245 GB, free: 67.25 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.274e-05/6.676, allocations: 25.7 kB / 3.245 GB, free: 67.22 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/6.676, allocations: 315.9 kB / 3.245 GB, free: 66.9 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.231e-05/6.676, allocations: 114.3 kB / 3.245 GB, free: 66.79 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.994e-05/6.676, allocations: 0 / 3.245 GB, free: 66.79 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.123e-05/6.676, allocations: 358.8 kB / 3.245 GB, free: 66.43 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/6.676, allocations: 120.6 kB / 3.246 GB, free: 66.31 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/6.676, allocations: 210.3 kB / 3.246 GB, free: 66.07 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002578/6.677, allocations: 143.8 kB / 3.246 GB, free: 65.93 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/6.677, allocations: 0 / 3.246 GB, free: 65.93 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005283/6.677, allocations: 388.7 kB / 3.246 GB, free: 65.54 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.313e-05/6.677, allocations: 359.9 kB / 3.247 GB, free: 65.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/6.677, allocations: 0 / 3.247 GB, free: 65.16 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/6.677, allocations: 8 kB / 3.247 GB, free: 65.16 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004595/6.678, allocations: 91.83 kB / 3.247 GB, free: 65.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/6.678, allocations: 4 kB / 3.247 GB, free: 65.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006934/6.679, allocations: 67.69 kB / 3.247 GB, free: 65 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.886e-05/6.679, allocations: 19.98 kB / 3.247 GB, free: 64.98 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/6.679, allocations: 4 kB / 3.247 GB, free: 64.97 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003726/6.679, allocations: 275.8 kB / 3.247 GB, free: 64.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-06/6.679, allocations: 3.938 kB / 3.247 GB, free: 64.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.534e-06/6.679, allocations: 4 kB / 3.247 GB, free: 64.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002986/6.679, allocations: 67.91 kB / 3.247 GB, free: 64.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/6.679, allocations: 0 / 3.247 GB, free: 64.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005516/6.68, allocations: 63.73 kB / 3.247 GB, free: 64.57 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/6.68, allocations: 11.94 kB / 3.247 GB, free: 64.55 MB / 0.6511 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 () * 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.000109/6.68, allocations: 112.9 kB / 3.247 GB, free: 64.44 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.696e-05/6.68, allocations: 55.44 kB / 3.247 GB, free: 64.38 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00013/6.68, allocations: 61.52 kB / 3.247 GB, free: 64.32 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/6.68, allocations: 4 kB / 3.247 GB, free: 64.32 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.413e-06/6.68, allocations: 4 kB / 3.247 GB, free: 64.31 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004436/6.681, allocations: 396.2 kB / 3.248 GB, free: 63.89 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001445/6.682, allocations: 1.073 MB / 3.249 GB, free: 62.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/6.682, allocations: 0 / 3.249 GB, free: 62.76 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005051/6.683, allocations: 107.9 kB / 3.249 GB, free: 62.65 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/6.683, allocations: 4 kB / 3.249 GB, free: 62.65 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.441e-05/6.683, allocations: 12.17 kB / 3.249 GB, free: 62.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/6.683, allocations: 0 / 3.249 GB, free: 62.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/6.683, allocations: 4 kB / 3.249 GB, free: 62.63 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007604/6.684, allocations: 0.7426 MB / 3.25 GB, free: 61.82 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002499/6.684, allocations: 176.4 kB / 3.25 GB, free: 61.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.082e-05/6.684, allocations: 4 kB / 3.25 GB, free: 61.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00063/6.685, allocations: 63.84 kB / 3.25 GB, free: 61.56 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.988e-05/6.685, allocations: 31.86 kB / 3.25 GB, free: 61.53 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.043e-05/6.685, allocations: 15.98 kB / 3.25 GB, free: 61.52 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002662/6.685, allocations: 286.9 kB / 3.25 GB, free: 61.24 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.3e-07/6.685, allocations: 0 / 3.25 GB, free: 61.24 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001204/6.686, allocations: 395 kB / 3.251 GB, free: 60.85 MB / 0.6511 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 () * 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.001995/6.688, allocations: 1.438 MB / 3.252 GB, free: 59.37 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007113/6.689, allocations: 483 kB / 3.253 GB, free: 58.89 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/6.689, allocations: 0 / 3.253 GB, free: 58.89 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002045/6.689, allocations: 165.2 kB / 3.253 GB, free: 58.73 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00163/6.691, allocations: 333 kB / 3.253 GB, free: 58.41 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/6.692, allocations: 0.9586 MB / 3.254 GB, free: 57.41 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004027/6.693, allocations: 0.9421 MB / 3.255 GB, free: 56.45 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0008723/6.694, allocations: 216.6 kB / 3.255 GB, free: 56.23 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/6.694, allocations: 39.42 kB / 3.255 GB, free: 56.19 MB / 0.6511 GB Notification: Performance of SimCode: time 3.81e-07/6.694, allocations: 0 / 3.255 GB, free: 56.19 MB / 0.6511 GB Notification: Performance of Templates: time 0.0276/6.722, allocations: 18.45 MB / 3.273 GB, free: 37.85 MB / 0.6511 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)