Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Fluid.Delays.Examples.Delay") translateModel(IDEAS.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001256/0.001256, allocations: 172.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8043/0.8043, allocations: 133.6 MB / 141.6 MB, free: 2.895 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 221.5 MB / 395.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009782/0.0009778, allocations: 95.67 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.858e-05/1.861e-05, allocations: 0 / 0.5535 GB, free: 9.074 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5157/0.5157, allocations: 82.3 MB / 0.6338 GB, free: 40.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.006/5.522, allocations: 1.885 GB / 2.519 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003034/5.523, allocations: 88.56 kB / 2.519 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.053/7.575, allocations: 483.4 MB / 2.991 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.366e-06/7.575, allocations: 3.094 kB / 2.991 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001794/7.576, allocations: 21.73 kB / 2.991 GB, free: 155.6 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.003957/7.58, allocations: 0.9619 MB / 2.992 GB, free: 155 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.193e-05/7.58, allocations: 9.594 kB / 2.992 GB, free: 155 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002056/7.582, allocations: 203 kB / 2.992 GB, free: 155 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002453/7.584, allocations: 0.6275 MB / 2.993 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.409e-05/7.584, allocations: 14.72 kB / 2.993 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001816/7.585, allocations: 34.03 kB / 2.993 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001129/7.586, allocations: 365.1 kB / 2.993 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/7.587, allocations: 391.2 kB / 2.994 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/7.587, allocations: 7.281 kB / 2.994 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.925e-05/7.587, allocations: 0 / 2.994 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.265e-05/7.587, allocations: 18.61 kB / 2.994 GB, free: 154.7 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.003307/7.59, allocations: 1.905 MB / 2.995 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005225/7.591, allocations: 298.9 kB / 2.996 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002698/7.591, allocations: 178.4 kB / 2.996 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003353/7.591, allocations: 193 kB / 2.996 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/7.591, allocations: 35.97 kB / 2.996 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 2.986e-06/7.591, allocations: 0 / 2.996 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001013/7.592, allocations: 374.7 kB / 2.996 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/7.593, allocations: 55.12 kB / 2.997 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004673/7.593, allocations: 372.6 kB / 2.997 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.843e-05/7.593, allocations: 25.7 kB / 2.997 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002571/7.593, allocations: 315 kB / 2.997 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/7.593, allocations: 112.9 kB / 2.997 GB, free: 153 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.813e-05/7.593, allocations: 0 / 2.997 GB, free: 153 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001892/7.594, allocations: 369 kB / 2.998 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/7.594, allocations: 110.6 kB / 2.998 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002749/7.594, allocations: 202.3 kB / 2.998 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002553/7.594, allocations: 140 kB / 2.998 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/7.594, allocations: 0 / 2.998 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006245/7.595, allocations: 368.8 kB / 2.998 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001709/7.595, allocations: 366.8 kB / 2.999 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/7.595, allocations: 0 / 2.999 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.884e-05/7.595, allocations: 7.609 kB / 2.999 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003898/7.596, allocations: 75.06 kB / 2.999 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/7.596, allocations: 4.844 kB / 2.999 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006421/7.596, allocations: 50.03 kB / 2.999 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.552e-05/7.596, allocations: 15.53 kB / 2.999 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.408e-06/7.596, allocations: 6.156 kB / 2.999 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004747/7.597, allocations: 276.9 kB / 2.999 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/7.597, allocations: 3.797 kB / 2.999 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.729e-06/7.597, allocations: 2.781 kB / 2.999 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003048/7.597, allocations: 72.84 kB / 2.999 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/7.597, allocations: 2.5 kB / 2.999 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004598/7.598, allocations: 52.95 kB / 2.999 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.888e-05/7.598, allocations: 12.69 kB / 2.999 GB, free: 152.2 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.0001295/7.598, allocations: 122.9 kB / 2.999 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/7.598, allocations: 52.69 kB / 3 GB, free: 152 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007218/7.599, allocations: 356.2 kB / 3 GB, free: 152 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/7.599, allocations: 3.219 kB / 3 GB, free: 152 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/7.599, allocations: 0 / 3 GB, free: 152 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004502/7.599, allocations: 381 kB / 3 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00158/7.601, allocations: 1.051 MB / 3.001 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/7.601, allocations: 6.688 kB / 3.001 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004067/7.601, allocations: 88.11 kB / 3.001 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/7.601, allocations: 3.969 kB / 3.001 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/7.601, allocations: 3.875 kB / 3.001 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/7.601, allocations: 3.969 kB / 3.001 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.279e-06/7.601, allocations: 3.812 kB / 3.001 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008503/7.602, allocations: 0.7278 MB / 3.002 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002081/7.602, allocations: 167.2 kB / 3.002 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.025e-05/7.602, allocations: 7.281 kB / 3.002 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005231/7.603, allocations: 47.66 kB / 3.002 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.923e-05/7.603, allocations: 30.64 kB / 3.002 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/7.603, allocations: 13.67 kB / 3.002 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000324/7.603, allocations: 294.9 kB / 3.003 GB, free: 151 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/7.603, allocations: 96 / 3.003 GB, free: 151 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001353/7.605, allocations: 405.3 kB / 3.003 GB, free: 150.9 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.002031/7.607, allocations: 1.419 MB / 3.004 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006624/7.608, allocations: 463.6 kB / 3.005 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/7.608, allocations: 0 / 3.005 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001949/7.608, allocations: 160.9 kB / 3.005 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/7.609, allocations: 330 kB / 3.005 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/7.611, allocations: 0.9568 MB / 3.006 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/7.611, allocations: 0.9513 MB / 3.007 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000732/7.612, allocations: 215.3 kB / 3.007 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.639e-05/7.612, allocations: 36.78 kB / 3.007 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of SimCode: time 2.31e-07/7.612, allocations: 1.875 kB / 3.007 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of Templates: time 0.02627/7.638, allocations: 17.87 MB / 3.025 GB, free: 148.6 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.sim & ./IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe 2>&1)