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.001613/0.001613, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001819/0.001819, allocations: 190.4 kB / 16.25 MB, free: 6.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.572/1.572, allocations: 205.1 MB / 222.1 MB, free: 4.672 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.844/1.844, allocations: 292.2 MB / 0.5485 GB, free: 13.65 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.001374/0.001374, allocations: 63.59 kB / 0.671 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2614, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.7331/0.9946, allocations: 180.8 MB / 0.9594 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00768/1.002, allocations: 4.804 MB / 0.9641 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001475/1.004, allocations: 26.22 kB / 0.9642 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001441/1.005, allocations: 380.5 kB / 0.9645 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004859/1.01, allocations: 1.324 MB / 0.9658 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002468/1.013, allocations: 0.7047 MB / 0.9665 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003237/1.016, allocations: 1.831 MB / 0.9683 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/1.017, allocations: 0.5788 MB / 0.9689 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002525/1.02, allocations: 0.8703 MB / 0.9697 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00197/1.022, allocations: 0.5761 MB / 0.9703 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002282/1.022, allocations: 62.41 kB / 0.9703 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003599/1.025, allocations: 1.462 MB / 0.9718 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005374/1.026, allocations: 259.9 kB / 0.972 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001118/1.027, allocations: 404.4 kB / 0.9724 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003513/1.031, allocations: 1.499 MB / 0.9739 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/1.031, allocations: 0 / 0.9739 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.275e-06/1.031, allocations: 0 / 0.9739 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.847e-05/1.031, allocations: 0.8125 kB / 0.9739 GB, free: 5.488 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.0026/1.033, allocations: 1.093 MB / 0.9749 GB, free: 20.82 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/1.033, allocations: 13.34 kB / 0.9749 GB, free: 20.82 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/1.035, allocations: 202 kB / 0.9751 GB, free: 20.78 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009377/1.036, allocations: 0.5881 MB / 0.9757 GB, free: 20.48 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.597e-05/1.036, allocations: 42.31 kB / 0.9757 GB, free: 20.48 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.924e-05/1.036, allocations: 51.12 kB / 0.9758 GB, free: 20.47 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009108/1.037, allocations: 495.7 kB / 0.9763 GB, free: 20.43 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/1.037, allocations: 1.062 kB / 0.9763 GB, free: 20.43 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.067e-05/1.037, allocations: 18.03 kB / 0.9763 GB, free: 20.43 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.309e-05/1.037, allocations: 19.59 kB / 0.9763 GB, free: 20.42 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000739/1.038, allocations: 440.5 kB / 0.9767 GB, free: 20.42 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.002685/1.04, allocations: 1.995 MB / 0.9787 GB, free: 19.42 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005517/1.041, allocations: 348.1 kB / 0.979 GB, free: 19.39 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003141/1.041, allocations: 208.7 kB / 0.9792 GB, free: 19.38 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003056/1.042, allocations: 190.3 kB / 0.9794 GB, free: 19.19 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/1.042, allocations: 40.25 kB / 0.9794 GB, free: 19.15 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=33): time 2.164e-06/1.042, allocations: 0 / 0.9794 GB, free: 19.15 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33): time 0.001282/1.043, allocations: 0.5419 MB / 0.9799 GB, free: 19.08 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/1.043, allocations: 59.47 kB / 0.98 GB, free: 19.01 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005541/1.044, allocations: 0.5037 MB / 0.9805 GB, free: 18.89 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.782e-05/1.044, allocations: 35.33 kB / 0.9805 GB, free: 18.86 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/1.044, allocations: 302.5 kB / 0.9808 GB, free: 18.72 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/1.044, allocations: 117.8 kB / 0.9809 GB, free: 18.65 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/1.044, allocations: 68.16 kB / 0.981 GB, free: 18.63 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001455/1.044, allocations: 365.9 kB / 0.9813 GB, free: 18.32 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002561/1.044, allocations: 144.7 kB / 0.9815 GB, free: 18.3 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000315/1.045, allocations: 225 kB / 0.9817 GB, free: 18.23 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005201/1.045, allocations: 338.5 kB / 0.982 GB, free: 18.19 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/1.045, allocations: 0 / 0.982 GB, free: 18.19 MB / 0.7481 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007061/1.046, allocations: 427.6 kB / 0.9824 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/1.046, allocations: 6.031 kB / 0.9824 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/1.046, allocations: 1.125 kB / 0.9824 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/1.046, allocations: 6.219 kB / 0.9824 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003474/1.046, allocations: 69.34 kB / 0.9825 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/1.046, allocations: 6.406 kB / 0.9825 GB, free: 18.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006191/1.047, allocations: 66.44 kB / 0.9826 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.682e-05/1.047, allocations: 15.34 kB / 0.9826 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004987/1.048, allocations: 306.3 kB / 0.9829 GB, free: 18.01 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003156/1.048, allocations: 221.1 kB / 0.9831 GB, free: 17.93 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005104/1.048, allocations: 333.1 kB / 0.9834 GB, free: 17.89 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.232e-06/1.048, allocations: 0 / 0.9834 GB, free: 17.89 MB / 0.7481 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006539/1.049, allocations: 423.8 kB / 0.9838 GB, free: 17.82 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.335e-06/1.049, allocations: 6.406 kB / 0.9838 GB, free: 17.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-06/1.049, allocations: 5.344 kB / 0.9838 GB, free: 17.82 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.628e-06/1.049, allocations: 1.25 kB / 0.9838 GB, free: 17.82 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003018/1.049, allocations: 73.36 kB / 0.9839 GB, free: 17.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/1.049, allocations: 1.5 kB / 0.9839 GB, free: 17.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005595/1.05, allocations: 57.28 kB / 0.984 GB, free: 17.8 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/1.05, allocations: 15.64 kB / 0.984 GB, free: 17.8 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.000199/1.05, allocations: 200.2 kB / 0.9842 GB, free: 17.62 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.903e-05/1.05, allocations: 57.75 kB / 0.9842 GB, free: 17.59 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007864/1.051, allocations: 429.5 kB / 0.9846 GB, free: 17.53 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/1.051, allocations: 4.938 kB / 0.9846 GB, free: 17.53 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/1.051, allocations: 3.938 kB / 0.9846 GB, free: 17.53 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006026/1.052, allocations: 437.3 kB / 0.9851 GB, free: 17.36 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002054/1.054, allocations: 1.172 MB / 0.9862 GB, free: 17 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/1.054, allocations: 4.188 kB / 0.9862 GB, free: 17 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004115/1.054, allocations: 83.42 kB / 0.9863 GB, free: 17 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/1.054, allocations: 9.156 kB / 0.9863 GB, free: 16.99 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.786e-05/1.054, allocations: 10 kB / 0.9863 GB, free: 16.99 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/1.054, allocations: 9.672 kB / 0.9863 GB, free: 16.99 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.054, allocations: 2.594 kB / 0.9863 GB, free: 16.99 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/1.056, allocations: 0.7227 MB / 0.987 GB, free: 16.69 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002623/1.056, allocations: 179.9 kB / 0.9872 GB, free: 16.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.526e-05/1.056, allocations: 7.188 kB / 0.9872 GB, free: 16.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004878/1.056, allocations: 49.14 kB / 0.9872 GB, free: 16.53 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.996e-05/1.056, allocations: 27.09 kB / 0.9873 GB, free: 16.52 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.889e-05/1.057, allocations: 15.22 kB / 0.9873 GB, free: 16.52 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004448/1.057, allocations: 371.5 kB / 0.9876 GB, free: 16.35 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.21e-07/1.057, allocations: 0 / 0.9876 GB, free: 16.35 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001118/1.058, allocations: 319 kB / 0.9879 GB, free: 16.29 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.0005818/1.059, allocations: 198.4 kB / 0.9881 GB, free: 16.17 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001223/1.06, allocations: 0.5474 MB / 0.9887 GB, free: 16.02 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.06, allocations: 4 kB / 0.9887 GB, free: 16.01 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003157/1.06, allocations: 181.2 kB / 0.9888 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/1.062, allocations: 341.8 kB / 0.9892 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/1.064, allocations: 1.472 MB / 0.9906 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004823/1.064, allocations: 0.94 MB / 0.9915 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0006124/1.065, allocations: 177.6 kB / 0.9917 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/1.065, allocations: 44.66 kB / 0.9917 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of SimCode: time 7.91e-07/1.065, allocations: 0 / 0.9917 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of Templates: time 0.01914/1.084, allocations: 11.61 MB / 1.003 GB, free: 11.13 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)