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.001243/0.001243, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001272/0.001272, allocations: 191.2 kB / 16.25 MB, free: 6.16 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.371/1.371, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9318/0.9318, allocations: 135.6 MB / 425.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 68.34 kB / 0.5054 GB, free: 5.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1669, allocations: 81.01 MB / 0.5845 GB, free: 4.305 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001802/0.1688, allocations: 0.647 MB / 0.5851 GB, free: 3.652 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 3.648e-05/0.1688, allocations: 0 / 0.5851 GB, free: 3.652 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.614e-05/0.1688, allocations: 0 / 0.5851 GB, free: 3.652 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.256e-05/0.1689, allocations: 0 / 0.5851 GB, free: 3.652 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.631e-06/0.1689, allocations: 4 kB / 0.5851 GB, free: 3.648 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.856e-05/0.1689, allocations: 4 kB / 0.5851 GB, free: 3.645 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.011e-05/0.169, allocations: 3.984 kB / 0.5851 GB, free: 3.641 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.393e-05/0.1691, allocations: 7.984 kB / 0.5851 GB, free: 3.633 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.29e-05/0.1691, allocations: 0 / 0.5851 GB, free: 3.633 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.733e-05/0.1691, allocations: 0 / 0.5851 GB, free: 3.633 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.1691, allocations: 4 kB / 0.5851 GB, free: 3.629 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.308e-06/0.1691, allocations: 0 / 0.5851 GB, free: 3.629 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.278e-05/0.1691, allocations: 0 / 0.5851 GB, free: 3.629 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.608e-05/0.1692, allocations: 3.938 kB / 0.5851 GB, free: 3.625 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.005e-05/0.1692, allocations: 0 / 0.5851 GB, free: 3.625 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1692, allocations: 0 / 0.5851 GB, free: 3.625 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.1692, allocations: 0 / 0.5851 GB, free: 3.625 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1692, allocations: 0 / 0.5851 GB, free: 3.625 MB / 494.1 MB 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.0002997/0.1695, allocations: 323.5 kB / 0.5855 GB, free: 3.258 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.1696, allocations: 12.02 kB / 0.5855 GB, free: 3.246 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.509e-05/0.1696, allocations: 0.9375 kB / 0.5855 GB, free: 3.246 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.1697, allocations: 164.4 kB / 0.5856 GB, free: 3.047 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.1697, allocations: 384 / 0.5856 GB, free: 3.047 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.953e-06/0.1698, allocations: 384 / 0.5856 GB, free: 3.047 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8e-05/0.1698, allocations: 26.27 kB / 0.5856 GB, free: 3.016 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.852e-06/0.1699, allocations: 192 / 0.5856 GB, free: 3.016 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.1699, allocations: 7.938 kB / 0.5857 GB, free: 3.008 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1699, allocations: 3.984 kB / 0.5857 GB, free: 3.004 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.473e-05/0.1699, allocations: 4 kB / 0.5857 GB, free: 3 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001459/0.17, allocations: 149.7 kB / 0.5858 GB, free: 2.805 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.983e-05/0.1701, allocations: 22.55 kB / 0.5858 GB, free: 2.773 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.075e-05/0.1701, allocations: 4.859 kB / 0.5858 GB, free: 2.766 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.328e-06/0.1701, allocations: 0 / 0.5858 GB, free: 2.766 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.1702, allocations: 38.62 kB / 0.5859 GB, free: 2.719 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.1702, allocations: 3.938 kB / 0.5859 GB, free: 2.715 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.000124/0.1703, allocations: 37.64 kB / 0.5859 GB, free: 2.672 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.1704, allocations: 55.34 kB / 0.586 GB, free: 2.605 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.423e-05/0.1704, allocations: 89.86 kB / 0.586 GB, free: 2.508 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.1704, allocations: 25.7 kB / 0.5861 GB, free: 2.477 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.074e-05/0.1705, allocations: 84.12 kB / 0.5862 GB, free: 2.391 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.1705, allocations: 3.906 kB / 0.5862 GB, free: 2.387 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.1705, allocations: 21.84 kB / 0.5862 GB, free: 2.359 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1707, allocations: 310.8 kB / 0.5865 GB, free: 2.047 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.131e-05/0.1707, allocations: 4 kB / 0.5865 GB, free: 2.043 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.854e-06/0.1707, allocations: 0 / 0.5865 GB, free: 2.043 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.599e-05/0.1707, allocations: 12.8 kB / 0.5865 GB, free: 2.027 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1707, allocations: 0 / 0.5865 GB, free: 2.027 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.677e-05/0.1708, allocations: 33.64 kB / 0.5865 GB, free: 1.988 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.1708, allocations: 12.09 kB / 0.5865 GB, free: 1.977 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1708, allocations: 0 / 0.5865 GB, free: 1.977 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.1708, allocations: 7.922 kB / 0.5865 GB, free: 1.969 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.627e-05/0.1709, allocations: 0 / 0.5865 GB, free: 1.969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.1709, allocations: 0 / 0.5865 GB, free: 1.969 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.107e-06/0.1709, allocations: 4 kB / 0.5865 GB, free: 1.965 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.1709, allocations: 0 / 0.5865 GB, free: 1.965 MB / 494.1 MB 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 8.575e-05/0.171, allocations: 109.8 kB / 0.5866 GB, free: 1.848 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.099e-06/0.171, allocations: 0 / 0.5866 GB, free: 1.848 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.858e-05/0.171, allocations: 7.062 kB / 0.5867 GB, free: 1.84 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.1711, allocations: 4 kB / 0.5867 GB, free: 1.836 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1711, allocations: 4 kB / 0.5867 GB, free: 1.832 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.1711, allocations: 0 / 0.5867 GB, free: 1.832 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.1712, allocations: 149.7 kB / 0.5868 GB, free: 1.637 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1712, allocations: 0 / 0.5868 GB, free: 1.637 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.166e-06/0.1712, allocations: 0 / 0.5868 GB, free: 1.637 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.1712, allocations: 4 kB / 0.5868 GB, free: 1.633 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.1712, allocations: 3.938 kB / 0.5868 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.1712, allocations: 0 / 0.5868 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1712, allocations: 0 / 0.5868 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.977e-05/0.1713, allocations: 65.06 kB / 0.5869 GB, free: 1.547 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.793e-05/0.1714, allocations: 77.11 kB / 0.5869 GB, free: 1.453 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.1714, allocations: 7.938 kB / 0.587 GB, free: 1.445 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.771e-06/0.1714, allocations: 0 / 0.587 GB, free: 1.445 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.528e-06/0.1714, allocations: 0 / 0.587 GB, free: 1.445 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-06/0.1714, allocations: 0 / 0.587 GB, free: 1.445 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.235e-05/0.1714, allocations: 75.28 kB / 0.587 GB, free: 1.371 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1714, allocations: 4.031 kB / 0.587 GB, free: 1.367 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001657/0.1716, allocations: 3.938 kB / 0.587 GB, free: 1.363 MB / 494.1 MB 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 9.405e-05/0.1717, allocations: 95.53 kB / 0.5871 GB, free: 1.258 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.083e-05/0.1718, allocations: 4 kB / 0.5871 GB, free: 1.254 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1718, allocations: 0 / 0.5871 GB, free: 1.254 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.908e-05/0.1718, allocations: 11.92 kB / 0.5871 GB, free: 1.242 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001248/0.172, allocations: 7.938 kB / 0.5871 GB, free: 1.234 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002023/0.1722, allocations: 81 kB / 0.5872 GB, free: 1.129 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.1725, allocations: 0.669 MB / 0.5879 GB, free: 444 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.125e-05/0.1725, allocations: 0 / 0.5879 GB, free: 444 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.787e-05/0.1725, allocations: 7.438 kB / 0.5879 GB, free: 436 kB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1725, allocations: 4 kB / 0.5879 GB, free: 432 kB / 494.1 MB Notification: Performance of Templates: time 0.002015/0.1745, allocations: 165.7 kB / 0.588 GB, free: 272 kB / 494.1 MB 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)