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.005705/0.005705, allocations: 101.1 kB / 15.88 MB, free: 5.871 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.0011/0.0011, allocations: 192.3 kB / 16.79 MB, free: 5.816 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.327/1.327, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9793/0.9793, allocations: 135.1 MB / 425.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002062, allocations: 59.97 kB / 0.5053 GB, free: 5.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.1901, allocations: 80.93 MB / 0.5843 GB, free: 5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001929/0.1921, allocations: 0.6586 MB / 0.585 GB, free: 4.336 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 3.192e-05/0.1922, allocations: 0 / 0.585 GB, free: 4.336 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.544e-05/0.1922, allocations: 0 / 0.585 GB, free: 4.336 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.893e-05/0.1922, allocations: 0 / 0.585 GB, free: 4.336 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.88e-06/0.1922, allocations: 0 / 0.585 GB, free: 4.336 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.134e-05/0.1923, allocations: 0 / 0.585 GB, free: 4.336 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.297e-05/0.1923, allocations: 8 kB / 0.585 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.309e-05/0.1924, allocations: 0 / 0.585 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.368e-05/0.1924, allocations: 0 / 0.585 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.634e-05/0.1924, allocations: 3.938 kB / 0.585 GB, free: 4.324 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.1924, allocations: 4 kB / 0.585 GB, free: 4.32 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.266e-06/0.1924, allocations: 0 / 0.585 GB, free: 4.32 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.078e-05/0.1925, allocations: 0 / 0.585 GB, free: 4.32 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.968e-05/0.1925, allocations: 4 kB / 0.585 GB, free: 4.316 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 3.607e-05/0.1925, allocations: 4 kB / 0.585 GB, free: 4.312 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1925, allocations: 0 / 0.585 GB, free: 4.312 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.1925, allocations: 0 / 0.585 GB, free: 4.312 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.1925, allocations: 0 / 0.585 GB, free: 4.312 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.0002887/0.1928, allocations: 311.6 kB / 0.5853 GB, free: 3.957 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1929, allocations: 8.031 kB / 0.5853 GB, free: 3.949 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.851e-05/0.1929, allocations: 8.938 kB / 0.5853 GB, free: 3.941 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.464e-05/0.193, allocations: 164.3 kB / 0.5855 GB, free: 3.742 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.193, allocations: 384 / 0.5855 GB, free: 3.742 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.253e-06/0.193, allocations: 384 / 0.5855 GB, free: 3.742 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.196e-05/0.1931, allocations: 30.27 kB / 0.5855 GB, free: 3.707 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.1931, allocations: 192 / 0.5855 GB, free: 3.707 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.1931, allocations: 3.938 kB / 0.5855 GB, free: 3.703 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.1932, allocations: 0 / 0.5855 GB, free: 3.703 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.801e-05/0.1932, allocations: 3.984 kB / 0.5855 GB, free: 3.699 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001266/0.1933, allocations: 149.7 kB / 0.5857 GB, free: 3.504 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.632e-05/0.1934, allocations: 26.52 kB / 0.5857 GB, free: 3.469 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.405e-05/0.1934, allocations: 8.953 kB / 0.5857 GB, free: 3.457 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.493e-06/0.1934, allocations: 0 / 0.5857 GB, free: 3.457 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.1934, allocations: 30.56 kB / 0.5857 GB, free: 3.418 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 6.61e-07/0.1934, allocations: 0 / 0.5857 GB, free: 3.418 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001075/0.1935, allocations: 37.72 kB / 0.5858 GB, free: 3.375 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.1936, allocations: 55.44 kB / 0.5858 GB, free: 3.309 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.024e-05/0.1936, allocations: 97.86 kB / 0.5859 GB, free: 3.203 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.1936, allocations: 25.7 kB / 0.5859 GB, free: 3.172 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.381e-05/0.1937, allocations: 88.02 kB / 0.586 GB, free: 3.082 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.1937, allocations: 3.906 kB / 0.586 GB, free: 3.078 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.65e-05/0.1937, allocations: 9.719 kB / 0.586 GB, free: 3.062 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.1938, allocations: 314.8 kB / 0.5863 GB, free: 2.746 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.103e-06/0.1939, allocations: 4 kB / 0.5863 GB, free: 2.742 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.03e-06/0.1939, allocations: 4 kB / 0.5863 GB, free: 2.738 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.423e-05/0.1939, allocations: 12.86 kB / 0.5863 GB, free: 2.723 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1939, allocations: 0 / 0.5863 GB, free: 2.723 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.142e-05/0.194, allocations: 33.69 kB / 0.5864 GB, free: 2.684 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.194, allocations: 4 kB / 0.5864 GB, free: 2.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.194, allocations: 0 / 0.5864 GB, free: 2.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.194, allocations: 7.938 kB / 0.5864 GB, free: 2.672 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.241e-05/0.1941, allocations: 3.938 kB / 0.5864 GB, free: 2.668 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.1941, allocations: 4.094 kB / 0.5864 GB, free: 2.664 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.024e-05/0.1941, allocations: 0 / 0.5864 GB, free: 2.664 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.1941, allocations: 4 kB / 0.5864 GB, free: 2.66 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 6.182e-05/0.1942, allocations: 109.8 kB / 0.5865 GB, free: 2.543 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.801e-06/0.1942, allocations: 0 / 0.5865 GB, free: 2.543 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.556e-05/0.1942, allocations: 7.062 kB / 0.5865 GB, free: 2.535 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.1942, allocations: 0 / 0.5865 GB, free: 2.535 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.1942, allocations: 3.984 kB / 0.5865 GB, free: 2.531 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.1942, allocations: 0 / 0.5865 GB, free: 2.531 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.566e-05/0.1943, allocations: 149.7 kB / 0.5867 GB, free: 2.336 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1943, allocations: 4 kB / 0.5867 GB, free: 2.332 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.037e-05/0.1943, allocations: 0 / 0.5867 GB, free: 2.332 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1943, allocations: 0 / 0.5867 GB, free: 2.332 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.1943, allocations: 3.938 kB / 0.5867 GB, free: 2.328 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1944, allocations: 0 / 0.5867 GB, free: 2.328 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1944, allocations: 0 / 0.5867 GB, free: 2.328 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.118e-05/0.1944, allocations: 61.12 kB / 0.5867 GB, free: 2.25 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.356e-05/0.1945, allocations: 85.08 kB / 0.5868 GB, free: 2.148 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.1945, allocations: 3.938 kB / 0.5868 GB, free: 2.145 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.882e-06/0.1945, allocations: 0 / 0.5868 GB, free: 2.145 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.308e-06/0.1945, allocations: 0 / 0.5868 GB, free: 2.145 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-06/0.1945, allocations: 4 kB / 0.5868 GB, free: 2.141 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.61e-05/0.1946, allocations: 75.28 kB / 0.5869 GB, free: 2.066 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1946, allocations: 3.938 kB / 0.5869 GB, free: 2.062 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000178/0.1948, allocations: 0 / 0.5869 GB, free: 2.062 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 0.0001203/0.1949, allocations: 103.5 kB / 0.587 GB, free: 1.949 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.527e-05/0.1949, allocations: 4 kB / 0.587 GB, free: 1.945 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.195, allocations: 0 / 0.587 GB, free: 1.945 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.294e-06/0.195, allocations: 4 kB / 0.587 GB, free: 1.941 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.1951, allocations: 2.656 kB / 0.587 GB, free: 1.941 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001985/0.1953, allocations: 108.3 kB / 0.5871 GB, free: 1.801 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.1955, allocations: 0.6809 MB / 0.5878 GB, free: 1.094 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.396e-05/0.1956, allocations: 7.438 kB / 0.5878 GB, free: 1.086 MB / 494.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1956, allocations: 4.125 kB / 0.5878 GB, free: 1.082 MB / 494.1 MB Notification: Performance of Templates: time 0.001461/0.197, allocations: 313.5 kB / 0.5881 GB, free: 0.7773 MB / 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)