Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Delays.Examples.Delay.conf.json 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/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Delays.Examples.Delay") translateModel(IDEAS.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001836/0.001837, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7219/0.7219, allocations: 130.5 MB / 143.8 MB, free: 13.59 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 221.3 MB / 396.8 MB, free: 9.176 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 100.9 kB / 479 MB, free: 10.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.514e-05/3.516e-05, allocations: 2.75 kB / 0.5551 GB, free: 86.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1763, allocations: 81.58 MB / 0.6347 GB, free: 12.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.731/4.908, allocations: 1.885 GB / 2.52 GB, free: 72.18 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/4.908, allocations: 87.95 kB / 2.52 GB, free: 72.09 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.827/6.735, allocations: 488.8 MB / 2.998 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.062e-06/6.735, allocations: 0 / 2.998 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.045e-05/6.735, allocations: 23.98 kB / 2.998 GB, free: 126.8 MB / 0.6823 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.001767/6.736, allocations: 0.9734 MB / 2.999 GB, free: 125.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/6.737, allocations: 8.031 kB / 2.999 GB, free: 125.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001228/6.738, allocations: 206.9 kB / 2.999 GB, free: 125.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/6.739, allocations: 0.6243 MB / 2.999 GB, free: 124.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/6.739, allocations: 40.95 kB / 2.999 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.266e-05/6.739, allocations: 48 kB / 3 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007167/6.74, allocations: 458.5 kB / 3 GB, free: 124.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/6.74, allocations: 0 / 3 GB, free: 124.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.548e-05/6.74, allocations: 20 kB / 3 GB, free: 124.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.442e-05/6.74, allocations: 13 kB / 3 GB, free: 124.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005292/6.74, allocations: 383.9 kB / 3 GB, free: 123.9 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.002252/6.743, allocations: 2.021 MB / 3.002 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003836/6.743, allocations: 308.5 kB / 3.003 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002176/6.743, allocations: 186 kB / 3.003 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002576/6.744, allocations: 194.5 kB / 3.003 GB, free: 121 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/6.744, allocations: 34.84 kB / 3.003 GB, free: 121 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 2.094e-06/6.744, allocations: 4 kB / 3.003 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.0007426/6.744, allocations: 383 kB / 3.003 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/6.744, allocations: 55.41 kB / 3.003 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004176/6.745, allocations: 445 kB / 3.004 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/6.745, allocations: 37.7 kB / 3.004 GB, free: 120 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/6.745, allocations: 304.2 kB / 3.004 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.915e-05/6.745, allocations: 110.3 kB / 3.004 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.581e-05/6.745, allocations: 12 kB / 3.004 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001052/6.745, allocations: 362.8 kB / 3.005 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/6.745, allocations: 123.5 kB / 3.005 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/6.746, allocations: 206.6 kB / 3.005 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002005/6.746, allocations: 143.9 kB / 3.005 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/6.746, allocations: 3.938 kB / 3.005 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004952/6.746, allocations: 393.3 kB / 3.005 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001283/6.746, allocations: 368 kB / 3.006 GB, free: 118 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/6.746, allocations: 0 / 3.006 GB, free: 118 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/6.746, allocations: 4 kB / 3.006 GB, free: 118 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003485/6.747, allocations: 75.89 kB / 3.006 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/6.747, allocations: 11.98 kB / 3.006 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005841/6.747, allocations: 55.66 kB / 3.006 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.314e-05/6.747, allocations: 19.98 kB / 3.006 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.875e-06/6.747, allocations: 4 kB / 3.006 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004217/6.748, allocations: 311.6 kB / 3.006 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.434e-06/6.748, allocations: 3.984 kB / 3.006 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.769e-06/6.748, allocations: 4 kB / 3.006 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002844/6.748, allocations: 71.91 kB / 3.006 GB, free: 117.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/6.748, allocations: 0 / 3.006 GB, free: 117.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000445/6.749, allocations: 67.73 kB / 3.006 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/6.749, allocations: 12 kB / 3.006 GB, free: 117.3 MB / 0.6823 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 () * 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.0001172/6.749, allocations: 128.7 kB / 3.007 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.963e-05/6.749, allocations: 63.25 kB / 3.007 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005568/6.75, allocations: 391.3 kB / 3.007 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/6.75, allocations: 4 kB / 3.007 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/6.75, allocations: 3.828 kB / 3.007 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003777/6.75, allocations: 400.3 kB / 3.007 GB, free: 116.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/6.751, allocations: 1.145 MB / 3.009 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/6.751, allocations: 0 / 3.009 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003846/6.752, allocations: 83.89 kB / 3.009 GB, free: 115 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/6.752, allocations: 4.188 kB / 3.009 GB, free: 115 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/6.752, allocations: 12 kB / 3.009 GB, free: 115 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/6.752, allocations: 4 kB / 3.009 GB, free: 115 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/6.752, allocations: 0 / 3.009 GB, free: 115 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007349/6.753, allocations: 0.7479 MB / 3.009 GB, free: 114.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001985/6.753, allocations: 176.4 kB / 3.01 GB, free: 114 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.957e-05/6.753, allocations: 8 kB / 3.01 GB, free: 114 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004628/6.753, allocations: 55.84 kB / 3.01 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.092e-05/6.753, allocations: 27.97 kB / 3.01 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/6.753, allocations: 15.94 kB / 3.01 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003443/6.754, allocations: 353.5 kB / 3.01 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/6.754, allocations: 0 / 3.01 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001215/6.755, allocations: 443.2 kB / 3.01 GB, free: 113.1 MB / 0.6823 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 () * 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.001545/6.757, allocations: 1.27 MB / 3.012 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006717/6.757, allocations: 492.1 kB / 3.012 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/6.757, allocations: 0 / 3.012 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001918/6.757, allocations: 176.6 kB / 3.012 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/6.759, allocations: 356.2 kB / 3.013 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/6.76, allocations: 0.9848 MB / 3.014 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/6.761, allocations: 0.95 MB / 3.014 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007731/6.762, allocations: 232.7 kB / 3.015 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.613e-05/6.762, allocations: 39.44 kB / 3.015 GB, free: 108.5 MB / 0.6823 GB Notification: Performance of SimCode: time 6.01e-07/6.762, allocations: 0 / 3.015 GB, free: 108.5 MB / 0.6823 GB Notification: Performance of Templates: time 0.03576/6.797, allocations: 30.48 MB / 3.044 GB, free: 78.16 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.Delays.Examples.Delay.makefile (rm -f IDEAS_IDEAS.Fluid.Delays.Examples.Delay.pipe ; mkfifo IDEAS_IDEAS.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Delays.Examples.Delay.pipe >> ../files/IDEAS_IDEAS.Fluid.Delays.Examples.Delay.sim & ./IDEAS_IDEAS.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Delays.Examples.Delay.pipe 2>&1)