Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.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/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-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(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestRandomRealSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestRandomRealSource",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.00102/0.00102, allocations: 103.3 kB / 16.31 MB, free: 6.391 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.001129/0.001129, allocations: 190.6 kB / 17.24 MB, free: 5.922 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.203/1.203, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05428/0.05428, allocations: 12.03 MB / 303.1 MB, free: 3.219 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 71.83 kB / 366.6 MB, free: 3.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1853, allocations: 52.32 MB / 418.9 MB, free: 21.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.002757/0.1881, allocations: 2.229 MB / 421.1 MB, free: 18.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002254/0.1884, allocations: 147.5 kB / 421.3 MB, free: 18.74 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.972e-05/0.1884, allocations: 11.88 kB / 421.3 MB, free: 18.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.1886, allocations: 15.86 kB / 421.3 MB, free: 18.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.495e-05/0.1886, allocations: 11.88 kB / 421.3 MB, free: 18.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001952/0.1888, allocations: 59.86 kB / 421.4 MB, free: 18.64 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.189, allocations: 63.84 kB / 421.4 MB, free: 18.58 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.81e-05/0.1891, allocations: 20 kB / 421.4 MB, free: 18.56 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.234e-05/0.1891, allocations: 23.86 kB / 421.5 MB, free: 18.54 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.556e-05/0.1892, allocations: 31.84 kB / 421.5 MB, free: 18.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.1892, allocations: 8 kB / 421.5 MB, free: 18.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.228e-05/0.1892, allocations: 27.98 kB / 421.5 MB, free: 18.47 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.747e-05/0.1893, allocations: 11.94 kB / 421.5 MB, free: 18.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.185e-05/0.1893, allocations: 31.84 kB / 421.6 MB, free: 18.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001263/0.1895, allocations: 95.7 kB / 421.7 MB, free: 18.33 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.1895, allocations: 0 / 421.7 MB, free: 18.33 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1895, allocations: 0 / 421.7 MB, free: 18.33 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.1895, allocations: 0 / 421.7 MB, free: 18.33 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0002951/0.1898, allocations: 432.9 kB / 422.1 MB, free: 17.85 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.1898, allocations: 8.031 kB / 422.1 MB, free: 17.84 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.484e-05/0.1898, allocations: 46.72 kB / 422.1 MB, free: 17.79 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.1899, allocations: 8.844 kB / 422.2 MB, free: 17.78 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.19, allocations: 192.2 kB / 422.3 MB, free: 17.55 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.19, allocations: 8.375 kB / 422.4 MB, free: 17.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.1901, allocations: 8.375 kB / 422.4 MB, free: 17.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.1903, allocations: 165.4 kB / 422.5 MB, free: 17.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.1903, allocations: 3.938 kB / 422.5 MB, free: 17.35 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.1903, allocations: 4 kB / 422.5 MB, free: 17.35 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.1904, allocations: 8 kB / 422.5 MB, free: 17.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.851e-05/0.1904, allocations: 27.97 kB / 422.6 MB, free: 17.31 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002469/0.1907, allocations: 289.7 kB / 422.8 MB, free: 16.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.1908, allocations: 146.3 kB / 423 MB, free: 16.8 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.561e-05/0.1909, allocations: 57.66 kB / 423 MB, free: 16.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.854e-05/0.191, allocations: 89.08 kB / 423.1 MB, free: 16.63 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.241e-05/0.191, allocations: 30.56 kB / 423.2 MB, free: 16.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.243e-06/0.191, allocations: 0 / 423.2 MB, free: 16.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002635/0.1913, allocations: 176.9 kB / 423.3 MB, free: 16.4 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.1914, allocations: 128.5 kB / 423.5 MB, free: 16.24 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.6e-05/0.1914, allocations: 129.7 kB / 423.6 MB, free: 16.11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.1914, allocations: 29.7 kB / 423.6 MB, free: 16.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.044e-05/0.1915, allocations: 92.12 kB / 423.7 MB, free: 15.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.32e-05/0.1915, allocations: 11.84 kB / 423.7 MB, free: 15.96 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.1916, allocations: 21.72 kB / 423.7 MB, free: 15.94 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.275e-05/0.1916, allocations: 322.8 kB / 424.1 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.67e-05/0.1916, allocations: 19.98 kB / 424.1 MB, free: 15.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.121e-05/0.1917, allocations: 57.95 kB / 424.1 MB, free: 15.52 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.608e-05/0.1918, allocations: 184.8 kB / 424.3 MB, free: 15.29 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1918, allocations: 0 / 424.3 MB, free: 15.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001503/0.1919, allocations: 160.8 kB / 424.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.192, allocations: 59.41 kB / 424.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.192, allocations: 0 / 424.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.192, allocations: 7.938 kB / 424.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.895e-05/0.192, allocations: 8.094 kB / 424.5 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1921, allocations: 4.156 kB / 424.5 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.813e-05/0.1921, allocations: 11.91 kB / 424.6 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.1921, allocations: 11.98 kB / 424.6 MB, free: 15 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (synchronizeRealtime.initialized) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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 6.509e-05/0.1922, allocations: 173.2 kB / 424.7 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.925e-05/0.1923, allocations: 73.53 kB / 424.8 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.551e-05/0.1923, allocations: 7.953 kB / 424.8 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1923, allocations: 4 kB / 424.8 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1923, allocations: 0 / 424.8 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1923, allocations: 320 / 424.8 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.1924, allocations: 185.5 kB / 425 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1924, allocations: 8 kB / 425 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.976e-05/0.1925, allocations: 8 kB / 425 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1925, allocations: 3.938 kB / 425 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.1925, allocations: 7.984 kB / 425 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1925, allocations: 0 / 425 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1925, allocations: 0 / 425 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.1927, allocations: 263.6 kB / 425.3 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.78e-05/0.1927, allocations: 85.11 kB / 425.4 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.1928, allocations: 4.141 kB / 425.4 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.98e-05/0.1928, allocations: 4 kB / 425.4 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.512e-05/0.1928, allocations: 11.97 kB / 425.4 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.1928, allocations: 0 / 425.4 MB, free: 14.05 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.17e-05/0.1929, allocations: 99.27 kB / 425.5 MB, free: 13.95 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1929, allocations: 0 / 425.5 MB, free: 13.95 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002495/0.1931, allocations: 19.91 kB / 425.5 MB, free: 13.93 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (synchronizeRealtime.initialized) * Number of discrete states: 1 (synchronizeRealtime.initialized) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 2 * 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.0006171/0.1938, allocations: 0.9375 MB / 426.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001674/0.1939, allocations: 166.7 kB / 426.6 MB, free: 12.83 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.194, allocations: 4 kB / 426.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.665e-05/0.194, allocations: 122.8 kB / 426.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.1943, allocations: 32.47 kB / 426.8 MB, free: 12.65 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009666/0.1953, allocations: 1.56 MB / 428.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.1954, allocations: 0.6969 MB / 429 MB, free: 10.23 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.832e-05/0.1954, allocations: 11.98 kB / 429 MB, free: 10.22 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.648e-05/0.1955, allocations: 19.42 kB / 429.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1955, allocations: 0 / 429.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01677/0.2122, allocations: 2.479 MB / 431.5 MB, free: 7.848 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.164/7.376, allocations: 17.95 kB / 431.5 MB, free: 7.832 MB / 302.1 MB (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestRandomRealSource_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestRandomRealSource.fmu > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.pipe 2>&1)