Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001153/0.001153, allocations: 102.7 kB / 16.36 MB, free: 6.301 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.001148/0.001148, allocations: 190.4 kB / 17.29 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.347/1.347, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.752/1.752, allocations: 292.3 MB / 0.5496 GB, free: 17.4 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 70.88 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2475, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.5666/0.8141, allocations: 183.2 MB / 0.9637 GB, free: 2.707 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.008544/0.8227, allocations: 4.825 MB / 0.9684 GB, free: 13.88 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001205/0.8241, allocations: 35.81 kB / 0.9685 GB, free: 13.85 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001283/0.8254, allocations: 437.4 kB / 0.9689 GB, free: 13.42 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.003772/0.8291, allocations: 1.401 MB / 0.9702 GB, free: 12.01 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002248/0.8314, allocations: 0.7764 MB / 0.971 GB, free: 11.24 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.002569/0.834, allocations: 1.834 MB / 0.9728 GB, free: 9.406 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000909/0.8349, allocations: 0.594 MB / 0.9734 GB, free: 8.797 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001922/0.8369, allocations: 0.8677 MB / 0.9742 GB, free: 7.926 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001335/0.8382, allocations: 0.55 MB / 0.9748 GB, free: 7.379 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001147/0.8383, allocations: 56 kB / 0.9748 GB, free: 7.324 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002782/0.8411, allocations: 1.407 MB / 0.9762 GB, free: 5.914 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0003422/0.8415, allocations: 267.2 kB / 0.9764 GB, free: 5.652 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0005266/0.842, allocations: 406.1 kB / 0.9768 GB, free: 5.254 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002305/0.8443, allocations: 1.414 MB / 0.9782 GB, free: 3.836 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.8444, allocations: 0 / 0.9782 GB, free: 3.836 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.888e-06/0.8444, allocations: 4 kB / 0.9782 GB, free: 3.832 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.8444, allocations: 0 / 0.9782 GB, free: 3.832 MB / 0.7637 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.001805/0.8462, allocations: 1.097 MB / 0.9793 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.8463, allocations: 8.031 kB / 0.9793 GB, free: 2.68 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001314/0.8476, allocations: 210.8 kB / 0.9795 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.8486, allocations: 0.6122 MB / 0.9801 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/0.8487, allocations: 37 kB / 0.9801 GB, free: 1.781 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.994e-05/0.8487, allocations: 48 kB / 0.9802 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008809/0.8496, allocations: 0.4901 MB / 0.9807 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.8497, allocations: 0 / 0.9807 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.776e-05/0.8497, allocations: 25.97 kB / 0.9807 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-05/0.8498, allocations: 17 kB / 0.9807 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008053/0.8506, allocations: 439.7 kB / 0.9811 GB, free: 0.7734 MB / 0.7637 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.002688/0.8533, allocations: 1.994 MB / 0.9831 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005801/0.8539, allocations: 344.8 kB / 0.9834 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003758/0.8543, allocations: 215.3 kB / 0.9836 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003526/0.8546, allocations: 194.4 kB / 0.9838 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/0.8547, allocations: 38.84 kB / 0.9838 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=33): time 2.865e-06/0.8547, allocations: 0 / 0.9838 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33): time 0.001445/0.8561, allocations: 0.5411 MB / 0.9843 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.8562, allocations: 55.34 kB / 0.9844 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006606/0.8569, allocations: 0.4991 MB / 0.9849 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.428e-05/0.8569, allocations: 37.7 kB / 0.9849 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/0.8572, allocations: 300.2 kB / 0.9852 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/0.8573, allocations: 122.3 kB / 0.9853 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.8575, allocations: 77.88 kB / 0.9854 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.8576, allocations: 362.8 kB / 0.9857 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002744/0.8579, allocations: 142.1 kB / 0.9859 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003558/0.8583, allocations: 223.8 kB / 0.9861 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005873/0.8589, allocations: 337.9 kB / 0.9864 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.8589, allocations: 3.094 kB / 0.9864 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007708/0.8597, allocations: 432.4 kB / 0.9868 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.8597, allocations: 4 kB / 0.9868 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.8597, allocations: 0 / 0.9868 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.8597, allocations: 4 kB / 0.9868 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003622/0.8601, allocations: 75.84 kB / 0.9869 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.8601, allocations: 7.984 kB / 0.9869 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004721/0.8606, allocations: 35.67 kB / 0.987 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.644e-05/0.8606, allocations: 16.09 kB / 0.987 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004791/0.8611, allocations: 308 kB / 0.9873 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003286/0.8615, allocations: 212.2 kB / 0.9875 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005592/0.862, allocations: 339.3 kB / 0.9878 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.293e-06/0.862, allocations: 0 / 0.9878 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.000742/0.8628, allocations: 420.5 kB / 0.9882 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.8628, allocations: 8.094 kB / 0.9882 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.8628, allocations: 4 kB / 0.9882 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.586e-06/0.8628, allocations: 0 / 0.9882 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003091/0.8631, allocations: 75.89 kB / 0.9883 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.798e-05/0.8632, allocations: 5.969 kB / 0.9883 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004459/0.8636, allocations: 31.83 kB / 0.9883 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.79e-05/0.8637, allocations: 12 kB / 0.9883 GB, free: 9.016 MB / 0.7794 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.0001424/0.8638, allocations: 204.2 kB / 0.9885 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.8639, allocations: 63.19 kB / 0.9886 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007956/0.8647, allocations: 413.3 kB / 0.989 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.8647, allocations: 7.938 kB / 0.989 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.8648, allocations: 3.5 kB / 0.989 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006373/0.8654, allocations: 436.5 kB / 0.9894 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/0.8672, allocations: 1.172 MB / 0.9905 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.8673, allocations: 0 / 0.9905 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004194/0.8677, allocations: 96.02 kB / 0.9906 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.8677, allocations: 4 kB / 0.9906 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.898e-05/0.8677, allocations: 8 kB / 0.9906 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.213e-06/0.8677, allocations: 14.83 kB / 0.9907 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.8677, allocations: 0 / 0.9907 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.8689, allocations: 0.7242 MB / 0.9914 GB, free: 5.75 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000251/0.8691, allocations: 180.3 kB / 0.9915 GB, free: 5.555 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.282e-05/0.8692, allocations: 8 kB / 0.9915 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004466/0.8697, allocations: 28.06 kB / 0.9916 GB, free: 5.52 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.432e-05/0.8698, allocations: 27.95 kB / 0.9916 GB, free: 5.492 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.16e-05/0.8698, allocations: 15.94 kB / 0.9916 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004441/0.8702, allocations: 362.8 kB / 0.992 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2e-07/0.8703, allocations: 0 / 0.992 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0008959/0.8712, allocations: 315.3 kB / 0.9923 GB, free: 4.816 MB / 0.7794 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 (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.0004972/0.8717, allocations: 194.9 kB / 0.9924 GB, free: 4.629 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001041/0.8727, allocations: 0.5121 MB / 0.9929 GB, free: 4.117 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.8727, allocations: 4 kB / 0.993 GB, free: 4.113 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000313/0.8731, allocations: 176.5 kB / 0.9931 GB, free: 3.941 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/0.8747, allocations: 352.3 kB / 0.9935 GB, free: 3.629 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.8767, allocations: 1.281 MB / 0.9947 GB, free: 2.305 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005236/0.8773, allocations: 0.9295 MB / 0.9956 GB, free: 1.348 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.8774, allocations: 47.44 kB / 0.9957 GB, free: 1.301 MB / 0.7794 GB Notification: Performance of SimCode: time 4.1e-07/0.8775, allocations: 4 kB / 0.9957 GB, free: 1.297 MB / 0.7794 GB Notification: Performance of Templates: time 0.01482/0.8923, allocations: 9.652 MB / 1.005 GB, free: 7.867 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_8_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_8_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1)