Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.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.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime") translateModel(IDEAS.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007992/0.007992, allocations: 170.4 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7378/0.7378, allocations: 135.2 MB / 151.1 MB, free: 13.83 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.644/1.644, allocations: 223.2 MB / 406.9 MB, free: 3.199 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.0009863/0.0009862, allocations: 101.2 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003377/0.0003377, allocations: 12 kB / 0.5691 GB, free: 14.17 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4933/0.4936, allocations: 82.31 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1732/0.6669, allocations: 110.6 MB / 0.7574 GB, free: 5.438 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003574/0.6674, allocations: 67.97 kB / 0.7575 GB, free: 5.371 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0006287/0.668, allocations: 376.9 kB / 0.7579 GB, free: 5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.245e-06/0.668, allocations: 0 / 0.7579 GB, free: 5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.668, allocations: 0 / 0.7579 GB, free: 5 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002802/0.6683, allocations: 307.4 kB / 0.7582 GB, free: 4.652 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/0.6684, allocations: 12.09 kB / 0.7582 GB, free: 4.641 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.304e-05/0.6684, allocations: 4 kB / 0.7582 GB, free: 4.637 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.6686, allocations: 167 kB / 0.7583 GB, free: 4.434 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.6686, allocations: 0 / 0.7583 GB, free: 4.434 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.6686, allocations: 0 / 0.7583 GB, free: 4.434 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.6688, allocations: 25.7 kB / 0.7584 GB, free: 4.402 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.6688, allocations: 3.938 kB / 0.7584 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.6688, allocations: 0 / 0.7584 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.6688, allocations: 4 kB / 0.7584 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.227e-05/0.6688, allocations: 4 kB / 0.7584 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001901/0.669, allocations: 149.6 kB / 0.7585 GB, free: 4.195 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.046e-05/0.6691, allocations: 29.88 kB / 0.7585 GB, free: 4.16 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.424e-06/0.6691, allocations: 0 / 0.7585 GB, free: 4.16 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.6691, allocations: 30.56 kB / 0.7586 GB, free: 4.121 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.6691, allocations: 0 / 0.7586 GB, free: 4.121 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001616/0.6693, allocations: 33.8 kB / 0.7586 GB, free: 4.082 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/0.6694, allocations: 55.44 kB / 0.7587 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.455e-05/0.6694, allocations: 85 kB / 0.7587 GB, free: 3.926 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.6694, allocations: 25.7 kB / 0.7588 GB, free: 3.895 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.103e-05/0.6695, allocations: 88.14 kB / 0.7588 GB, free: 3.805 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.945e-05/0.6696, allocations: 3.906 kB / 0.7589 GB, free: 3.801 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.6696, allocations: 0 / 0.7589 GB, free: 3.801 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.6697, allocations: 310.8 kB / 0.7591 GB, free: 3.488 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.316e-06/0.6697, allocations: 0 / 0.7591 GB, free: 3.488 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.466e-06/0.6698, allocations: 7.984 kB / 0.7592 GB, free: 3.48 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.053e-05/0.6698, allocations: 4 kB / 0.7592 GB, free: 3.477 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.6698, allocations: 0 / 0.7592 GB, free: 3.477 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.323e-05/0.6699, allocations: 41.53 kB / 0.7592 GB, free: 3.43 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.6699, allocations: 9.344 kB / 0.7592 GB, free: 3.422 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.6699, allocations: 4 kB / 0.7592 GB, free: 3.418 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.6699, allocations: 0 / 0.7592 GB, free: 3.418 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.133e-05/0.67, allocations: 0 / 0.7592 GB, free: 3.418 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.67, allocations: 0 / 0.7592 GB, free: 3.418 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.198e-05/0.67, allocations: 4.094 kB / 0.7592 GB, free: 3.414 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.67, allocations: 0 / 0.7592 GB, free: 3.414 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 9.196e-05/0.6701, allocations: 117.8 kB / 0.7593 GB, free: 3.289 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.973e-06/0.6701, allocations: 3.953 kB / 0.7593 GB, free: 3.285 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.899e-05/0.6702, allocations: 3.125 kB / 0.7593 GB, free: 3.281 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.81e-07/0.6702, allocations: 0 / 0.7593 GB, free: 3.281 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.6702, allocations: 0 / 0.7593 GB, free: 3.281 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.6702, allocations: 0 / 0.7593 GB, free: 3.281 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.6703, allocations: 151.8 kB / 0.7595 GB, free: 3.086 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.6703, allocations: 0 / 0.7595 GB, free: 3.086 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.695e-06/0.6703, allocations: 4 kB / 0.7595 GB, free: 3.082 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.6703, allocations: 3.984 kB / 0.7595 GB, free: 3.078 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.6704, allocations: 3.953 kB / 0.7595 GB, free: 3.074 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.6704, allocations: 0 / 0.7595 GB, free: 3.074 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.6704, allocations: 4 kB / 0.7595 GB, free: 3.07 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.898e-05/0.6705, allocations: 57.08 kB / 0.7596 GB, free: 2.996 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.513e-05/0.6705, allocations: 77.11 kB / 0.7596 GB, free: 2.902 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.6705, allocations: 4.031 kB / 0.7596 GB, free: 2.898 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.568e-06/0.6705, allocations: 3.953 kB / 0.7596 GB, free: 2.895 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.495e-05/0.6706, allocations: 7.984 kB / 0.7596 GB, free: 2.887 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-06/0.6706, allocations: 0 / 0.7596 GB, free: 2.887 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.122e-05/0.6706, allocations: 75.28 kB / 0.7597 GB, free: 2.812 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6706, allocations: 0 / 0.7597 GB, free: 2.812 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001919/0.6708, allocations: 0 / 0.7597 GB, free: 2.812 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (1): * Single equations (assignments): 1 * 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.0001134/0.6709, allocations: 91.25 kB / 0.7598 GB, free: 2.711 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.46e-05/0.671, allocations: 12 kB / 0.7598 GB, free: 2.699 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.671, allocations: 0 / 0.7598 GB, free: 2.699 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.704e-06/0.6711, allocations: 7.938 kB / 0.7598 GB, free: 2.691 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001028/0.6712, allocations: 0 / 0.7598 GB, free: 2.691 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000231/0.6714, allocations: 78.69 kB / 0.7599 GB, free: 2.586 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.6717, allocations: 0.6731 MB / 0.7605 GB, free: 1.887 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.688e-05/0.6718, allocations: 0 / 0.7605 GB, free: 1.887 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.6718, allocations: 7.438 kB / 0.7606 GB, free: 1.879 MB / 0.5261 GB Notification: Performance of SimCode: time 3.71e-07/0.6718, allocations: 128 / 0.7606 GB, free: 1.879 MB / 0.5261 GB Notification: Performance of Templates: time 0.001846/0.6736, allocations: 156.6 kB / 0.7607 GB, free: 1.727 MB / 0.5261 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1)