Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Examples.ModelTime") translateModel(IDEAS.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.009245/0.009246, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.753/0.753, allocations: 132.3 MB / 148.1 MB, free: 192 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 223.2 MB / 403.2 MB, free: 6.691 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.0008761/0.0008761, allocations: 98.86 kB / 485.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003667/0.0003666, allocations: 8 kB / 0.5641 GB, free: 2.102 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4984/0.4988, allocations: 81.58 MB / 0.6437 GB, free: 39.24 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.156/0.6549, allocations: 110.3 MB / 0.7515 GB, free: 9.598 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/0.6552, allocations: 71.95 kB / 0.7516 GB, free: 9.527 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005594/0.6558, allocations: 368.8 kB / 0.7519 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.635e-06/0.6558, allocations: 0 / 0.7519 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.6558, allocations: 0 / 0.7519 GB, free: 9.164 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.000265/0.6561, allocations: 311.4 kB / 0.7522 GB, free: 8.812 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.6561, allocations: 8.094 kB / 0.7522 GB, free: 8.805 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.651e-05/0.6562, allocations: 7.922 kB / 0.7522 GB, free: 8.797 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.6563, allocations: 163 kB / 0.7524 GB, free: 8.598 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.6563, allocations: 0 / 0.7524 GB, free: 8.598 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.248e-06/0.6563, allocations: 8 kB / 0.7524 GB, free: 8.59 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.6565, allocations: 33.64 kB / 0.7524 GB, free: 8.551 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.6565, allocations: 0 / 0.7524 GB, free: 8.551 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.6565, allocations: 0 / 0.7524 GB, free: 8.551 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.6565, allocations: 0 / 0.7524 GB, free: 8.551 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.224e-05/0.6565, allocations: 4 kB / 0.7524 GB, free: 8.547 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002144/0.6567, allocations: 149.6 kB / 0.7526 GB, free: 8.352 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.444e-05/0.6568, allocations: 17.86 kB / 0.7526 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.258e-06/0.6568, allocations: 4 kB / 0.7526 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.6569, allocations: 38.66 kB / 0.7526 GB, free: 8.277 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.6569, allocations: 3.938 kB / 0.7526 GB, free: 8.273 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001212/0.657, allocations: 29.7 kB / 0.7527 GB, free: 8.238 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.657, allocations: 51.41 kB / 0.7527 GB, free: 8.176 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.427e-05/0.6571, allocations: 85 kB / 0.7528 GB, free: 8.086 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.6571, allocations: 25.7 kB / 0.7528 GB, free: 8.055 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.309e-05/0.6571, allocations: 84.27 kB / 0.7529 GB, free: 7.969 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.6572, allocations: 3.906 kB / 0.7529 GB, free: 7.965 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.853e-06/0.6572, allocations: 4 kB / 0.7529 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.6573, allocations: 318.8 kB / 0.7532 GB, free: 7.641 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.384e-06/0.6573, allocations: 0 / 0.7532 GB, free: 7.641 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.402e-06/0.6574, allocations: 0 / 0.7532 GB, free: 7.641 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.747e-05/0.6574, allocations: 7.938 kB / 0.7532 GB, free: 7.633 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6574, allocations: 0 / 0.7532 GB, free: 7.633 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.081e-05/0.6574, allocations: 41.66 kB / 0.7532 GB, free: 7.586 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.6575, allocations: 4 kB / 0.7533 GB, free: 7.582 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.6575, allocations: 4 kB / 0.7533 GB, free: 7.578 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.6575, allocations: 0 / 0.7533 GB, free: 7.578 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.099e-05/0.6576, allocations: 4 kB / 0.7533 GB, free: 7.574 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.6576, allocations: 0 / 0.7533 GB, free: 7.574 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.024e-05/0.6576, allocations: 0 / 0.7533 GB, free: 7.574 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.6576, allocations: 0 / 0.7533 GB, free: 7.574 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 7.382e-05/0.6577, allocations: 109.8 kB / 0.7534 GB, free: 7.457 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.747e-06/0.6577, allocations: 11.95 kB / 0.7534 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.486e-05/0.6577, allocations: 7.156 kB / 0.7534 GB, free: 7.441 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.6577, allocations: 0 / 0.7534 GB, free: 7.441 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.6577, allocations: 0 / 0.7534 GB, free: 7.441 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.6577, allocations: 0 / 0.7534 GB, free: 7.441 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.6578, allocations: 143.8 kB / 0.7535 GB, free: 7.254 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.6579, allocations: 3.984 kB / 0.7535 GB, free: 7.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.002e-05/0.6579, allocations: 7.938 kB / 0.7535 GB, free: 7.242 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.6579, allocations: 3.953 kB / 0.7535 GB, free: 7.238 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.281e-06/0.6579, allocations: 0 / 0.7535 GB, free: 7.238 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.6579, allocations: 0 / 0.7535 GB, free: 7.238 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.6579, allocations: 7.938 kB / 0.7535 GB, free: 7.23 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.486e-05/0.658, allocations: 57.14 kB / 0.7536 GB, free: 7.156 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.854e-05/0.658, allocations: 77.11 kB / 0.7537 GB, free: 7.062 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.658, allocations: 7.938 kB / 0.7537 GB, free: 7.055 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.422e-06/0.6581, allocations: 0 / 0.7537 GB, free: 7.055 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.304e-05/0.6581, allocations: 0 / 0.7537 GB, free: 7.055 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-06/0.6581, allocations: 0 / 0.7537 GB, free: 7.055 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.622e-05/0.6581, allocations: 83.31 kB / 0.7538 GB, free: 6.973 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/0.6581, allocations: 0 / 0.7538 GB, free: 6.973 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001851/0.6583, allocations: 0 / 0.7538 GB, free: 6.973 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.0001096/0.6584, allocations: 91.25 kB / 0.7538 GB, free: 6.871 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 6.364e-05/0.6585, allocations: 7.938 kB / 0.7539 GB, free: 6.863 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.6585, allocations: 0 / 0.7539 GB, free: 6.863 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.823e-06/0.6585, allocations: 0 / 0.7539 GB, free: 6.863 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001047/0.6586, allocations: 13.62 kB / 0.7539 GB, free: 6.852 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002052/0.6588, allocations: 78.88 kB / 0.7539 GB, free: 6.746 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.6592, allocations: 0.6692 MB / 0.7546 GB, free: 6.051 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.562e-05/0.6592, allocations: 4 kB / 0.7546 GB, free: 6.047 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.797e-05/0.6592, allocations: 7.438 kB / 0.7546 GB, free: 6.039 MB / 0.5261 GB Notification: Performance of SimCode: time 3e-07/0.6592, allocations: 0 / 0.7546 GB, free: 6.039 MB / 0.5261 GB Notification: Performance of Templates: time 0.00176/0.661, allocations: 148.5 kB / 0.7547 GB, free: 5.895 MB / 0.5261 GB make -j1 -f IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.makefile (rm -f IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.sim & ./IDEAS_IDEAS.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1)