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.0009773/0.0009773, allocations: 103.8 kB / 16.03 MB, free: 6.309 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.001018/0.001018, allocations: 193.4 kB / 16.95 MB, free: 6.148 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.6 MB, free: 15.43 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.05178/0.05178, allocations: 12.05 MB / 302.8 MB, free: 3.359 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 64.12 kB / 366.1 MB, free: 4.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1884, allocations: 52.32 MB / 418.4 MB, free: 21.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.002816/0.1912, allocations: 2.275 MB / 420.7 MB, free: 18.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002162/0.1915, allocations: 131.5 kB / 420.8 MB, free: 18.85 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.503e-05/0.1916, allocations: 4 kB / 420.8 MB, free: 18.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001513/0.1917, allocations: 27.84 kB / 420.8 MB, free: 18.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.186e-05/0.1918, allocations: 8.406 kB / 420.8 MB, free: 18.81 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.192, allocations: 55.23 kB / 420.9 MB, free: 18.76 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.1921, allocations: 71.81 kB / 420.9 MB, free: 18.69 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.736e-05/0.1922, allocations: 20 kB / 421 MB, free: 18.67 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.669e-05/0.1923, allocations: 27.86 kB / 421 MB, free: 18.64 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.015e-05/0.1923, allocations: 31.84 kB / 421 MB, free: 18.61 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.1924, allocations: 4 kB / 421 MB, free: 18.61 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.125e-05/0.1924, allocations: 27.98 kB / 421.1 MB, free: 18.58 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.776e-05/0.1925, allocations: 14.25 kB / 421.1 MB, free: 18.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.959e-05/0.1925, allocations: 31.86 kB / 421.1 MB, free: 18.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.1927, allocations: 95.69 kB / 421.2 MB, free: 18.44 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1927, allocations: 0 / 421.2 MB, free: 18.44 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1927, allocations: 0 / 421.2 MB, free: 18.44 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.1927, allocations: 0 / 421.2 MB, free: 18.44 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.0003142/0.193, allocations: 433 kB / 421.6 MB, free: 17.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.193, allocations: 8.031 kB / 421.6 MB, free: 17.95 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.949e-05/0.1931, allocations: 42.73 kB / 421.7 MB, free: 17.9 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.1931, allocations: 12.78 kB / 421.7 MB, free: 17.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.1933, allocations: 192.2 kB / 421.9 MB, free: 17.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.1933, allocations: 8.375 kB / 421.9 MB, free: 17.65 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.1933, allocations: 4.375 kB / 421.9 MB, free: 17.65 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002443/0.1935, allocations: 161.5 kB / 422 MB, free: 17.47 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.1936, allocations: 3.938 kB / 422 MB, free: 17.47 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.1936, allocations: 7.938 kB / 422 MB, free: 17.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.1936, allocations: 0 / 422 MB, free: 17.46 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.842e-05/0.1937, allocations: 27.98 kB / 422.1 MB, free: 17.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002412/0.1939, allocations: 289.8 kB / 422.4 MB, free: 17.1 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.1941, allocations: 158.2 kB / 422.5 MB, free: 16.91 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.476e-05/0.1942, allocations: 41.77 kB / 422.6 MB, free: 16.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.224e-05/0.1942, allocations: 85.09 kB / 422.6 MB, free: 16.76 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.595e-05/0.1943, allocations: 42.5 kB / 422.7 MB, free: 16.71 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.754e-06/0.1943, allocations: 0 / 422.7 MB, free: 16.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002593/0.1945, allocations: 176.9 kB / 422.9 MB, free: 16.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.1946, allocations: 132.5 kB / 423 MB, free: 16.36 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.113e-05/0.1947, allocations: 122.1 kB / 423.1 MB, free: 16.23 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.1947, allocations: 33.69 kB / 423.1 MB, free: 16.19 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.963e-05/0.1947, allocations: 88.14 kB / 423.2 MB, free: 16.1 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.263e-05/0.1947, allocations: 15.83 kB / 423.2 MB, free: 16.08 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/0.1948, allocations: 29.73 kB / 423.3 MB, free: 16.05 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.636e-05/0.1948, allocations: 318.8 kB / 423.6 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.567e-05/0.1948, allocations: 15.98 kB / 423.6 MB, free: 15.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.139e-05/0.1949, allocations: 58 kB / 423.6 MB, free: 15.63 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.404e-05/0.195, allocations: 184.7 kB / 423.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.195, allocations: 4.094 kB / 423.8 MB, free: 15.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001468/0.1951, allocations: 164.8 kB / 424 MB, free: 15.22 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.1952, allocations: 57.12 kB / 424 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.1952, allocations: 4 kB / 424.1 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.1952, allocations: 0 / 424.1 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.916e-05/0.1952, allocations: 15.98 kB / 424.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.1952, allocations: 4.188 kB / 424.1 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.842e-05/0.1953, allocations: 11.91 kB / 424.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.1953, allocations: 8 kB / 424.1 MB, free: 15.11 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.775e-05/0.1954, allocations: 177.4 kB / 424.3 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.65e-05/0.1955, allocations: 69.59 kB / 424.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.619e-05/0.1955, allocations: 11.95 kB / 424.3 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1955, allocations: 4 kB / 424.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1955, allocations: 3.938 kB / 424.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1955, allocations: 0 / 424.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.1956, allocations: 181.5 kB / 424.5 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1956, allocations: 0 / 424.5 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.944e-05/0.1957, allocations: 11.98 kB / 424.5 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.1957, allocations: 0 / 424.5 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.1957, allocations: 4 kB / 424.5 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1957, allocations: 7.938 kB / 424.6 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1957, allocations: 0 / 424.6 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.1959, allocations: 259.6 kB / 424.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.637e-05/0.1959, allocations: 81.11 kB / 424.9 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.1959, allocations: 7.984 kB / 424.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.844e-05/0.196, allocations: 7.938 kB / 424.9 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.937e-05/0.196, allocations: 0 / 424.9 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.196, allocations: 12 kB / 424.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.927e-05/0.196, allocations: 99.31 kB / 425 MB, free: 14.06 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.196, allocations: 0 / 425 MB, free: 14.06 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002764/0.1963, allocations: 27.91 kB / 425 MB, free: 14.04 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.0005722/0.1969, allocations: 0.9347 MB / 426 MB, free: 13.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001603/0.1971, allocations: 178.7 kB / 426.1 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1971, allocations: 0 / 426.1 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.626e-05/0.1971, allocations: 122.8 kB / 426.3 MB, free: 12.78 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.1974, allocations: 32.02 kB / 426.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.1984, allocations: 1.573 MB / 427.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.1985, allocations: 0.693 MB / 428.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.032e-05/0.1986, allocations: 11.92 kB / 428.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.768e-05/0.1986, allocations: 27.42 kB / 428.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1986, allocations: 0 / 428.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3606/0.5593, allocations: 2.44 MB / 431 MB, free: 8.02 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/0.5595, allocations: 279.6 kB / 431.3 MB, free: 7.641 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.615/2.174, allocations: 0 / 431.3 MB, free: 7.641 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)