Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.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.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks") translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008561/0.0008561, allocations: 92.16 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008956/0.0008957, allocations: 182.9 kB / 16.92 MB, free: 6.926 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.313/1.313, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8996/0.8996, allocations: 135.3 MB / 427.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003629/0.0003629, allocations: 8 kB / 0.5082 GB, free: 4.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1649, allocations: 82.31 MB / 0.5886 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.001835/0.1667, allocations: 1.478 MB / 0.5901 GB, free: 1.141 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009903/0.1677, allocations: 0.6439 MB / 0.5907 GB, free: 500 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.061e-05/0.1678, allocations: 4 kB / 0.5907 GB, free: 496 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.049e-05/0.1678, allocations: 3.938 kB / 0.5907 GB, free: 492 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.775e-05/0.1679, allocations: 19.84 kB / 0.5907 GB, free: 472 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004717/0.1684, allocations: 149.1 kB / 0.5909 GB, free: 328 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.1685, allocations: 119.7 kB / 0.591 GB, free: 208 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.1687, allocations: 49.08 kB / 0.591 GB, free: 160 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.1688, allocations: 43.84 kB / 0.5911 GB, free: 116 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.351e-05/0.1689, allocations: 51.7 kB / 0.5911 GB, free: 64 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.1689, allocations: 4 kB / 0.5911 GB, free: 60 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.79e-05/0.169, allocations: 39.97 kB / 0.5911 GB, free: 20 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.09e-05/0.169, allocations: 23.98 kB / 0.5912 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.892e-05/0.1691, allocations: 69.44 kB / 0.5912 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001306/0.1692, allocations: 96.03 kB / 0.5913 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.1692, allocations: 0 / 0.5913 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1693, allocations: 0 / 0.5913 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.1693, allocations: 0 / 0.5913 GB, free: 15.82 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005128/0.1698, allocations: 419.1 kB / 0.5917 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.1698, allocations: 8.031 kB / 0.5917 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008766/0.1707, allocations: 156.4 kB / 0.5919 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.1708, allocations: 182.2 kB / 0.5921 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.489e-05/0.171, allocations: 67.95 kB / 0.5921 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.171, allocations: 8.375 kB / 0.5921 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005531/0.1715, allocations: 195.6 kB / 0.5923 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1716, allocations: 0 / 0.5923 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.639e-05/0.1716, allocations: 3.938 kB / 0.5923 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.1716, allocations: 7.938 kB / 0.5923 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006857/0.1723, allocations: 195.8 kB / 0.5925 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.1734, allocations: 0.494 MB / 0.593 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.1746, allocations: 266.3 kB / 0.5933 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003348/0.1749, allocations: 96.91 kB / 0.5933 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.175, allocations: 4 kB / 0.5933 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.175, allocations: 34.56 kB / 0.5934 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.175, allocations: 0 / 0.5934 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.001155/0.1761, allocations: 325.4 kB / 0.5937 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.1762, allocations: 51.41 kB / 0.5937 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.1763, allocations: 133.8 kB / 0.5939 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.1763, allocations: 25.7 kB / 0.5939 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.208e-05/0.1764, allocations: 112.2 kB / 0.594 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.1764, allocations: 23.66 kB / 0.594 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/0.1765, allocations: 13.72 kB / 0.594 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1766, allocations: 322.8 kB / 0.5943 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003336/0.1769, allocations: 91.92 kB / 0.5944 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003382/0.1773, allocations: 110.5 kB / 0.5945 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006516/0.1779, allocations: 202.4 kB / 0.5947 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.178, allocations: 0 / 0.5947 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007347/0.1787, allocations: 237.4 kB / 0.595 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.1787, allocations: 4 kB / 0.595 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1787, allocations: 0 / 0.595 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.1788, allocations: 7.938 kB / 0.595 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002762/0.179, allocations: 43.95 kB / 0.595 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.1791, allocations: 4 kB / 0.595 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/0.1793, allocations: 39.89 kB / 0.5951 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.1793, allocations: 4 kB / 0.5951 GB, free: 11.76 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 0.0001026/0.1794, allocations: 117.8 kB / 0.5952 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.068e-05/0.1794, allocations: 15.75 kB / 0.5952 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008011/0.1802, allocations: 242.5 kB / 0.5954 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.1803, allocations: 3.984 kB / 0.5954 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.1803, allocations: 64 / 0.5954 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.1803, allocations: 7.938 kB / 0.5954 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/0.1805, allocations: 246.1 kB / 0.5957 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.1806, allocations: 0 / 0.5957 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002373/0.1808, allocations: 47.89 kB / 0.5957 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1808, allocations: 0 / 0.5957 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.1808, allocations: 11.92 kB / 0.5957 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1808, allocations: 0 / 0.5957 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1808, allocations: 0 / 0.5957 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007363/0.1816, allocations: 319.3 kB / 0.596 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.845e-05/0.1816, allocations: 81.02 kB / 0.5961 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.1817, allocations: 7.938 kB / 0.5961 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003256/0.182, allocations: 43.95 kB / 0.5961 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.182, allocations: 7.984 kB / 0.5962 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.1821, allocations: 4 kB / 0.5962 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.931e-05/0.1821, allocations: 113.7 kB / 0.5963 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1821, allocations: 0 / 0.5963 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002595/0.1824, allocations: 24 kB / 0.5963 GB, free: 10.39 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 (6): * Single equations (assignments): 6 * 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.000121/0.1825, allocations: 99.19 kB / 0.5964 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00071/0.1832, allocations: 199.8 kB / 0.5966 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1833, allocations: 0 / 0.5966 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003411/0.1836, allocations: 104 kB / 0.5967 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.1839, allocations: 7.984 kB / 0.5967 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006912/0.1846, allocations: 343.9 kB / 0.597 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.1849, allocations: 0.6965 MB / 0.5977 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.621e-05/0.1849, allocations: 19.42 kB / 0.5977 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of SimCode: time 4.91e-07/0.1849, allocations: 0 / 0.5977 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of Templates: time 0.002936/0.1879, allocations: 1.58 MB / 0.5993 GB, free: 7.301 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)