Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.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.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay") translateModel(BuildingSystems.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7571/0.7571, allocations: 140.1 MB / 156 MB, free: 5.156 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.001012/0.001012, allocations: 180.8 kB / 188.5 MB, free: 15.82 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.595/1.595, allocations: 205.4 MB / 426.4 MB, free: 8.449 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.0008092/0.0008092, allocations: 90.3 kB / 0.4945 GB, free: 8.406 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001635/0.001635, allocations: 260.7 kB / 0.5728 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004834/0.0004835, allocations: 16 kB / 0.662 GB, free: 6.824 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3886, allocations: 79.31 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.528/4.916, allocations: 2.047 GB / 2.787 GB, free: 242.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/4.917, allocations: 95.8 kB / 2.787 GB, free: 242.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.277/6.194, allocations: 481.7 MB / 3.257 GB, free: 28.21 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.493e-06/6.194, allocations: 0 / 3.257 GB, free: 28.21 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.932e-05/6.194, allocations: 19.98 kB / 3.257 GB, free: 28.2 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002488/6.196, allocations: 1.084 MB / 3.258 GB, free: 27.06 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/6.196, allocations: 12.03 kB / 3.258 GB, free: 27.05 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/6.198, allocations: 199.8 kB / 3.259 GB, free: 26.85 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/6.199, allocations: 0.6369 MB / 3.259 GB, free: 26.18 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.665e-05/6.199, allocations: 41.38 kB / 3.259 GB, free: 26.14 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/6.199, allocations: 48.38 kB / 3.259 GB, free: 26.09 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008579/6.2, allocations: 494.9 kB / 3.26 GB, free: 25.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/6.2, allocations: 3.938 kB / 3.26 GB, free: 25.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.795e-05/6.2, allocations: 16 kB / 3.26 GB, free: 25.58 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/6.2, allocations: 21 kB / 3.26 GB, free: 25.56 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007131/6.201, allocations: 431.6 kB / 3.26 GB, free: 25.14 MB / 0.6823 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.002539/6.204, allocations: 2.009 MB / 3.262 GB, free: 22.95 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004795/6.204, allocations: 334 kB / 3.263 GB, free: 22.62 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002799/6.204, allocations: 209.3 kB / 3.263 GB, free: 22.41 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002345/6.205, allocations: 190.5 kB / 3.263 GB, free: 22.19 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/6.205, allocations: 38.78 kB / 3.263 GB, free: 22.14 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 2.394e-06/6.205, allocations: 0 / 3.263 GB, free: 22.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.00112/6.206, allocations: 0.538 MB / 3.264 GB, free: 21.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/6.206, allocations: 67.28 kB / 3.264 GB, free: 21.52 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005051/6.206, allocations: 0.4991 MB / 3.264 GB, free: 21.01 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.051e-05/6.206, allocations: 33.7 kB / 3.264 GB, free: 20.97 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/6.207, allocations: 304.2 kB / 3.264 GB, free: 20.67 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.465e-05/6.207, allocations: 114.3 kB / 3.265 GB, free: 20.55 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.562e-05/6.207, allocations: 12 kB / 3.265 GB, free: 20.54 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.185e-05/6.207, allocations: 358.8 kB / 3.265 GB, free: 20.18 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002325/6.207, allocations: 136.6 kB / 3.265 GB, free: 20.05 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002881/6.207, allocations: 226.7 kB / 3.265 GB, free: 19.79 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00049/6.208, allocations: 347 kB / 3.266 GB, free: 19.44 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/6.208, allocations: 3.984 kB / 3.266 GB, free: 19.44 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006385/6.208, allocations: 420.7 kB / 3.266 GB, free: 19.02 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.106e-05/6.209, allocations: 121.1 kB / 3.266 GB, free: 18.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/6.209, allocations: 4 kB / 3.266 GB, free: 18.88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/6.209, allocations: 3.938 kB / 3.266 GB, free: 18.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003334/6.209, allocations: 75.91 kB / 3.266 GB, free: 18.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/6.209, allocations: 3.984 kB / 3.266 GB, free: 18.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005736/6.21, allocations: 63.66 kB / 3.266 GB, free: 18.74 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.052e-05/6.21, allocations: 15.98 kB / 3.266 GB, free: 18.72 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.095e-06/6.21, allocations: 8 kB / 3.266 GB, free: 18.71 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005245/6.21, allocations: 347.8 kB / 3.267 GB, free: 18.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.105e-06/6.21, allocations: 0 / 3.267 GB, free: 18.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.338e-06/6.21, allocations: 0 / 3.267 GB, free: 18.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002837/6.21, allocations: 79.94 kB / 3.267 GB, free: 18.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/6.21, allocations: 3.938 kB / 3.267 GB, free: 18.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005321/6.211, allocations: 71.55 kB / 3.267 GB, free: 18.22 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.064e-05/6.211, allocations: 16 kB / 3.267 GB, free: 18.21 MB / 0.6823 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.0002821/6.211, allocations: 285 kB / 3.267 GB, free: 17.92 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.61e-05/6.211, allocations: 59.34 kB / 3.267 GB, free: 17.86 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006706/6.212, allocations: 432 kB / 3.267 GB, free: 17.43 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/6.212, allocations: 4 kB / 3.267 GB, free: 17.43 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/6.212, allocations: 0 / 3.267 GB, free: 17.43 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004991/6.213, allocations: 444.5 kB / 3.268 GB, free: 16.96 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001564/6.214, allocations: 1.172 MB / 3.269 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/6.214, allocations: 7.938 kB / 3.269 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003818/6.215, allocations: 79.95 kB / 3.269 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/6.215, allocations: 7.938 kB / 3.269 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/6.215, allocations: 12 kB / 3.269 GB, free: 15.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/6.215, allocations: 8.172 kB / 3.269 GB, free: 15.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/6.215, allocations: 4 kB / 3.269 GB, free: 15.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009096/6.216, allocations: 0.7307 MB / 3.27 GB, free: 14.83 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002311/6.216, allocations: 176.3 kB / 3.27 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.316e-05/6.216, allocations: 11.98 kB / 3.27 GB, free: 14.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000483/6.216, allocations: 55.8 kB / 3.27 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.168e-05/6.217, allocations: 31.91 kB / 3.27 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.42e-05/6.217, allocations: 12 kB / 3.27 GB, free: 14.53 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003385/6.217, allocations: 354.8 kB / 3.27 GB, free: 14.19 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.72e-07/6.217, allocations: 0 / 3.27 GB, free: 14.19 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001228/6.218, allocations: 451.2 kB / 3.271 GB, free: 13.75 MB / 0.6823 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.001843/6.22, allocations: 1.275 MB / 3.272 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009086/6.221, allocations: 0.5194 MB / 3.273 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/6.221, allocations: 4 kB / 3.273 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002678/6.221, allocations: 183.8 kB / 3.273 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/6.223, allocations: 366.8 kB / 3.273 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/6.225, allocations: 1.542 MB / 3.275 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004235/6.225, allocations: 0.9256 MB / 3.276 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00069/6.226, allocations: 184.7 kB / 3.276 GB, free: 8.648 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/6.226, allocations: 55.38 kB / 3.276 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of SimCode: time 2.11e-07/6.226, allocations: 3.938 kB / 3.276 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of Templates: time 0.4151/6.641, allocations: 26.4 MB / 3.302 GB, free: 140.5 MB / 0.6823 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.sim & ./BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe 2>&1)