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.001093/0.001094, allocations: 103 kB / 16.35 MB, free: 5.879 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.001113/0.001113, allocations: 191 kB / 17.29 MB, free: 5.516 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.429/1.429, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.822/1.822, allocations: 292.3 MB / 0.5496 GB, free: 17.47 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.001573/0.001573, allocations: 67.91 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2543, allocations: 114.6 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.6934/0.9478, allocations: 183.3 MB / 0.9637 GB, free: 2.742 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.008092/0.9559, allocations: 4.823 MB / 0.9684 GB, free: 13.92 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001212/0.9572, allocations: 27.81 kB / 0.9685 GB, free: 13.89 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001297/0.9586, allocations: 437.4 kB / 0.9689 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.00363/0.9622, allocations: 1.408 MB / 0.9702 GB, free: 12.05 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002232/0.9644, allocations: 0.7678 MB / 0.971 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.002704/0.9672, allocations: 1.837 MB / 0.9728 GB, free: 9.445 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009221/0.9681, allocations: 0.594 MB / 0.9734 GB, free: 8.836 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001842/0.97, allocations: 0.8677 MB / 0.9742 GB, free: 7.965 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001105/0.9711, allocations: 0.5452 MB / 0.9747 GB, free: 7.422 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.9712, allocations: 60.75 kB / 0.9748 GB, free: 7.363 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002953/0.9742, allocations: 1.415 MB / 0.9762 GB, free: 5.945 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0003165/0.9745, allocations: 263.3 kB / 0.9764 GB, free: 5.688 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0004886/0.975, allocations: 402 kB / 0.9768 GB, free: 5.293 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002185/0.9772, allocations: 1.41 MB / 0.9782 GB, free: 3.879 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.9772, allocations: 0 / 0.9782 GB, free: 3.879 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9772, allocations: 0 / 0.9782 GB, free: 3.879 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.9772, allocations: 0 / 0.9782 GB, free: 3.879 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.001757/0.979, allocations: 1.106 MB / 0.9793 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.9791, allocations: 8.031 kB / 0.9793 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001331/0.9804, allocations: 214.8 kB / 0.9795 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009625/0.9814, allocations: 0.5771 MB / 0.9801 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.073e-05/0.9814, allocations: 33 kB / 0.9801 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.931e-05/0.9815, allocations: 52 kB / 0.9801 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008869/0.9824, allocations: 494.3 kB / 0.9806 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.9824, allocations: 4 kB / 0.9806 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.502e-05/0.9825, allocations: 20 kB / 0.9806 GB, free: 1.293 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.424e-05/0.9825, allocations: 20.98 kB / 0.9806 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007993/0.9833, allocations: 435.7 kB / 0.9811 GB, free: 0.8477 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.003045/0.9864, allocations: 2.005 MB / 0.983 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005925/0.987, allocations: 340.3 kB / 0.9833 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003968/0.9874, allocations: 208.1 kB / 0.9835 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000308/0.9877, allocations: 194.5 kB / 0.9837 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.9878, allocations: 34.84 kB / 0.9838 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=33): time 3.507e-06/0.9878, allocations: 4 kB / 0.9838 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33): time 0.001263/0.9891, allocations: 0.5372 MB / 0.9843 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.9892, allocations: 59.34 kB / 0.9844 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005993/0.9898, allocations: 0.5029 MB / 0.9848 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.635e-05/0.9898, allocations: 37.7 kB / 0.9849 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002466/0.9901, allocations: 304.2 kB / 0.9852 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.9902, allocations: 120 kB / 0.9853 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.9904, allocations: 73.94 kB / 0.9854 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000213/0.9906, allocations: 370.7 kB / 0.9857 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002901/0.9909, allocations: 138.1 kB / 0.9858 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003386/0.9912, allocations: 219.6 kB / 0.986 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005906/0.9918, allocations: 338.9 kB / 0.9864 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.9918, allocations: 0 / 0.9864 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007805/0.9926, allocations: 432.4 kB / 0.9868 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.9927, allocations: 4 kB / 0.9868 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.9927, allocations: 0 / 0.9868 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.9927, allocations: 4 kB / 0.9868 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003853/0.9931, allocations: 83.77 kB / 0.9869 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.9931, allocations: 0 / 0.9869 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005152/0.9936, allocations: 39.77 kB / 0.9869 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.926e-05/0.9937, allocations: 17.62 kB / 0.9869 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005322/0.9942, allocations: 308 kB / 0.9872 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000349/0.9946, allocations: 211.3 kB / 0.9874 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006188/0.9952, allocations: 339.3 kB / 0.9877 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.044e-06/0.9952, allocations: 0 / 0.9877 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0008045/0.996, allocations: 428.5 kB / 0.9882 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.9961, allocations: 4 kB / 0.9882 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.846e-06/0.9961, allocations: 0 / 0.9882 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.293e-06/0.9961, allocations: 4 kB / 0.9882 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003235/0.9964, allocations: 71.84 kB / 0.9882 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.022e-05/0.9964, allocations: 3.938 kB / 0.9882 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004624/0.9969, allocations: 37.78 kB / 0.9883 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.239e-05/0.997, allocations: 16 kB / 0.9883 GB, free: 9.082 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.000189/0.9971, allocations: 196.3 kB / 0.9885 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.9973, allocations: 63.25 kB / 0.9885 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008249/0.9981, allocations: 421.8 kB / 0.9889 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.9981, allocations: 7.938 kB / 0.9889 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.9981, allocations: 0 / 0.9889 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006807/0.9988, allocations: 436.5 kB / 0.9894 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001863/1.001, allocations: 1.172 MB / 0.9905 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/1.001, allocations: 4.719 kB / 0.9905 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004307/1.001, allocations: 91.88 kB / 0.9906 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/1.001, allocations: 3.938 kB / 0.9906 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/1.001, allocations: 12 kB / 0.9906 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/1.001, allocations: 1.25 kB / 0.9906 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/1.001, allocations: 4 kB / 0.9906 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/1.002, allocations: 0.7242 MB / 0.9913 GB, free: 5.82 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002683/1.003, allocations: 180.4 kB / 0.9915 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.267e-05/1.003, allocations: 12 kB / 0.9915 GB, free: 5.613 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004431/1.003, allocations: 23.97 kB / 0.9915 GB, free: 5.59 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.203e-05/1.003, allocations: 23.97 kB / 0.9916 GB, free: 5.566 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-05/1.003, allocations: 15.94 kB / 0.9916 GB, free: 5.551 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004345/1.004, allocations: 362.8 kB / 0.9919 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/1.004, allocations: 0 / 0.9919 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0008928/1.005, allocations: 323.3 kB / 0.9922 GB, free: 4.883 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.0004899/1.005, allocations: 192.8 kB / 0.9924 GB, free: 4.699 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009962/1.006, allocations: 0.5082 MB / 0.9929 GB, free: 4.191 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.006, allocations: 0 / 0.9929 GB, free: 4.191 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003194/1.007, allocations: 184.4 kB / 0.9931 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/1.008, allocations: 353.3 kB / 0.9934 GB, free: 3.703 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001982/1.01, allocations: 1.232 MB / 0.9946 GB, free: 2.434 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000524/1.011, allocations: 0.9256 MB / 0.9955 GB, free: 1.48 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0005515/1.011, allocations: 187 kB / 0.9957 GB, free: 1.297 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/1.011, allocations: 43.44 kB / 0.9957 GB, free: 1.254 MB / 0.7794 GB Notification: Performance of SimCode: time 8.72e-07/1.011, allocations: 0 / 0.9957 GB, free: 1.254 MB / 0.7794 GB Notification: Performance of Templates: time 0.0202/1.031, allocations: 11.72 MB / 1.007 GB, free: 5.824 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1)