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.001266/0.001266, 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.001314/0.001314, allocations: 195.9 kB / 16.14 MB, free: 6.711 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.512/1.512, allocations: 205.1 MB / 222 MB, free: 4.805 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.774/1.774, allocations: 292.2 MB / 0.5484 GB, free: 13.68 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.001382/0.001382, allocations: 65.38 kB / 0.6708 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3015, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.8649/1.166, allocations: 181 MB / 0.9594 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01541/1.182, allocations: 4.887 MB / 0.9642 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002234/1.184, allocations: 30.34 kB / 0.9642 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002427/1.187, allocations: 376.1 kB / 0.9646 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.008148/1.195, allocations: 1.324 MB / 0.9659 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004407/1.199, allocations: 0.6941 MB / 0.9666 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005556/1.205, allocations: 2.512 MB / 0.969 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001535/1.206, allocations: 0.5059 MB / 0.9695 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003603/1.21, allocations: 0.7727 MB / 0.9703 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002505/1.213, allocations: 0.5663 MB / 0.9708 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003139/1.213, allocations: 30.78 kB / 0.9708 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007633/1.221, allocations: 1.608 MB / 0.9724 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000944/1.222, allocations: 237.1 kB / 0.9726 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.00194/1.224, allocations: 376.7 kB / 0.973 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005858/1.229, allocations: 1.465 MB / 0.9744 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/1.23, allocations: 0 / 0.9744 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.174e-06/1.23, allocations: 0 / 0.9744 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.357e-05/1.23, allocations: 0 / 0.9744 GB, free: 4.891 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.005065/1.235, allocations: 1.104 MB / 0.9755 GB, free: 20.22 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.298e-05/1.235, allocations: 8.969 kB / 0.9755 GB, free: 20.22 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002685/1.238, allocations: 204.1 kB / 0.9757 GB, free: 20.18 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002126/1.24, allocations: 0.5854 MB / 0.9763 GB, free: 19.88 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.636e-05/1.24, allocations: 35.06 kB / 0.9763 GB, free: 19.88 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001715/1.24, allocations: 51.69 kB / 0.9764 GB, free: 19.88 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/1.241, allocations: 498.4 kB / 0.9768 GB, free: 19.83 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/1.241, allocations: 0 / 0.9768 GB, free: 19.83 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-05/1.241, allocations: 23.09 kB / 0.9769 GB, free: 19.83 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.209e-05/1.241, allocations: 19.84 kB / 0.9769 GB, free: 19.82 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/1.242, allocations: 441.5 kB / 0.9773 GB, free: 19.82 MB / 0.7481 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.003541/1.246, allocations: 1.986 MB / 0.9792 GB, free: 18.82 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006419/1.247, allocations: 351.8 kB / 0.9796 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003717/1.247, allocations: 205.1 kB / 0.9798 GB, free: 18.78 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003672/1.247, allocations: 198.2 kB / 0.98 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/1.247, allocations: 36.31 kB / 0.98 GB, free: 18.55 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=33): time 2.936e-06/1.247, allocations: 0 / 0.98 GB, free: 18.55 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33): time 0.00157/1.249, allocations: 0.5387 MB / 0.9805 GB, free: 18.48 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/1.249, allocations: 67.09 kB / 0.9806 GB, free: 18.41 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007668/1.25, allocations: 0.4979 MB / 0.9811 GB, free: 18.29 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.057e-05/1.25, allocations: 35.89 kB / 0.9811 GB, free: 18.26 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/1.25, allocations: 303.2 kB / 0.9814 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/1.25, allocations: 113.2 kB / 0.9815 GB, free: 18.05 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/1.251, allocations: 73.84 kB / 0.9816 GB, free: 18.03 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002268/1.251, allocations: 364.3 kB / 0.9819 GB, free: 17.71 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003516/1.251, allocations: 145.2 kB / 0.9821 GB, free: 17.7 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004346/1.252, allocations: 213.6 kB / 0.9823 GB, free: 17.63 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007245/1.252, allocations: 339.3 kB / 0.9826 GB, free: 17.59 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/1.252, allocations: 0 / 0.9826 GB, free: 17.59 MB / 0.7481 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001117/1.253, allocations: 433.7 kB / 0.983 GB, free: 17.52 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/1.254, allocations: 9.156 kB / 0.983 GB, free: 17.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/1.254, allocations: 5.438 kB / 0.983 GB, free: 17.52 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.992e-05/1.254, allocations: 2.844 kB / 0.983 GB, free: 17.52 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004493/1.254, allocations: 67.53 kB / 0.9831 GB, free: 17.52 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.975e-05/1.254, allocations: 6.688 kB / 0.9831 GB, free: 17.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008904/1.255, allocations: 67.67 kB / 0.9831 GB, free: 17.49 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.312e-05/1.255, allocations: 13.56 kB / 0.9832 GB, free: 17.49 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000622/1.256, allocations: 306.6 kB / 0.9835 GB, free: 17.41 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000317/1.256, allocations: 218.6 kB / 0.9837 GB, free: 17.33 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005313/1.256, allocations: 329.6 kB / 0.984 GB, free: 17.3 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.846e-06/1.257, allocations: 3.328 kB / 0.984 GB, free: 17.3 MB / 0.7481 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007652/1.257, allocations: 423.2 kB / 0.9844 GB, free: 17.23 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/1.257, allocations: 5.375 kB / 0.9844 GB, free: 17.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-06/1.257, allocations: 0 / 0.9844 GB, free: 17.23 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.31e-06/1.257, allocations: 4.969 kB / 0.9844 GB, free: 17.23 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003063/1.258, allocations: 68.16 kB / 0.9845 GB, free: 17.23 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/1.258, allocations: 9.25 kB / 0.9845 GB, free: 17.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006849/1.258, allocations: 60.73 kB / 0.9845 GB, free: 17.2 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/1.258, allocations: 12.03 kB / 0.9845 GB, free: 17.2 MB / 0.7481 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.0002084/1.259, allocations: 194.7 kB / 0.9847 GB, free: 17.02 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/1.259, allocations: 62.81 kB / 0.9848 GB, free: 16.99 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008776/1.26, allocations: 424.4 kB / 0.9852 GB, free: 16.94 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/1.26, allocations: 2.344 kB / 0.9852 GB, free: 16.94 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/1.26, allocations: 3.938 kB / 0.9852 GB, free: 16.93 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006113/1.26, allocations: 437.9 kB / 0.9856 GB, free: 16.77 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002212/1.263, allocations: 1.171 MB / 0.9868 GB, free: 16.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/1.263, allocations: 1.781 kB / 0.9868 GB, free: 16.4 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004329/1.263, allocations: 90.22 kB / 0.9868 GB, free: 16.4 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/1.263, allocations: 2.531 kB / 0.9868 GB, free: 16.4 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-05/1.263, allocations: 11.19 kB / 0.9869 GB, free: 16.4 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.962e-06/1.263, allocations: 5.062 kB / 0.9869 GB, free: 16.4 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.263, allocations: 4.562 kB / 0.9869 GB, free: 16.4 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/1.264, allocations: 0.7247 MB / 0.9876 GB, free: 16.18 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003553/1.265, allocations: 176.2 kB / 0.9877 GB, free: 16.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/1.265, allocations: 12.62 kB / 0.9878 GB, free: 16.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000602/1.265, allocations: 49.09 kB / 0.9878 GB, free: 16.04 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.717e-05/1.266, allocations: 23.27 kB / 0.9878 GB, free: 16.04 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.415e-05/1.266, allocations: 17.22 kB / 0.9878 GB, free: 16.04 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004482/1.266, allocations: 367.8 kB / 0.9882 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/1.266, allocations: 0 / 0.9882 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001168/1.267, allocations: 322.9 kB / 0.9885 GB, free: 15.9 MB / 0.7481 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.0005253/1.268, allocations: 197.6 kB / 0.9887 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001083/1.269, allocations: 0.5103 MB / 0.9892 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/1.269, allocations: 0 / 0.9892 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000308/1.269, allocations: 183.3 kB / 0.9894 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001866/1.271, allocations: 364.2 kB / 0.9897 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/1.273, allocations: 1.462 MB / 0.9911 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005738/1.274, allocations: 0.9348 MB / 0.992 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007411/1.275, allocations: 183.8 kB / 0.9922 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/1.275, allocations: 54.67 kB / 0.9923 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of SimCode: time 1.814e-06/1.275, allocations: 0 / 0.9923 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of Templates: time 0.02546/1.3, allocations: 11.38 MB / 1.003 GB, free: 10.06 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)