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.00121/0.00121, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 198.5 kB / 16.53 MB, free: 6.391 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.708/1.708, allocations: 205.1 MB / 222.4 MB, free: 4.555 MB / 174.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.783/1.783, allocations: 292.3 MB / 0.5488 GB, free: 12.85 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.001426/0.001426, allocations: 70.02 kB / 0.6715 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2975, allocations: 114.6 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.9751/1.273, allocations: 183.2 MB / 0.9623 GB, free: 412 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0115/1.284, allocations: 4.822 MB / 0.967 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002086/1.286, allocations: 28.91 kB / 0.9671 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001717/1.288, allocations: 435 kB / 0.9675 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00521/1.293, allocations: 1.399 MB / 0.9688 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002999/1.296, allocations: 0.7635 MB / 0.9696 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003898/1.3, allocations: 1.84 MB / 0.9714 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001306/1.302, allocations: 0.5898 MB / 0.972 GB, free: 15 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003025/1.305, allocations: 0.8713 MB / 0.9728 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001612/1.306, allocations: 0.5431 MB / 0.9733 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001473/1.306, allocations: 58.38 kB / 0.9734 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00426/1.311, allocations: 1.407 MB / 0.9748 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000447/1.311, allocations: 266.9 kB / 0.975 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006083/1.312, allocations: 396.9 kB / 0.9754 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002808/1.315, allocations: 1.413 MB / 0.9768 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/1.315, allocations: 0 / 0.9768 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.305e-06/1.315, allocations: 0 / 0.9768 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.406e-05/1.315, allocations: 1.5 kB / 0.9768 GB, free: 14.26 MB / 0.7325 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.00199/1.317, allocations: 1.094 MB / 0.9778 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/1.317, allocations: 17.22 kB / 0.9779 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/1.318, allocations: 205 kB / 0.9781 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000923/1.319, allocations: 0.5872 MB / 0.9786 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.304e-05/1.319, allocations: 42.34 kB / 0.9787 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.484e-05/1.319, allocations: 42.88 kB / 0.9787 GB, free: 13 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000958/1.32, allocations: 498.5 kB / 0.9792 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/1.32, allocations: 0 / 0.9792 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.668e-05/1.32, allocations: 21.05 kB / 0.9792 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.155e-05/1.32, allocations: 21.12 kB / 0.9792 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000829/1.321, allocations: 433.2 kB / 0.9796 GB, free: 12.55 MB / 0.7325 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.003259/1.324, allocations: 2.023 MB / 0.9816 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006999/1.325, allocations: 336.1 kB / 0.9819 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003986/1.326, allocations: 213.9 kB / 0.9821 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003897/1.326, allocations: 187.5 kB / 0.9823 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.653e-05/1.326, allocations: 42.39 kB / 0.9824 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 3.005e-06/1.326, allocations: 0 / 0.9824 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.001551/1.328, allocations: 0.5372 MB / 0.9829 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.607e-05/1.328, allocations: 57.53 kB / 0.9829 GB, free: 9.977 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007249/1.328, allocations: 0.5064 MB / 0.9834 GB, free: 9.672 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.238e-05/1.328, allocations: 36.86 kB / 0.9835 GB, free: 9.633 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003129/1.329, allocations: 303.8 kB / 0.9838 GB, free: 9.367 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/1.329, allocations: 114.7 kB / 0.9839 GB, free: 9.27 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001691/1.329, allocations: 75.91 kB / 0.9839 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002715/1.329, allocations: 368.1 kB / 0.9843 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003734/1.33, allocations: 138.6 kB / 0.9844 GB, free: 8.793 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003802/1.33, allocations: 219.6 kB / 0.9846 GB, free: 8.637 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006285/1.331, allocations: 340.9 kB / 0.985 GB, free: 8.449 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/1.331, allocations: 0 / 0.985 GB, free: 8.449 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008252/1.332, allocations: 425.3 kB / 0.9854 GB, free: 8.23 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/1.332, allocations: 4.844 kB / 0.9854 GB, free: 8.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/1.332, allocations: 0 / 0.9854 GB, free: 8.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.189e-05/1.332, allocations: 6.922 kB / 0.9854 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003847/1.332, allocations: 70.94 kB / 0.9854 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/1.332, allocations: 10.34 kB / 0.9855 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005283/1.333, allocations: 40.45 kB / 0.9855 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.133e-05/1.333, allocations: 17.64 kB / 0.9855 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005013/1.333, allocations: 306.8 kB / 0.9858 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003599/1.334, allocations: 213.9 kB / 0.986 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006195/1.334, allocations: 337.7 kB / 0.9863 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.142e-06/1.334, allocations: 0 / 0.9863 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007731/1.335, allocations: 422 kB / 0.9867 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/1.335, allocations: 9.219 kB / 0.9867 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/1.335, allocations: 2.469 kB / 0.9867 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.22e-06/1.335, allocations: 1.844 kB / 0.9867 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003166/1.335, allocations: 70.97 kB / 0.9868 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/1.335, allocations: 6.062 kB / 0.9868 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000448/1.336, allocations: 36.75 kB / 0.9868 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.691e-05/1.336, allocations: 14.06 kB / 0.9869 GB, free: 7.363 MB / 0.7325 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.0001767/1.336, allocations: 207.5 kB / 0.9871 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/1.336, allocations: 59 kB / 0.9871 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008149/1.337, allocations: 419.4 kB / 0.9875 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/1.337, allocations: 2.812 kB / 0.9875 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/1.337, allocations: 6.688 kB / 0.9875 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006788/1.338, allocations: 439.5 kB / 0.9879 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001908/1.34, allocations: 1.169 MB / 0.9891 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/1.34, allocations: 6.281 kB / 0.9891 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004066/1.34, allocations: 85.88 kB / 0.9892 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/1.34, allocations: 4.719 kB / 0.9892 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.897e-05/1.34, allocations: 9.25 kB / 0.9892 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/1.34, allocations: 3.344 kB / 0.9892 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.34, allocations: 2.125 kB / 0.9892 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/1.341, allocations: 0.7285 MB / 0.9899 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002577/1.342, allocations: 173.9 kB / 0.9901 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.744e-05/1.342, allocations: 13.41 kB / 0.9901 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004421/1.342, allocations: 30.2 kB / 0.9901 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.977e-05/1.342, allocations: 24.84 kB / 0.9901 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.86e-05/1.342, allocations: 13.36 kB / 0.9901 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000462/1.343, allocations: 363.9 kB / 0.9905 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/1.343, allocations: 0 / 0.9905 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001021/1.344, allocations: 322.6 kB / 0.9908 GB, free: 4.734 MB / 0.7325 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.00059/1.344, allocations: 188.8 kB / 0.991 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001224/1.346, allocations: 0.543 MB / 0.9915 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.346, allocations: 0 / 0.9915 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003259/1.346, allocations: 187.2 kB / 0.9917 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001732/1.348, allocations: 367.1 kB / 0.992 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/1.35, allocations: 1.245 MB / 0.9933 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006245/1.351, allocations: 0.9303 MB / 0.9942 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006394/1.351, allocations: 182 kB / 0.9943 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/1.351, allocations: 49.31 kB / 0.9944 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of SimCode: time 3.3e-07/1.351, allocations: 0 / 0.9944 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of Templates: time 0.02348/1.375, allocations: 11.72 MB / 1.006 GB, free: 12.63 MB / 0.7481 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)