Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.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/package.mo", uses=false) 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.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.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin") translateModel(IDEAS.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009227/0.009227, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.00185/0.00185, allocations: 199.2 kB / 16.68 MB, free: 5.93 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8696/0.8696, allocations: 132.2 MB / 422.7 MB, free: 6.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 63.88 kB / 0.5814 GB, free: 23.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1852, allocations: 80.21 MB / 0.6597 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002692/0.1879, allocations: 1.46 MB / 0.6611 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000434/0.1884, allocations: 144.4 kB / 0.6612 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.412e-05/0.1884, allocations: 0 / 0.6612 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.515e-05/0.1885, allocations: 3.938 kB / 0.6612 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.726e-05/0.1886, allocations: 7.922 kB / 0.6613 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.1888, allocations: 35.91 kB / 0.6613 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.628e-05/0.1889, allocations: 39.91 kB / 0.6613 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.1891, allocations: 23.92 kB / 0.6613 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.307e-05/0.1892, allocations: 11.98 kB / 0.6614 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.618e-05/0.1892, allocations: 31.86 kB / 0.6614 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.1892, allocations: 4 kB / 0.6614 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.447e-05/0.1893, allocations: 31.97 kB / 0.6614 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.06e-05/0.1894, allocations: 11.98 kB / 0.6614 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.674e-05/0.1894, allocations: 15.88 kB / 0.6615 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.1895, allocations: 63.84 kB / 0.6615 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1896, allocations: 0 / 0.6615 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.136e-06/0.1896, allocations: 0 / 0.6615 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.1896, allocations: 3.938 kB / 0.6615 GB, free: 8.32 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004859/0.1901, allocations: 359.4 kB / 0.6619 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.1901, allocations: 8.031 kB / 0.6619 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.1912, allocations: 216.5 kB / 0.6621 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.1913, allocations: 168.3 kB / 0.6622 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.1913, allocations: 4.375 kB / 0.6622 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.1914, allocations: 4.375 kB / 0.6622 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005758/0.192, allocations: 198 kB / 0.6624 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.192, allocations: 192 / 0.6624 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.192, allocations: 3.938 kB / 0.6624 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.192, allocations: 0 / 0.6624 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008391/0.1929, allocations: 279.6 kB / 0.6627 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009367/0.1938, allocations: 449 kB / 0.6631 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.1949, allocations: 286.2 kB / 0.6634 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000351/0.1953, allocations: 100.8 kB / 0.6635 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.1953, allocations: 0 / 0.6635 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.1953, allocations: 34.56 kB / 0.6635 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 2.244e-06/0.1953, allocations: 3.938 kB / 0.6635 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.001168/0.1965, allocations: 325.3 kB / 0.6638 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.1966, allocations: 51.41 kB / 0.6639 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.1967, allocations: 113.8 kB / 0.664 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.1967, allocations: 33.7 kB / 0.664 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.492e-05/0.1968, allocations: 84.14 kB / 0.6641 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.1968, allocations: 15.83 kB / 0.6641 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.031e-05/0.1968, allocations: 17.72 kB / 0.6641 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.197, allocations: 318.8 kB / 0.6645 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003743/0.1974, allocations: 95.88 kB / 0.6645 GB, free: 5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003497/0.1977, allocations: 95.88 kB / 0.6646 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006513/0.1984, allocations: 172.6 kB / 0.6648 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1984, allocations: 7.938 kB / 0.6648 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007366/0.1991, allocations: 209.4 kB / 0.665 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1992, allocations: 8 kB / 0.665 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.1992, allocations: 3.984 kB / 0.665 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1992, allocations: 0 / 0.665 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002642/0.1995, allocations: 43.94 kB / 0.6651 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.1995, allocations: 0 / 0.6651 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.1997, allocations: 23.95 kB / 0.6651 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.1997, allocations: 4 kB / 0.6651 GB, free: 4.434 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 (3): * Single equations (assignments): 3 * 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 9.498e-05/0.1998, allocations: 121.8 kB / 0.6652 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.507e-05/0.1998, allocations: 3.906 kB / 0.6652 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.167e-05/0.1999, allocations: 15.84 kB / 0.6652 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1999, allocations: 0 / 0.6652 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.1999, allocations: 4 kB / 0.6652 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.1999, allocations: 0 / 0.6652 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/0.2001, allocations: 209.5 kB / 0.6654 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2002, allocations: 0 / 0.6654 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/0.2004, allocations: 35.94 kB / 0.6655 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.2004, allocations: 0 / 0.6655 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.2004, allocations: 4 kB / 0.6655 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2004, allocations: 384 / 0.6655 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2004, allocations: 4 kB / 0.6655 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008179/0.2013, allocations: 319.2 kB / 0.6658 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.046e-05/0.2013, allocations: 81.02 kB / 0.6658 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.2013, allocations: 3.938 kB / 0.6659 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/0.2016, allocations: 27.95 kB / 0.6659 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.2016, allocations: 0 / 0.6659 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.2016, allocations: 3.984 kB / 0.6659 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.783e-05/0.2017, allocations: 103.2 kB / 0.666 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2017, allocations: 0 / 0.666 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002326/0.202, allocations: 16 kB / 0.666 GB, free: 3.395 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 (3): * Single equations (assignments): 3 * 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.0001324/0.2021, allocations: 99.19 kB / 0.6661 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007587/0.2029, allocations: 187.8 kB / 0.6663 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.2029, allocations: 4 kB / 0.6663 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003728/0.2033, allocations: 107.8 kB / 0.6664 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.2035, allocations: 8.859 kB / 0.6664 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009284/0.2044, allocations: 265.2 kB / 0.6666 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.2047, allocations: 0.6923 MB / 0.6673 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.929e-05/0.2048, allocations: 19.98 kB / 0.6673 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.534e-05/0.2049, allocations: 11.44 kB / 0.6673 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.2049, allocations: 0 / 0.6673 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of Templates: time 0.003039/0.2079, allocations: 0.9257 MB / 0.6682 GB, free: 1.031 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1)