Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Delays.Examples.Delay.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003943/0.003943, allocations: 357.2 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.659/1.659, allocations: 165.8 MB / 182.5 MB, free: 5.402 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.125/4.125, allocations: 410.8 MB / 0.5995 GB, free: 15.16 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001681/0.001681, allocations: 198.3 kB / 0.6662 GB, free: 6.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004701/0.0004703, allocations: 8 kB / 0.7423 GB, free: 8.973 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3337, allocations: 67.44 MB / 0.8081 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Delays.Examples.Delay): time 0.6071/0.9409, allocations: 164.8 MB / 0.9691 GB, free: 1.262 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.008648/0.9495, allocations: 4.942 MB / 0.9739 GB, free: 1.191 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001282/0.9509, allocations: 25.72 kB / 0.974 GB, free: 1.191 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001538/0.9525, allocations: 392.4 kB / 0.9743 GB, free: 1.09 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005228/0.9577, allocations: 1.464 MB / 0.9758 GB, free: 0.7656 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003407/0.9612, allocations: 0.8721 MB / 0.9766 GB, free: 0.7031 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.00317/0.9643, allocations: 2.139 MB / 0.9787 GB, free: 396 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008826/0.9653, allocations: 442.8 kB / 0.9791 GB, free: 308 kB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001642/0.9669, allocations: 0.6295 MB / 0.9797 GB, free: 156 kB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009647/0.9679, allocations: 0.5121 MB / 0.9802 GB, free: 20 kB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001202/0.9681, allocations: 26.03 kB / 0.9803 GB, free: 20 kB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002903/0.971, allocations: 0.6627 MB / 0.9809 GB, free: 0 / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009329/0.972, allocations: 254.7 kB / 0.9812 GB, free: 0 / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003751/0.9724, allocations: 173.4 kB / 0.9813 GB, free: 15.94 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001673/0.9741, allocations: 0.8768 MB / 0.9822 GB, free: 15.52 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.343e-06/0.9741, allocations: 4 kB / 0.9822 GB, free: 15.52 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.952e-06/0.9741, allocations: 0 / 0.9822 GB, free: 15.52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.9741, allocations: 0 / 0.9822 GB, free: 15.52 MB / 490.7 MB 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.001905/0.976, allocations: 0.9487 MB / 0.9831 GB, free: 14.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.9761, allocations: 9.812 kB / 0.9831 GB, free: 14.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001724/0.9778, allocations: 207.3 kB / 0.9833 GB, free: 14.72 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.9791, allocations: 0.5585 MB / 0.9839 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.052e-05/0.9792, allocations: 38.78 kB / 0.9839 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-05/0.9793, allocations: 53.2 kB / 0.984 GB, free: 14.35 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.9804, allocations: 499.1 kB / 0.9844 GB, free: 14.22 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.9805, allocations: 0 / 0.9844 GB, free: 14.22 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.96e-05/0.9805, allocations: 18.41 kB / 0.9844 GB, free: 14.22 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-05/0.9806, allocations: 21.33 kB / 0.9845 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.9816, allocations: 447.4 kB / 0.9849 GB, free: 14.13 MB / 490.7 MB 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.003677/0.9853, allocations: 2.008 MB / 0.9869 GB, free: 12.79 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007232/0.9861, allocations: 347.7 kB / 0.9872 GB, free: 12.72 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004325/0.9865, allocations: 215.7 kB / 0.9874 GB, free: 12.68 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003893/0.9869, allocations: 199.4 kB / 0.9876 GB, free: 12.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.336e-05/0.987, allocations: 37.16 kB / 0.9876 GB, free: 12.44 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 4.064e-06/0.987, allocations: 0 / 0.9876 GB, free: 12.44 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.0017/0.9887, allocations: 0.5591 MB / 0.9882 GB, free: 12.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.9888, allocations: 54.72 kB / 0.9882 GB, free: 12.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007556/0.9896, allocations: 0.4968 MB / 0.9887 GB, free: 12.04 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.216e-05/0.9897, allocations: 34.33 kB / 0.9887 GB, free: 12.01 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002625/0.9899, allocations: 303.2 kB / 0.989 GB, free: 11.85 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/0.9901, allocations: 119.8 kB / 0.9891 GB, free: 11.76 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.466e-05/0.9901, allocations: 9.062 kB / 0.9891 GB, free: 11.76 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002048/0.9903, allocations: 359.5 kB / 0.9895 GB, free: 11.43 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003617/0.9907, allocations: 138.9 kB / 0.9896 GB, free: 11.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004576/0.9912, allocations: 227.3 kB / 0.9898 GB, free: 11.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003923/0.9916, allocations: 167.5 kB / 0.99 GB, free: 11.28 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.515e-06/0.9916, allocations: 3.953 kB / 0.99 GB, free: 11.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001009/0.9926, allocations: 434.4 kB / 0.9904 GB, free: 11.16 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.626e-05/0.9928, allocations: 118.8 kB / 0.9905 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.9928, allocations: 3.984 kB / 0.9905 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.9928, allocations: 2.938 kB / 0.9905 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000453/0.9933, allocations: 73.09 kB / 0.9906 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.9933, allocations: 6.875 kB / 0.9906 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006709/0.994, allocations: 62.45 kB / 0.9907 GB, free: 10.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.585e-05/0.994, allocations: 13.69 kB / 0.9907 GB, free: 10.99 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.702e-06/0.9941, allocations: 6.875 kB / 0.9907 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008516/0.9949, allocations: 347.8 kB / 0.991 GB, free: 10.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.813e-06/0.995, allocations: 6.797 kB / 0.991 GB, free: 10.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.01e-06/0.995, allocations: 1.75 kB / 0.991 GB, free: 10.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004303/0.9954, allocations: 81.2 kB / 0.9911 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.917e-06/0.9954, allocations: 2.656 kB / 0.9911 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007152/0.9962, allocations: 58.66 kB / 0.9912 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.825e-05/0.9962, allocations: 11.41 kB / 0.9912 GB, free: 10.88 MB / 490.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004489/0.9967, allocations: 287 kB / 0.9915 GB, free: 10.68 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/0.9969, allocations: 63.7 kB / 0.9915 GB, free: 10.65 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.9979, allocations: 429.7 kB / 0.9919 GB, free: 10.53 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.228e-06/0.9979, allocations: 2.844 kB / 0.9919 GB, free: 10.53 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.89e-06/0.9979, allocations: 0 / 0.9919 GB, free: 10.53 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008183/0.9988, allocations: 446.5 kB / 0.9924 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002522/1.001, allocations: 1.184 MB / 0.9935 GB, free: 9.742 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.176e-06/1.001, allocations: 0 / 0.9935 GB, free: 9.742 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005535/1.002, allocations: 86.92 kB / 0.9936 GB, free: 9.727 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.84e-06/1.002, allocations: 5.688 kB / 0.9936 GB, free: 9.723 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.066e-05/1.002, allocations: 16.69 kB / 0.9936 GB, free: 9.719 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.737e-06/1.002, allocations: 6.484 kB / 0.9936 GB, free: 9.715 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/1.002, allocations: 8.125 kB / 0.9936 GB, free: 9.707 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001489/1.004, allocations: 0.7356 MB / 0.9943 GB, free: 9.414 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004064/1.004, allocations: 175.8 kB / 0.9945 GB, free: 9.273 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.775e-05/1.004, allocations: 6.312 kB / 0.9945 GB, free: 9.273 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006682/1.005, allocations: 57.3 kB / 0.9946 GB, free: 9.25 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.727e-05/1.005, allocations: 31.64 kB / 0.9946 GB, free: 9.234 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.07e-05/1.005, allocations: 13.03 kB / 0.9946 GB, free: 9.234 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005537/1.006, allocations: 359.4 kB / 0.995 GB, free: 9.098 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.14e-07/1.006, allocations: 0 / 0.995 GB, free: 9.098 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001102/1.007, allocations: 320.1 kB / 0.9953 GB, free: 9.055 MB / 490.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005268/1.007, allocations: 197.2 kB / 0.9955 GB, free: 8.918 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001295/1.008, allocations: 0.5204 MB / 0.996 GB, free: 8.828 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.992e-06/1.009, allocations: 0 / 0.996 GB, free: 8.828 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004517/1.009, allocations: 193.4 kB / 0.9961 GB, free: 8.789 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002375/1.011, allocations: 369.9 kB / 0.9965 GB, free: 8.668 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00286/1.014, allocations: 1.531 MB / 0.998 GB, free: 7.68 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007433/1.015, allocations: 0.9464 MB / 0.9989 GB, free: 6.871 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001037/1.016, allocations: 183.3 kB / 0.9991 GB, free: 6.785 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/1.016, allocations: 45.25 kB / 0.9991 GB, free: 6.777 MB / 490.7 MB Notification: Performance of SimCode: time 1.523e-06/1.016, allocations: 0 / 0.9991 GB, free: 6.777 MB / 490.7 MB Notification: Performance of Templates: time 0.02806/1.044, allocations: 10.96 MB / 1.01 GB, free: 15.77 MB / 0.4949 GB