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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001919/0.001919, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.552/1.552, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.941/0.941, allocations: 134 MB / 446.4 MB, free: 9.922 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Examples.ModelTime") translateModel(IDEAS.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Examples.ModelTime") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 67.64 kB / 0.6189 GB, free: 6.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1876, allocations: 85.9 MB / 0.7028 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.00221/0.1898, allocations: 0.6023 MB / 0.7034 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 5.864e-05/0.1898, allocations: 8 kB / 0.7034 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.945e-05/0.1899, allocations: 3.844 kB / 0.7034 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.133e-05/0.1899, allocations: 0 / 0.7034 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.733e-06/0.1899, allocations: 0 / 0.7034 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 5.508e-05/0.19, allocations: 3.984 kB / 0.7034 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.52e-05/0.19, allocations: 0 / 0.7034 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.267e-05/0.1901, allocations: 4.406 kB / 0.7034 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.962e-05/0.1901, allocations: 0 / 0.7034 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.12e-05/0.1901, allocations: 0 / 0.7034 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.1901, allocations: 0 / 0.7034 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.148e-06/0.1901, allocations: 0 / 0.7034 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.552e-05/0.1901, allocations: 7.984 kB / 0.7034 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.132e-05/0.1902, allocations: 0 / 0.7034 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 6.925e-05/0.1902, allocations: 0 / 0.7034 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1902, allocations: 4 kB / 0.7034 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.334e-06/0.1902, allocations: 0 / 0.7034 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.1903, allocations: 0 / 0.7034 GB, free: 15.96 MB / 0.5294 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.0003493/0.1906, allocations: 242.4 kB / 0.7037 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.1906, allocations: 8.031 kB / 0.7037 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.1907, allocations: 8.875 kB / 0.7037 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.738e-05/0.1908, allocations: 106.5 kB / 0.7038 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.1908, allocations: 4.375 kB / 0.7038 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.305e-06/0.1908, allocations: 4.375 kB / 0.7038 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.1909, allocations: 30.2 kB / 0.7038 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1909, allocations: 192 / 0.7038 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.1909, allocations: 3.938 kB / 0.7038 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.1909, allocations: 0 / 0.7038 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.008e-05/0.191, allocations: 4 kB / 0.7038 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001379/0.1911, allocations: 101.3 kB / 0.7039 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.527e-05/0.1911, allocations: 18.61 kB / 0.704 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.267e-05/0.1912, allocations: 4.859 kB / 0.704 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.1912, allocations: 7.938 kB / 0.704 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/0.1912, allocations: 38.56 kB / 0.704 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 6.91e-07/0.1912, allocations: 0 / 0.704 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001245/0.1913, allocations: 41.59 kB / 0.704 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.1914, allocations: 51.41 kB / 0.7041 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.688e-05/0.1914, allocations: 89.86 kB / 0.7042 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.1915, allocations: 25.7 kB / 0.7042 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.886e-05/0.1915, allocations: 84.14 kB / 0.7043 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.1915, allocations: 0 / 0.7043 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/0.1916, allocations: 13.7 kB / 0.7043 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1917, allocations: 319 kB / 0.7046 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.133e-05/0.1917, allocations: 4 kB / 0.7046 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.218e-06/0.1917, allocations: 0 / 0.7046 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.362e-05/0.1918, allocations: 12.8 kB / 0.7046 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1918, allocations: 0 / 0.7046 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.867e-05/0.1918, allocations: 29.7 kB / 0.7046 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.1918, allocations: 4 kB / 0.7046 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.1918, allocations: 0 / 0.7046 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.1919, allocations: 4 kB / 0.7047 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.76e-05/0.1919, allocations: 8.016 kB / 0.7047 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.1919, allocations: 4 kB / 0.7047 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.898e-06/0.1919, allocations: 0 / 0.7047 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-06/0.1919, allocations: 0 / 0.7047 GB, free: 14.54 MB / 0.5294 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 7.725e-05/0.192, allocations: 113.8 kB / 0.7048 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.813e-06/0.192, allocations: 7.922 kB / 0.7048 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.714e-05/0.192, allocations: 3 kB / 0.7048 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.192, allocations: 3.938 kB / 0.7048 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.192, allocations: 3.938 kB / 0.7048 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.192, allocations: 0 / 0.7048 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.898e-05/0.1921, allocations: 97.33 kB / 0.7049 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1921, allocations: 7.984 kB / 0.7049 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.406e-06/0.1921, allocations: 0 / 0.7049 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.1921, allocations: 0 / 0.7049 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.1921, allocations: 0 / 0.7049 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1922, allocations: 4 kB / 0.7049 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1922, allocations: 3.938 kB / 0.7049 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.046e-05/0.1922, allocations: 57.14 kB / 0.705 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.191e-06/0.1922, allocations: 4 kB / 0.705 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.1922, allocations: 3.984 kB / 0.705 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.242e-06/0.1922, allocations: 0 / 0.705 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.405e-05/0.1923, allocations: 7.969 kB / 0.705 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-06/0.1923, allocations: 0 / 0.705 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.129e-05/0.1923, allocations: 79.22 kB / 0.705 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1923, allocations: 0 / 0.705 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001952/0.1925, allocations: 4 kB / 0.705 GB, free: 14.08 MB / 0.5294 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 0.0001116/0.1926, allocations: 95.19 kB / 0.7051 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.826e-05/0.1927, allocations: 4 kB / 0.7051 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1927, allocations: 4 kB / 0.7051 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.789e-06/0.1927, allocations: 0 / 0.7051 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.1928, allocations: 4.125 kB / 0.7051 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002369/0.1931, allocations: 77 kB / 0.7052 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.11e-05/0.1931, allocations: 59.22 kB / 0.7053 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 9.938e-06/0.1931, allocations: 0 / 0.7053 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.932e-05/0.1932, allocations: 7.438 kB / 0.7053 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of SimCode: time 2.81e-07/0.1932, allocations: 0 / 0.7053 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of Templates: time 0.00224/0.1954, allocations: 151.2 kB / 0.7054 GB, free: 13.64 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.913879225030541] Failed to read output from testmodel.py, exit status != 0: 0.20322137139737606 0.219885868 0.026439802000000002 Calling exit ...