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.002561/0.002566, allocations: 358.5 kB / 16.58 MB, free: 5.566 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.461/1.461, allocations: 165.8 MB / 183.1 MB, free: 5.527 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 3.841/3.841, allocations: 410.8 MB / 0.6001 GB, free: 15.05 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.001721/0.00172, allocations: 186.8 kB / 0.6668 GB, free: 6.895 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004436/0.0004439, allocations: 12 kB / 0.7429 GB, free: 8.934 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.4063, allocations: 67.44 MB / 0.8087 GB, free: 28.76 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.009/6.415, allocations: 2.039 GB / 2.847 GB, free: 56.28 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000316/6.416, allocations: 98 kB / 2.847 GB, free: 56.22 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 2.358/8.774, allocations: 481.2 MB / 3.317 GB, free: 32.01 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.705e-06/8.774, allocations: 0 / 3.317 GB, free: 32.01 MB / 0.573 GB Notification: Performance of Transformations before backend: time 7.517e-05/8.774, allocations: 24 kB / 3.317 GB, free: 31.98 MB / 0.573 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.002943/8.777, allocations: 1.08 MB / 3.319 GB, free: 30.86 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/8.777, allocations: 16.03 kB / 3.319 GB, free: 30.84 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002038/8.779, allocations: 206.5 kB / 3.319 GB, free: 30.64 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001921/8.781, allocations: 0.6281 MB / 3.319 GB, free: 29.97 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.426e-05/8.781, allocations: 41 kB / 3.319 GB, free: 29.93 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/8.781, allocations: 52 kB / 3.319 GB, free: 29.88 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/8.783, allocations: 478.4 kB / 3.32 GB, free: 29.41 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.761e-05/8.783, allocations: 0 / 3.32 GB, free: 29.41 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.008e-05/8.783, allocations: 23.94 kB / 3.32 GB, free: 29.39 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/8.783, allocations: 21 kB / 3.32 GB, free: 29.36 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/8.784, allocations: 427.7 kB / 3.32 GB, free: 28.95 MB / 0.573 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.003722/8.788, allocations: 2.006 MB / 3.322 GB, free: 26.76 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007778/8.789, allocations: 331.6 kB / 3.323 GB, free: 26.43 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005166/8.789, allocations: 209.2 kB / 3.323 GB, free: 26.22 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003576/8.79, allocations: 194.5 kB / 3.323 GB, free: 26 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/8.79, allocations: 38.84 kB / 3.323 GB, free: 25.95 MB / 0.573 GB Notification: Performance of pre-optimization done (n=33): time 2.835e-06/8.79, allocations: 0 / 3.323 GB, free: 25.95 MB / 0.573 GB Notification: Performance of matching and sorting (n=33): time 0.001887/8.791, allocations: 0.5419 MB / 3.324 GB, free: 25.4 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/8.792, allocations: 59.34 kB / 3.324 GB, free: 25.33 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007608/8.792, allocations: 0.5029 MB / 3.324 GB, free: 24.82 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 6.009e-05/8.792, allocations: 29.7 kB / 3.324 GB, free: 24.78 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000226/8.793, allocations: 300.2 kB / 3.324 GB, free: 24.48 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/8.793, allocations: 118.3 kB / 3.325 GB, free: 24.37 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.656e-05/8.793, allocations: 8 kB / 3.325 GB, free: 24.36 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000111/8.793, allocations: 370.7 kB / 3.325 GB, free: 23.99 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004408/8.793, allocations: 136.5 kB / 3.325 GB, free: 23.85 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004923/8.794, allocations: 234.6 kB / 3.325 GB, free: 23.59 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004706/8.794, allocations: 163.9 kB / 3.325 GB, free: 23.43 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/8.794, allocations: 0 / 3.325 GB, free: 23.43 MB / 0.573 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001127/8.796, allocations: 432.3 kB / 3.326 GB, free: 23 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 6.104e-05/8.796, allocations: 115.7 kB / 3.326 GB, free: 22.87 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/8.796, allocations: 0 / 3.326 GB, free: 22.87 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/8.796, allocations: 0 / 3.326 GB, free: 22.87 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006353/8.796, allocations: 75.91 kB / 3.326 GB, free: 22.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/8.796, allocations: 4 kB / 3.326 GB, free: 22.79 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/8.797, allocations: 67.64 kB / 3.326 GB, free: 22.73 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.15e-05/8.797, allocations: 12 kB / 3.326 GB, free: 22.71 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 9.908e-06/8.797, allocations: 7.953 kB / 3.326 GB, free: 22.71 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009645/8.798, allocations: 347.6 kB / 3.326 GB, free: 22.37 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/8.798, allocations: 0 / 3.326 GB, free: 22.37 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.524e-06/8.799, allocations: 12.08 kB / 3.326 GB, free: 22.36 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005659/8.799, allocations: 67.91 kB / 3.326 GB, free: 22.29 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/8.799, allocations: 0 / 3.326 GB, free: 22.29 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/8.8, allocations: 67.64 kB / 3.327 GB, free: 22.22 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.341e-05/8.8, allocations: 19.94 kB / 3.327 GB, free: 22.2 MB / 0.573 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005284/8.801, allocations: 285 kB / 3.327 GB, free: 21.91 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/8.801, allocations: 63.3 kB / 3.327 GB, free: 21.85 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/8.802, allocations: 426.9 kB / 3.327 GB, free: 21.43 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/8.802, allocations: 4 kB / 3.327 GB, free: 21.42 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/8.802, allocations: 96 / 3.327 GB, free: 21.42 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008993/8.803, allocations: 449.6 kB / 3.328 GB, free: 20.95 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002808/8.806, allocations: 1.172 MB / 3.329 GB, free: 19.71 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/8.806, allocations: 4 kB / 3.329 GB, free: 19.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007884/8.807, allocations: 87.88 kB / 3.329 GB, free: 19.62 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.096e-05/8.807, allocations: 4 kB / 3.329 GB, free: 19.61 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.085e-05/8.807, allocations: 12.17 kB / 3.329 GB, free: 19.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-06/8.807, allocations: 12 kB / 3.329 GB, free: 19.59 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/8.807, allocations: 0 / 3.329 GB, free: 19.59 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/8.809, allocations: 0.7334 MB / 3.33 GB, free: 18.82 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004074/8.809, allocations: 180.3 kB / 3.33 GB, free: 18.63 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/8.809, allocations: 12 kB / 3.33 GB, free: 18.62 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009284/8.81, allocations: 51.89 kB / 3.33 GB, free: 18.57 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.713e-05/8.81, allocations: 19.97 kB / 3.33 GB, free: 18.55 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-05/8.81, allocations: 19.98 kB / 3.33 GB, free: 18.53 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0006123/8.811, allocations: 358.7 kB / 3.33 GB, free: 18.18 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.61e-07/8.811, allocations: 0 / 3.33 GB, free: 18.18 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001783/8.813, allocations: 447.2 kB / 3.331 GB, free: 17.74 MB / 0.573 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 (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.002239/8.815, allocations: 1.262 MB / 3.332 GB, free: 16.44 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001622/8.817, allocations: 0.5089 MB / 3.332 GB, free: 15.93 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/8.817, allocations: 0 / 3.332 GB, free: 15.93 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.000504/8.817, allocations: 180 kB / 3.333 GB, free: 15.76 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003322/8.821, allocations: 371 kB / 3.333 GB, free: 15.4 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002874/8.823, allocations: 1.538 MB / 3.335 GB, free: 13.81 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004524/8.824, allocations: 0.9451 MB / 3.335 GB, free: 12.84 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001171/8.825, allocations: 180.8 kB / 3.336 GB, free: 12.66 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002259/8.825, allocations: 51.42 kB / 3.336 GB, free: 12.61 MB / 0.573 GB Notification: Performance of SimCode: time 1.183e-06/8.825, allocations: 4 kB / 3.336 GB, free: 12.61 MB / 0.573 GB Notification: Performance of Templates: time 0.4885/9.314, allocations: 26 MB / 3.361 GB, free: 106 MB / 0.573 GB