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.001291/0.001291, allocations: 103.3 kB / 15.98 MB, free: 5.895 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.001262/0.001262, allocations: 190.6 kB / 16.91 MB, free: 5.746 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.392/1.392, allocations: 205.1 MB / 222.8 MB, free: 4.699 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.701/1.701, allocations: 292.3 MB / 0.5492 GB, free: 13.66 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.002368/0.002368, allocations: 62.22 kB / 0.6716 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.294, allocations: 114.6 MB / 0.7835 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.6804/0.9744, allocations: 180.8 MB / 0.9601 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008728/0.9832, allocations: 4.788 MB / 0.9648 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00148/0.9847, allocations: 26.16 kB / 0.9648 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001453/0.9862, allocations: 394.3 kB / 0.9652 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004727/0.991, allocations: 1.312 MB / 0.9665 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002403/0.9934, allocations: 0.7016 MB / 0.9672 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002946/0.9963, allocations: 1.835 MB / 0.9689 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/0.9974, allocations: 0.5861 MB / 0.9695 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002272/0.9997, allocations: 0.8653 MB / 0.9704 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001598/1.001, allocations: 0.5805 MB / 0.9709 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001594/1.001, allocations: 59 kB / 0.971 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003709/1.005, allocations: 1.465 MB / 0.9724 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004758/1.006, allocations: 266.9 kB / 0.9727 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007664/1.006, allocations: 401.7 kB / 0.9731 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002345/1.009, allocations: 1.043 MB / 0.9741 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/1.009, allocations: 0 / 0.9741 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.135e-06/1.009, allocations: 5.094 kB / 0.9741 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.647e-05/1.009, allocations: 0 / 0.9741 GB, free: 5.195 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.002588/1.011, allocations: 1.096 MB / 0.9752 GB, free: 20.53 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/1.012, allocations: 11.5 kB / 0.9752 GB, free: 20.53 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001478/1.013, allocations: 210.3 kB / 0.9754 GB, free: 20.48 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009374/1.014, allocations: 0.5785 MB / 0.9759 GB, free: 20.19 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.345e-05/1.014, allocations: 34.56 kB / 0.976 GB, free: 20.19 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.627e-05/1.014, allocations: 49.61 kB / 0.976 GB, free: 20.19 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009623/1.015, allocations: 0.4891 MB / 0.9765 GB, free: 20.14 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/1.015, allocations: 1.219 kB / 0.9765 GB, free: 20.14 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.126e-05/1.015, allocations: 25.19 kB / 0.9765 GB, free: 20.14 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.328e-05/1.015, allocations: 16.28 kB / 0.9765 GB, free: 20.13 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007959/1.016, allocations: 436.6 kB / 0.9769 GB, free: 20.13 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.00307/1.019, allocations: 1.995 MB / 0.9789 GB, free: 19.13 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006035/1.02, allocations: 343.4 kB / 0.9792 GB, free: 19.1 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003416/1.02, allocations: 212.6 kB / 0.9794 GB, free: 19.09 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003086/1.02, allocations: 189.7 kB / 0.9796 GB, free: 18.91 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/1.02, allocations: 37.72 kB / 0.9796 GB, free: 18.87 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=33): time 3.266e-06/1.02, allocations: 4 kB / 0.9796 GB, free: 18.86 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33): time 0.001343/1.022, allocations: 0.5454 MB / 0.9802 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/1.022, allocations: 59.47 kB / 0.9802 GB, free: 18.72 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006221/1.022, allocations: 0.5012 MB / 0.9807 GB, free: 18.61 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.096e-05/1.023, allocations: 31.7 kB / 0.9807 GB, free: 18.57 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002072/1.023, allocations: 308.5 kB / 0.981 GB, free: 18.43 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/1.023, allocations: 115.5 kB / 0.9812 GB, free: 18.36 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/1.023, allocations: 74.31 kB / 0.9812 GB, free: 18.34 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001648/1.023, allocations: 368 kB / 0.9816 GB, free: 18.02 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002637/1.023, allocations: 138.7 kB / 0.9817 GB, free: 18.02 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000321/1.024, allocations: 227.8 kB / 0.9819 GB, free: 17.94 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005769/1.024, allocations: 338.9 kB / 0.9822 GB, free: 17.9 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/1.024, allocations: 0 / 0.9822 GB, free: 17.9 MB / 0.7481 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007869/1.025, allocations: 427.5 kB / 0.9827 GB, free: 17.83 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/1.025, allocations: 8.812 kB / 0.9827 GB, free: 17.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/1.025, allocations: 1.438 kB / 0.9827 GB, free: 17.83 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/1.025, allocations: 1.5 kB / 0.9827 GB, free: 17.83 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003798/1.026, allocations: 67.31 kB / 0.9827 GB, free: 17.83 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/1.026, allocations: 10.22 kB / 0.9827 GB, free: 17.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006364/1.026, allocations: 55.91 kB / 0.9828 GB, free: 17.81 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/1.026, allocations: 20.73 kB / 0.9828 GB, free: 17.8 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004797/1.027, allocations: 306.6 kB / 0.9831 GB, free: 17.72 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002871/1.027, allocations: 211.2 kB / 0.9833 GB, free: 17.65 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004908/1.028, allocations: 337.3 kB / 0.9836 GB, free: 17.61 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.044e-06/1.028, allocations: 0.7031 kB / 0.9836 GB, free: 17.61 MB / 0.7481 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006777/1.028, allocations: 422 kB / 0.984 GB, free: 17.54 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/1.028, allocations: 9.656 kB / 0.984 GB, free: 17.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/1.028, allocations: 2.438 kB / 0.984 GB, free: 17.54 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.869e-06/1.028, allocations: 2.281 kB / 0.984 GB, free: 17.54 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002933/1.029, allocations: 70.67 kB / 0.9841 GB, free: 17.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/1.029, allocations: 2.531 kB / 0.9841 GB, free: 17.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005974/1.029, allocations: 63.72 kB / 0.9842 GB, free: 17.52 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.631e-05/1.029, allocations: 14.75 kB / 0.9842 GB, free: 17.52 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.0001838/1.029, allocations: 200.3 kB / 0.9844 GB, free: 17.34 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.402e-05/1.03, allocations: 59.84 kB / 0.9844 GB, free: 17.31 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000749/1.03, allocations: 426.7 kB / 0.9848 GB, free: 17.25 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/1.03, allocations: 4.938 kB / 0.9849 GB, free: 17.25 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/1.03, allocations: 7.875 kB / 0.9849 GB, free: 17.25 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005626/1.031, allocations: 438.5 kB / 0.9853 GB, free: 17.08 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001766/1.033, allocations: 1.169 MB / 0.9864 GB, free: 16.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/1.033, allocations: 2.5 kB / 0.9864 GB, free: 16.71 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004216/1.033, allocations: 91.08 kB / 0.9865 GB, free: 16.71 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.505e-06/1.033, allocations: 4.812 kB / 0.9865 GB, free: 16.71 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.855e-05/1.033, allocations: 6.469 kB / 0.9865 GB, free: 16.71 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.678e-06/1.033, allocations: 6.562 kB / 0.9865 GB, free: 16.71 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.033, allocations: 3.766 kB / 0.9865 GB, free: 16.71 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/1.034, allocations: 0.729 MB / 0.9872 GB, free: 16.48 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00026/1.034, allocations: 181.6 kB / 0.9874 GB, free: 16.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.028e-05/1.035, allocations: 6.969 kB / 0.9874 GB, free: 16.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005096/1.035, allocations: 50.52 kB / 0.9875 GB, free: 16.35 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.699e-05/1.035, allocations: 23.31 kB / 0.9875 GB, free: 16.35 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.959e-05/1.035, allocations: 14.34 kB / 0.9875 GB, free: 16.35 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004286/1.036, allocations: 366.7 kB / 0.9879 GB, free: 16.26 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.2e-07/1.036, allocations: 0 / 0.9879 GB, free: 16.26 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009665/1.037, allocations: 325.9 kB / 0.9882 GB, free: 16.21 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.0004986/1.037, allocations: 186.8 kB / 0.9883 GB, free: 16.11 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001102/1.038, allocations: 0.5456 MB / 0.9889 GB, free: 16.09 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.038, allocations: 0 / 0.9889 GB, free: 16.09 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002859/1.039, allocations: 188.6 kB / 0.9891 GB, free: 16.05 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/1.04, allocations: 347.7 kB / 0.9894 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/1.042, allocations: 1.51 MB / 0.9909 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005206/1.043, allocations: 0.9333 MB / 0.9918 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/1.043, allocations: 53.75 kB / 0.9918 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of SimCode: time 7.41e-07/1.043, allocations: 4 kB / 0.9918 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of Templates: time 0.01497/1.058, allocations: 9.654 MB / 1.001 GB, free: 12.01 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)