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.001244/0.001244, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001992/0.001992, allocations: 191.8 kB / 16.14 MB, free: 6.707 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.317/1.317, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002144/0.002144, allocations: 278.9 kB / 290.2 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9322/0.9322, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 91.38 kB / 0.5945 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1576, allocations: 86.99 MB / 0.6794 GB, free: 1.195 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Delays.Examples.Delay): time 0.5113/0.6689, allocations: 181 MB / 0.8562 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007921/0.6768, allocations: 4.955 MB / 0.861 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001237/0.6781, allocations: 27 kB / 0.861 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001295/0.6795, allocations: 362.7 kB / 0.8614 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003885/0.6834, allocations: 1.327 MB / 0.8627 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001985/0.6854, allocations: 0.7023 MB / 0.8634 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002676/0.688, allocations: 2.523 MB / 0.8658 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007645/0.6888, allocations: 0.5053 MB / 0.8663 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001623/0.6905, allocations: 0.7735 MB / 0.8671 GB, free: 108 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001126/0.6916, allocations: 0.5688 MB / 0.8676 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.818e-05/0.6917, allocations: 32.47 kB / 0.8677 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002724/0.6944, allocations: 1.606 MB / 0.8692 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000259/0.6947, allocations: 248.6 kB / 0.8695 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000412/0.6951, allocations: 370.5 kB / 0.8698 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00193/0.6971, allocations: 1.456 MB / 0.8712 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.6971, allocations: 3.984 kB / 0.8712 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of FrontEnd: time 9.42e-07/0.6971, allocations: 0 / 0.8712 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.6971, allocations: 0 / 0.8712 GB, free: 13.55 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.001532/0.6986, allocations: 1.107 MB / 0.8723 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.6987, allocations: 7.594 kB / 0.8723 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/0.7, allocations: 208.2 kB / 0.8725 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008362/0.7008, allocations: 0.5843 MB / 0.8731 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.015e-05/0.7008, allocations: 40.97 kB / 0.8731 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.536e-05/0.7009, allocations: 52 kB / 0.8732 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008279/0.7017, allocations: 495.1 kB / 0.8737 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.7018, allocations: 0 / 0.8737 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.078e-05/0.7018, allocations: 20.91 kB / 0.8737 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.944e-05/0.7019, allocations: 16.38 kB / 0.8737 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007517/0.7026, allocations: 442.4 kB / 0.8741 GB, free: 11.55 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.002435/0.7051, allocations: 2.009 MB / 0.8761 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005628/0.7056, allocations: 345.4 kB / 0.8764 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003075/0.706, allocations: 213.8 kB / 0.8766 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002715/0.7062, allocations: 191.6 kB / 0.8768 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.7063, allocations: 43.84 kB / 0.8768 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.433e-06/0.7063, allocations: 0 / 0.8768 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001141/0.7074, allocations: 0.5394 MB / 0.8774 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.7075, allocations: 58.44 kB / 0.8774 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005041/0.708, allocations: 0.5138 MB / 0.8779 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/0.708, allocations: 32.42 kB / 0.878 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/0.7082, allocations: 299.5 kB / 0.8782 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.7084, allocations: 121 kB / 0.8784 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.7085, allocations: 65.38 kB / 0.8784 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.7086, allocations: 366.3 kB / 0.8788 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002626/0.7089, allocations: 145.9 kB / 0.8789 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003028/0.7092, allocations: 223.9 kB / 0.8791 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005288/0.7097, allocations: 336.3 kB / 0.8794 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.7097, allocations: 2.906 kB / 0.8794 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006534/0.7104, allocations: 425.8 kB / 0.8799 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.7104, allocations: 4.906 kB / 0.8799 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.7104, allocations: 4.094 kB / 0.8799 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.7105, allocations: 2.875 kB / 0.8799 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003097/0.7108, allocations: 71.23 kB / 0.8799 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.7108, allocations: 6.094 kB / 0.8799 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005053/0.7113, allocations: 67.17 kB / 0.88 GB, free: 7.137 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.7113, allocations: 9.688 kB / 0.88 GB, free: 7.137 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004023/0.7117, allocations: 308.5 kB / 0.8803 GB, free: 6.938 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002838/0.712, allocations: 216.4 kB / 0.8805 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005047/0.7125, allocations: 327.3 kB / 0.8808 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.302e-06/0.7126, allocations: 3.938 kB / 0.8808 GB, free: 6.602 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006322/0.7132, allocations: 422.9 kB / 0.8812 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.894e-06/0.7132, allocations: 6.75 kB / 0.8812 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-06/0.7132, allocations: 3 kB / 0.8812 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.397e-06/0.7132, allocations: 2.312 kB / 0.8812 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002862/0.7135, allocations: 72.89 kB / 0.8813 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-06/0.7135, allocations: 6.719 kB / 0.8813 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004759/0.714, allocations: 63.08 kB / 0.8814 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/0.714, allocations: 14.06 kB / 0.8814 GB, free: 6.32 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.0001353/0.7142, allocations: 205.9 kB / 0.8816 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.148e-05/0.7143, allocations: 62.03 kB / 0.8816 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006947/0.715, allocations: 421.4 kB / 0.882 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.715, allocations: 5.656 kB / 0.8821 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.715, allocations: 4.875 kB / 0.8821 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005484/0.7156, allocations: 432 kB / 0.8825 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001619/0.7172, allocations: 1.177 MB / 0.8836 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.7172, allocations: 2.625 kB / 0.8836 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003846/0.7176, allocations: 85.36 kB / 0.8837 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.329e-06/0.7176, allocations: 2.438 kB / 0.8837 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.7176, allocations: 6.406 kB / 0.8837 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.7176, allocations: 5.906 kB / 0.8837 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.7177, allocations: 2.781 kB / 0.8837 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000947/0.7186, allocations: 0.6986 MB / 0.8844 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002056/0.7188, allocations: 188.7 kB / 0.8846 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.157e-05/0.7189, allocations: 6.719 kB / 0.8846 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004661/0.7194, allocations: 41.14 kB / 0.8846 GB, free: 3.992 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.416e-05/0.7195, allocations: 29.97 kB / 0.8847 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.76e-05/0.7195, allocations: 11.59 kB / 0.8847 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004113/0.7199, allocations: 366.1 kB / 0.885 GB, free: 3.758 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7199, allocations: 0 / 0.885 GB, free: 3.758 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007597/0.7207, allocations: 326.8 kB / 0.8853 GB, free: 3.695 MB / 0.5919 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.0004261/0.7211, allocations: 198.7 kB / 0.8855 GB, free: 3.555 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009051/0.722, allocations: 0.5146 MB / 0.886 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.722, allocations: 2.656 kB / 0.886 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002781/0.7223, allocations: 185.7 kB / 0.8862 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/0.724, allocations: 372.5 kB / 0.8866 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/0.7259, allocations: 1.493 MB / 0.888 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004671/0.7264, allocations: 0.9296 MB / 0.8889 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005836/0.727, allocations: 184.7 kB / 0.8891 GB, free: 0.6445 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.7271, allocations: 51.42 kB / 0.8891 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of SimCode: time 3.51e-07/0.7271, allocations: 0 / 0.8891 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of Templates: time 0.01826/0.7454, allocations: 11.33 MB / 0.9002 GB, free: 5.457 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)