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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009791/0.0009791, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007741/0.007741, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002826/0.002826, allocations: 277.9 kB / 291.7 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9636/0.9636, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004908/0.0004909, allocations: 13.09 kB / 0.5986 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1731, allocations: 88.56 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Delays.Examples.Delay): time 0.4883/0.6614, allocations: 178.6 MB / 0.8595 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007095/0.6686, allocations: 4.881 MB / 0.8643 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006829/0.6693, allocations: 27.91 kB / 0.8643 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009879/0.6703, allocations: 377.6 kB / 0.8647 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003061/0.6733, allocations: 1.322 MB / 0.866 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002094/0.6754, allocations: 0.695 MB / 0.8667 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002868/0.6783, allocations: 2.54 MB / 0.8691 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008377/0.6792, allocations: 494.2 kB / 0.8696 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001652/0.6808, allocations: 0.7629 MB / 0.8704 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009749/0.6818, allocations: 0.549 MB / 0.8709 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.075e-05/0.6819, allocations: 24.66 kB / 0.8709 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002561/0.6845, allocations: 1.61 MB / 0.8725 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002409/0.6847, allocations: 225.9 kB / 0.8727 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003486/0.6851, allocations: 385.7 kB / 0.8731 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001601/0.6867, allocations: 1.438 MB / 0.8745 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.6867, allocations: 0 / 0.8745 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6867, allocations: 3.344 kB / 0.8745 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.6867, allocations: 4 kB / 0.8745 GB, free: 12.44 MB / 0.5919 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.0014/0.6881, allocations: 0.9673 MB / 0.8754 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.6882, allocations: 14.88 kB / 0.8754 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/0.6894, allocations: 203.6 kB / 0.8756 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007784/0.6902, allocations: 0.5884 MB / 0.8762 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.154e-05/0.6903, allocations: 35.47 kB / 0.8762 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.229e-05/0.6903, allocations: 53.59 kB / 0.8763 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008142/0.6911, allocations: 0.4902 MB / 0.8768 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.6912, allocations: 2.844 kB / 0.8768 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.06e-05/0.6912, allocations: 17.12 kB / 0.8768 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.428e-05/0.6913, allocations: 18.69 kB / 0.8768 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000737/0.692, allocations: 452.1 kB / 0.8772 GB, free: 10.52 MB / 0.5919 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.00245/0.6945, allocations: 2.013 MB / 0.8792 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005877/0.6951, allocations: 350.9 kB / 0.8795 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003333/0.6954, allocations: 218.8 kB / 0.8798 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002671/0.6957, allocations: 190.5 kB / 0.8799 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.6957, allocations: 48.84 kB / 0.88 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.754e-06/0.6957, allocations: 0 / 0.88 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001247/0.697, allocations: 0.5619 MB / 0.8805 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.697, allocations: 59.34 kB / 0.8806 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005517/0.6976, allocations: 0.503 MB / 0.8811 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.596e-05/0.6977, allocations: 33.7 kB / 0.8811 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002088/0.6979, allocations: 304.2 kB / 0.8814 GB, free: 6.715 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.687e-05/0.698, allocations: 110.3 kB / 0.8815 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.508e-05/0.698, allocations: 41.64 kB / 0.8815 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.6982, allocations: 366.8 kB / 0.8819 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002774/0.6985, allocations: 140.6 kB / 0.882 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000334/0.6988, allocations: 224.6 kB / 0.8822 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005902/0.6994, allocations: 348.9 kB / 0.8826 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.6994, allocations: 4 kB / 0.8826 GB, free: 5.457 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007452/0.7002, allocations: 432.7 kB / 0.883 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.795e-05/0.7003, allocations: 123.5 kB / 0.8831 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.7003, allocations: 0 / 0.8831 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.7003, allocations: 4 kB / 0.8831 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003531/0.7007, allocations: 71.84 kB / 0.8832 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.7007, allocations: 8 kB / 0.8832 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000564/0.7013, allocations: 67.64 kB / 0.8833 GB, free: 4.742 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.532e-05/0.7013, allocations: 15.98 kB / 0.8833 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.001e-06/0.7013, allocations: 4 kB / 0.8833 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006309/0.702, allocations: 363.8 kB / 0.8836 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-06/0.702, allocations: 0 / 0.8836 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.198e-06/0.702, allocations: 4 kB / 0.8836 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003016/0.7023, allocations: 67.91 kB / 0.8837 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/0.7023, allocations: 0 / 0.8837 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005034/0.7028, allocations: 71.67 kB / 0.8838 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.7028, allocations: 8 kB / 0.8838 GB, free: 4.219 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002983/0.7032, allocations: 296.9 kB / 0.884 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.172e-05/0.7032, allocations: 63.25 kB / 0.8841 GB, free: 3.855 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000795/0.704, allocations: 431.2 kB / 0.8845 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.872e-06/0.7041, allocations: 4 kB / 0.8845 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.7041, allocations: 4.859 kB / 0.8845 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006366/0.7047, allocations: 452.2 kB / 0.885 GB, free: 2.945 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/0.7064, allocations: 1.176 MB / 0.8861 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.7065, allocations: 7.938 kB / 0.8861 GB, free: 1.688 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004032/0.7069, allocations: 88.08 kB / 0.8862 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.7069, allocations: 0 / 0.8862 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.823e-05/0.7069, allocations: 19.98 kB / 0.8862 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.7069, allocations: 4 kB / 0.8862 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.7069, allocations: 7.984 kB / 0.8862 GB, free: 1.57 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.708, allocations: 0.7228 MB / 0.8869 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001992/0.7082, allocations: 176.3 kB / 0.8871 GB, free: 0.6211 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.63e-05/0.7082, allocations: 8 kB / 0.8871 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005338/0.7088, allocations: 53.11 kB / 0.8872 GB, free: 0.5625 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.8e-05/0.7089, allocations: 27.91 kB / 0.8872 GB, free: 0.5352 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.941e-05/0.7089, allocations: 19.98 kB / 0.8872 GB, free: 0.5156 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003674/0.7093, allocations: 358.8 kB / 0.8875 GB, free: 172 kB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7093, allocations: 0 / 0.8875 GB, free: 172 kB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008312/0.7101, allocations: 323.3 kB / 0.8879 GB, free: 15.85 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.medium.Xi[1],del.dynBal.U,del.dynBal.m) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003787/0.7105, allocations: 189.4 kB / 0.888 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009708/0.7115, allocations: 0.535 MB / 0.8886 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.7115, allocations: 0 / 0.8886 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003062/0.7118, allocations: 191 kB / 0.8887 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/0.7138, allocations: 372.6 kB / 0.8891 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/0.7157, allocations: 1.562 MB / 0.8906 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000452/0.7162, allocations: 0.9295 MB / 0.8915 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006159/0.7168, allocations: 184.7 kB / 0.8917 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.7169, allocations: 51.42 kB / 0.8918 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of SimCode: time 1.493e-06/0.7169, allocations: 0 / 0.8918 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of Templates: time 0.01986/0.7368, allocations: 11.26 MB / 0.9028 GB, free: 0.7109 MB / 0.6075 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)