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: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IDEAS_dev_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.001052/0.001052, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001305/0.001305, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9833/0.9833, allocations: 135.3 MB / 426.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004454/0.0004454, allocations: 16 kB / 0.5071 GB, free: 5.035 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1749, allocations: 82.32 MB / 0.5875 GB, free: 2.887 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.001637/0.1766, allocations: 1.447 MB / 0.5889 GB, free: 1.422 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008769/0.1775, allocations: 0.6091 MB / 0.5895 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.341e-05/0.1776, allocations: 0 / 0.5895 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.831e-05/0.1776, allocations: 3.938 kB / 0.5895 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.051e-05/0.1777, allocations: 23.84 kB / 0.5895 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004803/0.1782, allocations: 139.2 kB / 0.5896 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000125/0.1783, allocations: 107.6 kB / 0.5897 GB, free: 0.543 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.1784, allocations: 49.25 kB / 0.5898 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.85e-05/0.1785, allocations: 47.84 kB / 0.5898 GB, free: 460 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.426e-05/0.1786, allocations: 35.83 kB / 0.5899 GB, free: 424 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.1786, allocations: 8 kB / 0.5899 GB, free: 416 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.842e-05/0.1787, allocations: 39.97 kB / 0.5899 GB, free: 376 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.446e-05/0.1788, allocations: 19.91 kB / 0.5899 GB, free: 356 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.326e-05/0.1788, allocations: 41.64 kB / 0.59 GB, free: 308 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.1789, allocations: 88.05 kB / 0.5901 GB, free: 220 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1789, allocations: 0 / 0.5901 GB, free: 220 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1789, allocations: 0 / 0.5901 GB, free: 220 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.179, allocations: 0 / 0.5901 GB, free: 220 kB / 494.1 MB 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.000518/0.1795, allocations: 423 kB / 0.5905 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.1795, allocations: 12.03 kB / 0.5905 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.411e-05/0.1796, allocations: 42.5 kB / 0.5905 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007547/0.1803, allocations: 135.6 kB / 0.5906 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.1805, allocations: 198.7 kB / 0.5908 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.627e-05/0.1806, allocations: 63.41 kB / 0.5909 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.1806, allocations: 8 kB / 0.5909 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004744/0.1811, allocations: 189.5 kB / 0.5911 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.1811, allocations: 3.938 kB / 0.5911 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.1811, allocations: 4 kB / 0.5911 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1811, allocations: 3.938 kB / 0.5911 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005594/0.1817, allocations: 199.8 kB / 0.5913 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009928/0.1827, allocations: 0.4902 MB / 0.5918 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000906/0.1836, allocations: 266.3 kB / 0.592 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000279/0.1839, allocations: 100.9 kB / 0.5921 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.1839, allocations: 7.969 kB / 0.5921 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.184, allocations: 30.56 kB / 0.5922 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.184, allocations: 0 / 0.5922 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0009265/0.1849, allocations: 325.5 kB / 0.5925 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.1849, allocations: 51.41 kB / 0.5925 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.1851, allocations: 139.5 kB / 0.5926 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.1851, allocations: 25.7 kB / 0.5927 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.81e-05/0.1851, allocations: 112.1 kB / 0.5928 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.1852, allocations: 19.73 kB / 0.5928 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.084e-05/0.1852, allocations: 4 kB / 0.5928 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.182e-05/0.1853, allocations: 318.8 kB / 0.5931 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002773/0.1856, allocations: 91.91 kB / 0.5932 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002804/0.1859, allocations: 114.5 kB / 0.5933 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002837/0.1862, allocations: 95.86 kB / 0.5934 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1862, allocations: 0 / 0.5934 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006158/0.1868, allocations: 237.4 kB / 0.5936 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.1868, allocations: 4 kB / 0.5936 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1868, allocations: 0 / 0.5936 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.1868, allocations: 4.312 kB / 0.5936 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002503/0.1871, allocations: 47.95 kB / 0.5937 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.1871, allocations: 4 kB / 0.5937 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.1873, allocations: 35.88 kB / 0.5937 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.1873, allocations: 7.938 kB / 0.5937 GB, free: 12.22 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.751e-05/0.1874, allocations: 125.8 kB / 0.5938 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.928e-05/0.1875, allocations: 7.906 kB / 0.5938 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006652/0.1881, allocations: 242.1 kB / 0.5941 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.1881, allocations: 0 / 0.5941 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1882, allocations: 0 / 0.5941 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1882, allocations: 0 / 0.5941 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/0.1884, allocations: 242.1 kB / 0.5943 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1884, allocations: 0 / 0.5943 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002155/0.1886, allocations: 47.89 kB / 0.5944 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1886, allocations: 0 / 0.5944 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.1887, allocations: 4 kB / 0.5944 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1887, allocations: 0 / 0.5944 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1887, allocations: 3.984 kB / 0.5944 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006259/0.1893, allocations: 323.2 kB / 0.5947 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.694e-05/0.1893, allocations: 89 kB / 0.5948 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.1894, allocations: 0 / 0.5948 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002796/0.1897, allocations: 43.95 kB / 0.5948 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.1897, allocations: 8 kB / 0.5948 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.1897, allocations: 7.984 kB / 0.5948 GB, free: 11 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.294e-05/0.1898, allocations: 109 kB / 0.5949 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1898, allocations: 0 / 0.5949 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002709/0.1901, allocations: 27.86 kB / 0.5949 GB, free: 10.87 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008716/0.191, allocations: 0.845 MB / 0.5958 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005872/0.1916, allocations: 204 kB / 0.596 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1916, allocations: 0 / 0.596 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00029/0.1919, allocations: 104 kB / 0.5961 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.1922, allocations: 11.5 kB / 0.5961 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/0.194, allocations: 0.9307 MB / 0.597 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.1942, allocations: 0.7043 MB / 0.5977 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.792e-05/0.1943, allocations: 12.19 kB / 0.5977 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.696e-05/0.1944, allocations: 35.41 kB / 0.5977 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1944, allocations: 0 / 0.5977 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0119/0.2063, allocations: 2.405 MB / 0.6001 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002809/0.2067, allocations: 168.1 kB / 0.6002 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.731/1.938, allocations: 0 / 0.6002 GB, free: 5.43 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothBlocks.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) Environment - environmentSimulation: