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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009919/0.009919, allocations: 95.61 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002442/0.002443, allocations: 197.7 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9904/0.9904, allocations: 135.1 MB / 425.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 60.09 kB / 0.5856 GB, free: 3.414 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.46/0.4614, allocations: 80.92 MB / 0.6646 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001671/0.4631, allocations: 0.5885 MB / 0.6652 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 4.463e-05/0.4631, allocations: 1.125 kB / 0.6652 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.041e-05/0.4632, allocations: 0 / 0.6652 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.071e-05/0.4632, allocations: 0 / 0.6652 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.672e-06/0.4632, allocations: 0 / 0.6652 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 4.121e-05/0.4633, allocations: 5.125 kB / 0.6652 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.338e-05/0.4633, allocations: 13.12 kB / 0.6652 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.98e-05/0.4634, allocations: 5.047 kB / 0.6652 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.344e-05/0.4634, allocations: 3.984 kB / 0.6652 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.808e-05/0.4634, allocations: 1.219 kB / 0.6652 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.4634, allocations: 0 / 0.6652 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.378e-06/0.4635, allocations: 0 / 0.6652 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.4635, allocations: 1.5 kB / 0.6652 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.529e-05/0.4635, allocations: 0 / 0.6652 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 5.884e-05/0.4636, allocations: 0 / 0.6652 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4636, allocations: 1.219 kB / 0.6652 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.502e-06/0.4636, allocations: 4 kB / 0.6652 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.767e-06/0.4636, allocations: 0 / 0.6652 GB, free: 7.152 MB / 0.4981 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.0002228/0.4638, allocations: 310.6 kB / 0.6655 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.4639, allocations: 13.33 kB / 0.6655 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.223e-05/0.4639, allocations: 4.938 kB / 0.6655 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.292e-05/0.4639, allocations: 162 kB / 0.6657 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.464, allocations: 384 / 0.6657 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.667e-06/0.464, allocations: 384 / 0.6657 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.76e-05/0.464, allocations: 32.67 kB / 0.6657 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.464, allocations: 192 / 0.6657 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.4641, allocations: 3.938 kB / 0.6657 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.4641, allocations: 5.469 kB / 0.6657 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.505e-05/0.4641, allocations: 3.938 kB / 0.6657 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.355e-05/0.4642, allocations: 147.3 kB / 0.6659 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 2.98e-05/0.4642, allocations: 21.42 kB / 0.6659 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.412e-05/0.4642, allocations: 6.484 kB / 0.6659 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.137e-06/0.4643, allocations: 4 kB / 0.6659 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.488e-05/0.4643, allocations: 32.06 kB / 0.6659 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.342e-06/0.4643, allocations: 3.984 kB / 0.6659 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 9.497e-05/0.4644, allocations: 43.11 kB / 0.666 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.049e-05/0.4644, allocations: 55.41 kB / 0.666 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.503e-05/0.4644, allocations: 89.86 kB / 0.6661 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.581e-06/0.4644, allocations: 25.7 kB / 0.6661 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.658e-06/0.4645, allocations: 85.58 kB / 0.6662 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.4645, allocations: 7.938 kB / 0.6662 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.083e-05/0.4645, allocations: 11.19 kB / 0.6662 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.83e-05/0.4646, allocations: 311.9 kB / 0.6665 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.874e-06/0.4646, allocations: 1.875 kB / 0.6665 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.308e-06/0.4646, allocations: 0 / 0.6665 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.451e-05/0.4646, allocations: 11.52 kB / 0.6665 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.4646, allocations: 1.688 kB / 0.6665 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.835e-05/0.4647, allocations: 37.61 kB / 0.6666 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.4647, allocations: 4.969 kB / 0.6666 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.4647, allocations: 1.188 kB / 0.6666 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.4647, allocations: 7.922 kB / 0.6666 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.586e-05/0.4647, allocations: 1.375 kB / 0.6666 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.4648, allocations: 1.406 kB / 0.6666 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.117e-06/0.4648, allocations: 0 / 0.6666 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.017e-06/0.4648, allocations: 0 / 0.6666 GB, free: 5.559 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.79e-05/0.4648, allocations: 107.2 kB / 0.6667 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.621e-06/0.4648, allocations: 5.688 kB / 0.6667 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.51e-05/0.4648, allocations: 11.06 kB / 0.6667 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.4649, allocations: 0 / 0.6667 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.4649, allocations: 0 / 0.6667 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.4649, allocations: 1.156 kB / 0.6667 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.185e-05/0.4649, allocations: 148.6 kB / 0.6669 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4649, allocations: 0 / 0.6669 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.417e-06/0.4649, allocations: 5.562 kB / 0.6669 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4649, allocations: 1.125 kB / 0.6669 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.4649, allocations: 3.938 kB / 0.6669 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.4649, allocations: 4 kB / 0.6669 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.465, allocations: 9.375 kB / 0.6669 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.357e-05/0.465, allocations: 58.84 kB / 0.6669 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.208e-05/0.465, allocations: 77.11 kB / 0.667 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.568e-06/0.465, allocations: 5.469 kB / 0.667 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.743e-06/0.465, allocations: 0 / 0.667 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.496e-06/0.4651, allocations: 0 / 0.667 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.4651, allocations: 5.281 kB / 0.667 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.079e-05/0.4651, allocations: 77.92 kB / 0.6671 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4651, allocations: 0 / 0.6671 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001834/0.4653, allocations: 1.375 kB / 0.6671 GB, free: 4.969 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.321e-05/0.4653, allocations: 97.17 kB / 0.6672 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.063e-05/0.4654, allocations: 8.406 kB / 0.6672 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4654, allocations: 0 / 0.6672 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.663e-06/0.4654, allocations: 6.141 kB / 0.6672 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001192/0.4655, allocations: 5.219 kB / 0.6672 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001369/0.4657, allocations: 82.38 kB / 0.6673 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.923e-05/0.4658, allocations: 0.67 MB / 0.6679 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.031e-05/0.4658, allocations: 0 / 0.6679 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.307e-05/0.4658, allocations: 8.562 kB / 0.668 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.4658, allocations: 0 / 0.668 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of Templates: time 0.001712/0.4675, allocations: 161 kB / 0.6681 GB, free: 3.973 MB / 0.4981 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)