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.001415/0.001415, allocations: 101.4 kB / 15.7 MB, free: 28 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.00161/0.00161, allocations: 200.6 kB / 16.64 MB, free: 6.43 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.571/1.571, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.827/1.827, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001428/0.001429, allocations: 62.11 kB / 0.6722 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2316, allocations: 114.6 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.7162/0.9478, allocations: 183.2 MB / 0.9631 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007732/0.9556, allocations: 4.819 MB / 0.9678 GB, free: 344 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.9567, allocations: 26.53 kB / 0.9678 GB, free: 336 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.9578, allocations: 432.9 kB / 0.9682 GB, free: 192 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003259/0.9611, allocations: 1.411 MB / 0.9696 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00182/0.9629, allocations: 0.7837 MB / 0.9704 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002227/0.9652, allocations: 1.831 MB / 0.9721 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007426/0.9659, allocations: 0.593 MB / 0.9727 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001671/0.9676, allocations: 0.8795 MB / 0.9736 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.9687, allocations: 0.5415 MB / 0.9741 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.6e-05/0.9688, allocations: 57.78 kB / 0.9742 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002392/0.9712, allocations: 1.41 MB / 0.9755 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002207/0.9714, allocations: 266 kB / 0.9758 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003952/0.9718, allocations: 400.8 kB / 0.9762 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001881/0.9737, allocations: 1.421 MB / 0.9776 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.9737, allocations: 0 / 0.9776 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9737, allocations: 1.625 kB / 0.9776 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.516e-05/0.9737, allocations: 4 kB / 0.9776 GB, free: 14.39 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.001695/0.9754, allocations: 1.089 MB / 0.9786 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.9755, allocations: 9.781 kB / 0.9786 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001315/0.9768, allocations: 209.4 kB / 0.9788 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009623/0.9778, allocations: 0.6146 MB / 0.9794 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/0.9778, allocations: 45.75 kB / 0.9795 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.51e-05/0.9779, allocations: 47.45 kB / 0.9795 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008415/0.9787, allocations: 0.49 MB / 0.98 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.9788, allocations: 0 / 0.98 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.657e-05/0.9788, allocations: 22.03 kB / 0.98 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.873e-05/0.9789, allocations: 13.69 kB / 0.98 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007446/0.9796, allocations: 439.2 kB / 0.9805 GB, free: 12.65 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.002538/0.9822, allocations: 1.99 MB / 0.9824 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005313/0.9827, allocations: 350 kB / 0.9827 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003106/0.983, allocations: 214.6 kB / 0.9829 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002812/0.9833, allocations: 198.6 kB / 0.9831 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.9834, allocations: 37.75 kB / 0.9832 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 2.054e-06/0.9834, allocations: 0 / 0.9832 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.001259/0.9846, allocations: 0.5353 MB / 0.9837 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.832e-05/0.9847, allocations: 63.19 kB / 0.9837 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005796/0.9853, allocations: 0.5032 MB / 0.9842 GB, free: 9.773 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.325e-05/0.9854, allocations: 35.45 kB / 0.9843 GB, free: 9.734 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/0.9856, allocations: 303.5 kB / 0.9846 GB, free: 9.469 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.9857, allocations: 115.6 kB / 0.9847 GB, free: 9.371 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.9858, allocations: 71.59 kB / 0.9847 GB, free: 9.324 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.986, allocations: 363.9 kB / 0.9851 GB, free: 8.973 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002686/0.9863, allocations: 154 kB / 0.9852 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003117/0.9866, allocations: 215.9 kB / 0.9854 GB, free: 8.734 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005322/0.9871, allocations: 341 kB / 0.9858 GB, free: 8.547 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.9872, allocations: 0 / 0.9858 GB, free: 8.547 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007298/0.9879, allocations: 429.2 kB / 0.9862 GB, free: 8.324 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.9879, allocations: 4.688 kB / 0.9862 GB, free: 8.324 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.9879, allocations: 96 / 0.9862 GB, free: 8.324 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.9879, allocations: 6.906 kB / 0.9862 GB, free: 8.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003401/0.9883, allocations: 67.09 kB / 0.9863 GB, free: 8.309 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.9883, allocations: 10.64 kB / 0.9863 GB, free: 8.301 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004897/0.9888, allocations: 39.98 kB / 0.9863 GB, free: 8.273 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.312e-05/0.9889, allocations: 10.09 kB / 0.9863 GB, free: 8.273 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004238/0.9893, allocations: 312.8 kB / 0.9866 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002957/0.9896, allocations: 217.7 kB / 0.9868 GB, free: 7.914 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004968/0.9901, allocations: 334.9 kB / 0.9871 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.853e-06/0.9901, allocations: 0 / 0.9871 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006612/0.9908, allocations: 415 kB / 0.9875 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.165e-06/0.9908, allocations: 5.125 kB / 0.9875 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.9908, allocations: 2.75 kB / 0.9875 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.887e-06/0.9908, allocations: 2.094 kB / 0.9875 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/0.9911, allocations: 75.45 kB / 0.9876 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.9911, allocations: 5.562 kB / 0.9876 GB, free: 7.492 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004693/0.9916, allocations: 40.75 kB / 0.9877 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.9916, allocations: 14.34 kB / 0.9877 GB, free: 7.465 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.0001553/0.9918, allocations: 206.2 kB / 0.9879 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.993e-05/0.9919, allocations: 59.62 kB / 0.9879 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007526/0.9926, allocations: 420.1 kB / 0.9883 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.9927, allocations: 2.656 kB / 0.9883 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.9927, allocations: 3.938 kB / 0.9883 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005789/0.9933, allocations: 444.2 kB / 0.9888 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/0.995, allocations: 1.166 MB / 0.9899 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.995, allocations: 0 / 0.9899 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003894/0.9954, allocations: 84.3 kB / 0.99 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.9954, allocations: 2.125 kB / 0.99 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/0.9955, allocations: 13.25 kB / 0.99 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.9955, allocations: 18.42 kB / 0.99 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.9955, allocations: 4.844 kB / 0.99 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.9965, allocations: 0.7217 MB / 0.9907 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002328/0.9968, allocations: 180.7 kB / 0.9909 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.573e-05/0.9969, allocations: 10.91 kB / 0.9909 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00043/0.9973, allocations: 24.81 kB / 0.9909 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.384e-05/0.9974, allocations: 25.44 kB / 0.9909 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.613e-05/0.9974, allocations: 10.06 kB / 0.991 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003962/0.9978, allocations: 370.6 kB / 0.9913 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9978, allocations: 0 / 0.9913 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008533/0.9987, allocations: 317.1 kB / 0.9916 GB, free: 4.84 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.0004198/0.9991, allocations: 192 kB / 0.9918 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009694/1, allocations: 0.5218 MB / 0.9923 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/1, allocations: 1.781 kB / 0.9923 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002938/1, allocations: 179.9 kB / 0.9925 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/1.002, allocations: 348.6 kB / 0.9928 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/1.004, allocations: 1.236 MB / 0.994 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004937/1.004, allocations: 0.9334 MB / 0.9949 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005411/1.005, allocations: 181.5 kB / 0.9951 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/1.005, allocations: 48.8 kB / 0.9951 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of SimCode: time 4.21e-07/1.005, allocations: 4 kB / 0.9952 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of Templates: time 0.01768/1.023, allocations: 11.71 MB / 1.007 GB, free: 12.77 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)