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.001127/0.001128, allocations: 100.8 kB / 16.29 MB, free: 6.016 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.001057/0.001057, allocations: 181.8 kB / 17.22 MB, free: 5.625 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.58/1.58, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.857/1.857, allocations: 292.3 MB / 0.5495 GB, free: 17.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.001456/0.001456, allocations: 70.88 kB / 0.6722 GB, free: 6.555 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2837, allocations: 114.6 MB / 0.7841 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.6913/0.9751, allocations: 183.3 MB / 0.963 GB, free: 3.258 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.008227/0.9834, allocations: 4.823 MB / 0.9677 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001448/0.9848, allocations: 27.81 kB / 0.9678 GB, free: 14.4 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001528/0.9864, allocations: 437.3 kB / 0.9682 GB, free: 13.97 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.004121/0.9906, allocations: 1.406 MB / 0.9695 GB, free: 12.56 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00251/0.9931, allocations: 0.7779 MB / 0.9703 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.002587/0.9957, allocations: 1.833 MB / 0.9721 GB, free: 9.957 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001042/0.9968, allocations: 0.594 MB / 0.9727 GB, free: 9.348 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002017/0.9988, allocations: 0.8676 MB / 0.9735 GB, free: 8.477 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001384/1, allocations: 0.5443 MB / 0.9741 GB, free: 7.934 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001715/1, allocations: 60 kB / 0.9741 GB, free: 7.875 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002802/1.003, allocations: 1.411 MB / 0.9755 GB, free: 6.461 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0003769/1.004, allocations: 267.2 kB / 0.9757 GB, free: 6.199 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0006645/1.004, allocations: 394.2 kB / 0.9761 GB, free: 5.812 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002512/1.007, allocations: 1.422 MB / 0.9775 GB, free: 4.387 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/1.007, allocations: 3.984 kB / 0.9775 GB, free: 4.383 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.162e-06/1.007, allocations: 0 / 0.9775 GB, free: 4.383 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.056e-05/1.007, allocations: 0 / 0.9775 GB, free: 4.383 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.001955/1.009, allocations: 1.103 MB / 0.9786 GB, free: 3.234 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/1.009, allocations: 8.031 kB / 0.9786 GB, free: 3.227 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00135/1.01, allocations: 202.9 kB / 0.9788 GB, free: 3.027 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008971/1.011, allocations: 0.581 MB / 0.9794 GB, free: 2.402 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.237e-05/1.011, allocations: 33 kB / 0.9794 GB, free: 2.371 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.843e-05/1.011, allocations: 48 kB / 0.9794 GB, free: 2.324 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008478/1.012, allocations: 0.4906 MB / 0.9799 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/1.012, allocations: 4 kB / 0.9799 GB, free: 1.824 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-05/1.012, allocations: 19.98 kB / 0.9799 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.721e-05/1.012, allocations: 17 kB / 0.98 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007473/1.013, allocations: 439.6 kB / 0.9804 GB, free: 1.359 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.002623/1.016, allocations: 1.998 MB / 0.9823 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005506/1.016, allocations: 348.1 kB / 0.9827 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003197/1.016, allocations: 211.3 kB / 0.9829 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002971/1.017, allocations: 190.5 kB / 0.983 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/1.017, allocations: 35.34 kB / 0.9831 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=33): time 2.134e-06/1.017, allocations: 0 / 0.9831 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33): time 0.001218/1.018, allocations: 0.5413 MB / 0.9836 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/1.018, allocations: 59.34 kB / 0.9837 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005448/1.019, allocations: 0.503 MB / 0.9841 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/1.019, allocations: 33.7 kB / 0.9842 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/1.019, allocations: 307.6 kB / 0.9845 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/1.019, allocations: 118.3 kB / 0.9846 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/1.019, allocations: 77.92 kB / 0.9847 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001468/1.019, allocations: 358.8 kB / 0.985 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002545/1.02, allocations: 142.1 kB / 0.9851 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003038/1.02, allocations: 219.6 kB / 0.9853 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005423/1.02, allocations: 333.9 kB / 0.9857 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/1.02, allocations: 1.062 kB / 0.9857 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007123/1.021, allocations: 432.3 kB / 0.9861 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/1.021, allocations: 11.98 kB / 0.9861 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/1.021, allocations: 0 / 0.9861 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/1.021, allocations: 4 kB / 0.9861 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003515/1.022, allocations: 67.91 kB / 0.9862 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/1.022, allocations: 7.938 kB / 0.9862 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004689/1.022, allocations: 39.77 kB / 0.9862 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.597e-05/1.022, allocations: 19.98 kB / 0.9862 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004763/1.023, allocations: 300 kB / 0.9865 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003248/1.023, allocations: 224.1 kB / 0.9867 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005399/1.024, allocations: 333 kB / 0.987 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/1.024, allocations: 0 / 0.987 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007164/1.024, allocations: 432.5 kB / 0.9875 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/1.024, allocations: 4 kB / 0.9875 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-06/1.024, allocations: 0 / 0.9875 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.843e-06/1.024, allocations: 4 kB / 0.9875 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003034/1.025, allocations: 67.91 kB / 0.9875 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/1.025, allocations: 4 kB / 0.9875 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004353/1.025, allocations: 35.75 kB / 0.9876 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.822e-05/1.025, allocations: 12 kB / 0.9876 GB, free: 9.609 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.0001734/1.025, allocations: 200.3 kB / 0.9878 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/1.025, allocations: 67.23 kB / 0.9878 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008119/1.026, allocations: 429.1 kB / 0.9882 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/1.026, allocations: 4 kB / 0.9882 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/1.026, allocations: 3.938 kB / 0.9882 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006171/1.027, allocations: 436.5 kB / 0.9887 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001938/1.029, allocations: 1.161 MB / 0.9898 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/1.029, allocations: 9.906 kB / 0.9898 GB, free: 7.207 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004138/1.029, allocations: 87.88 kB / 0.9899 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/1.029, allocations: 4 kB / 0.9899 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.718e-05/1.029, allocations: 8 kB / 0.9899 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/1.029, allocations: 4 kB / 0.9899 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/1.029, allocations: 4 kB / 0.9899 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/1.03, allocations: 0.7343 MB / 0.9906 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002477/1.031, allocations: 172.4 kB / 0.9908 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.726e-05/1.031, allocations: 15.98 kB / 0.9908 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004121/1.031, allocations: 19.98 kB / 0.9908 GB, free: 6.113 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.839e-05/1.031, allocations: 23.91 kB / 0.9908 GB, free: 6.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.04e-05/1.031, allocations: 19.98 kB / 0.9909 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004149/1.032, allocations: 358.8 kB / 0.9912 GB, free: 5.723 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/1.032, allocations: 0 / 0.9912 GB, free: 5.723 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0008608/1.033, allocations: 327.3 kB / 0.9915 GB, free: 5.402 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.0005756/1.033, allocations: 191.5 kB / 0.9917 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001026/1.034, allocations: 0.5082 MB / 0.9922 GB, free: 4.711 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1.034, allocations: 0.8438 kB / 0.9922 GB, free: 4.711 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003072/1.035, allocations: 184.2 kB / 0.9924 GB, free: 4.531 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/1.036, allocations: 362 kB / 0.9927 GB, free: 4.215 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002004/1.038, allocations: 1.225 MB / 0.9939 GB, free: 2.953 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005339/1.039, allocations: 0.9334 MB / 0.9948 GB, free: 1.992 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0005815/1.039, allocations: 178.3 kB / 0.995 GB, free: 1.816 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/1.039, allocations: 51.44 kB / 0.995 GB, free: 1.766 MB / 0.7794 GB Notification: Performance of SimCode: time 8.51e-07/1.039, allocations: 0 / 0.995 GB, free: 1.766 MB / 0.7794 GB Notification: Performance of Templates: time 0.02011/1.059, allocations: 11.71 MB / 1.006 GB, free: 6.344 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1)