Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00496/0.00496, allocations: 97.69 kB / 15.73 MB, free: 6.055 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.001217/0.001217, allocations: 198.7 kB / 16.68 MB, free: 5.961 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8294/0.8294, allocations: 132.2 MB / 422.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 64.25 kB / 0.5809 GB, free: 23.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1641, allocations: 80.2 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002893/0.1671, allocations: 1.769 MB / 0.6609 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001047/0.1681, allocations: 0.6631 MB / 0.6616 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.254e-05/0.1682, allocations: 4 kB / 0.6616 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.267e-05/0.1682, allocations: 15.86 kB / 0.6616 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.026e-05/0.1683, allocations: 15.8 kB / 0.6616 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004791/0.1688, allocations: 172.9 kB / 0.6618 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.1689, allocations: 135.6 kB / 0.6619 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.1691, allocations: 37.11 kB / 0.6619 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.1692, allocations: 67.77 kB / 0.662 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.847e-05/0.1693, allocations: 51.77 kB / 0.6621 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.1693, allocations: 8 kB / 0.6621 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.1694, allocations: 43.97 kB / 0.6621 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.146e-05/0.1694, allocations: 35.89 kB / 0.6621 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.748e-05/0.1695, allocations: 51.72 kB / 0.6622 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.1697, allocations: 147.6 kB / 0.6623 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.1697, allocations: 0 / 0.6623 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.21e-07/0.1697, allocations: 4 kB / 0.6623 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.1698, allocations: 0 / 0.6623 GB, free: 7.531 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.0005697/0.1703, allocations: 446.8 kB / 0.6628 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/0.1704, allocations: 8.031 kB / 0.6628 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.269e-05/0.1704, allocations: 42.75 kB / 0.6628 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008402/0.1713, allocations: 116.7 kB / 0.6629 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.1714, allocations: 174.7 kB / 0.6631 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.231e-05/0.1715, allocations: 63.97 kB / 0.6631 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.1715, allocations: 8.375 kB / 0.6632 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005223/0.1721, allocations: 177.3 kB / 0.6633 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.1721, allocations: 0 / 0.6633 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.1721, allocations: 8 kB / 0.6633 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-06/0.1721, allocations: 0 / 0.6633 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007179/0.1728, allocations: 158 kB / 0.6635 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.1739, allocations: 493.6 kB / 0.664 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.175, allocations: 222.3 kB / 0.6642 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003142/0.1754, allocations: 76.91 kB / 0.6642 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.1754, allocations: 4 kB / 0.6642 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.1754, allocations: 34.56 kB / 0.6643 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 3.476e-06/0.1754, allocations: 0 / 0.6643 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.001077/0.1765, allocations: 269.3 kB / 0.6645 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.1766, allocations: 51.41 kB / 0.6646 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.1767, allocations: 137.8 kB / 0.6647 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.1767, allocations: 25.7 kB / 0.6647 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.221e-05/0.1768, allocations: 112.2 kB / 0.6648 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.1768, allocations: 15.89 kB / 0.6649 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.228e-05/0.1769, allocations: 25.7 kB / 0.6649 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.1771, allocations: 318.8 kB / 0.6652 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003289/0.1774, allocations: 79.92 kB / 0.6653 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003315/0.1777, allocations: 90.5 kB / 0.6653 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007563/0.1785, allocations: 170.6 kB / 0.6655 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1785, allocations: 3.938 kB / 0.6655 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007478/0.1793, allocations: 201.4 kB / 0.6657 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.1793, allocations: 8 kB / 0.6657 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.1793, allocations: 7.922 kB / 0.6657 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1793, allocations: 0 / 0.6657 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002698/0.1796, allocations: 39.89 kB / 0.6658 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1796, allocations: 4.062 kB / 0.6658 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.1798, allocations: 27.91 kB / 0.6658 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.1799, allocations: 7.938 kB / 0.6658 GB, free: 3.723 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.0001115/0.18, allocations: 118.7 kB / 0.6659 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/0.18, allocations: 7.953 kB / 0.6659 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007717/0.1808, allocations: 206.2 kB / 0.6661 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.1808, allocations: 4 kB / 0.6661 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.1808, allocations: 0 / 0.6661 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1808, allocations: 3.938 kB / 0.6661 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000289/0.1811, allocations: 242.1 kB / 0.6664 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1811, allocations: 4 kB / 0.6664 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002338/0.1814, allocations: 35.94 kB / 0.6664 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1814, allocations: 0 / 0.6664 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.1814, allocations: 3.938 kB / 0.6664 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1814, allocations: 0 / 0.6664 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1814, allocations: 4 kB / 0.6664 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007777/0.1822, allocations: 283.5 kB / 0.6667 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.519e-05/0.1823, allocations: 89.06 kB / 0.6668 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.1823, allocations: 3.938 kB / 0.6668 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003067/0.1826, allocations: 27.95 kB / 0.6668 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/0.1827, allocations: 11.98 kB / 0.6668 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.548e-05/0.1827, allocations: 11.98 kB / 0.6668 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.613e-05/0.1828, allocations: 105.4 kB / 0.6669 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1828, allocations: 0 / 0.6669 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002582/0.1831, allocations: 27.94 kB / 0.6669 GB, free: 2.449 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.001095/0.1842, allocations: 0.8216 MB / 0.6677 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007101/0.1849, allocations: 163.8 kB / 0.6679 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1849, allocations: 0 / 0.6679 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003326/0.1852, allocations: 79.91 kB / 0.668 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.1856, allocations: 12 kB / 0.668 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003363/0.1889, allocations: 1.83 MB / 0.6698 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004329/0.1894, allocations: 0.7002 MB / 0.6705 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001029/0.1895, allocations: 15.98 kB / 0.6705 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.503e-05/0.1896, allocations: 35.42 kB / 0.6705 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of SimCode: time 2.735e-06/0.1896, allocations: 0 / 0.6705 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02477/0.2144, allocations: 2.753 MB / 0.6732 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.004/8.218, allocations: 10.17 kB / 0.6732 GB, free: 11.98 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_SmoothBlocks.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)