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.003715/0.003715, allocations: 89.48 kB / 15.91 MB, free: 6.312 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.0009759/0.000976, allocations: 195.1 kB / 16.83 MB, free: 6.242 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.228/1.228, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.1675/0.1675, allocations: 12.01 MB / 302.7 MB, free: 0.9883 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 63.91 kB / 365.9 MB, free: 9.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08631/0.08744, allocations: 52.32 MB / 418.2 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.003181/0.09066, allocations: 2.27 MB / 420.5 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002703/0.09094, allocations: 151.5 kB / 420.6 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.884e-05/0.09101, allocations: 3.938 kB / 420.6 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001462/0.09117, allocations: 15.92 kB / 420.6 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.394e-05/0.09126, allocations: 15.92 kB / 420.7 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001807/0.09145, allocations: 39.91 kB / 420.7 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000123/0.09158, allocations: 59.78 kB / 420.8 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.774e-05/0.09168, allocations: 27.97 kB / 420.8 MB, free: 3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.733e-05/0.09173, allocations: 23.92 kB / 420.8 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.822e-05/0.09179, allocations: 27.84 kB / 420.8 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.09182, allocations: 4 kB / 420.8 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.691e-05/0.09189, allocations: 24 kB / 420.9 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.634e-05/0.09193, allocations: 23.84 kB / 420.9 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.742e-05/0.09198, allocations: 27.81 kB / 420.9 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.09214, allocations: 79.77 kB / 421 MB, free: 2.793 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.09215, allocations: 0 / 421 MB, free: 2.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.09216, allocations: 4 kB / 421 MB, free: 2.789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.09216, allocations: 0 / 421 MB, free: 2.789 MB / 350.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.0004117/0.09258, allocations: 431 kB / 421.4 MB, free: 2.305 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.09262, allocations: 12.03 kB / 421.4 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.52e-05/0.09266, allocations: 38.73 kB / 421.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.0927, allocations: 12.84 kB / 421.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.09289, allocations: 192.1 kB / 421.7 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.09291, allocations: 20.31 kB / 421.7 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.09294, allocations: 4.375 kB / 421.7 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000293/0.09323, allocations: 157.6 kB / 421.8 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.09325, allocations: 3.938 kB / 421.8 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.09327, allocations: 0 / 421.8 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.09329, allocations: 4 kB / 421.8 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.691e-05/0.09336, allocations: 31.92 kB / 421.9 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003343/0.0937, allocations: 293.6 kB / 422.2 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.09392, allocations: 158.2 kB / 422.3 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.294e-05/0.094, allocations: 45.72 kB / 422.4 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/0.09411, allocations: 81.11 kB / 422.4 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.09414, allocations: 34.56 kB / 422.5 MB, free: 1.051 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.09414, allocations: 0 / 422.5 MB, free: 1.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002974/0.09445, allocations: 177 kB / 422.7 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.121e-05/0.09453, allocations: 132.5 kB / 422.8 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.228e-05/0.09461, allocations: 129.7 kB / 422.9 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.09463, allocations: 25.7 kB / 422.9 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.041e-05/0.09469, allocations: 92.14 kB / 423 MB, free: 448 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.453e-05/0.09471, allocations: 11.8 kB / 423 MB, free: 436 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.09475, allocations: 25.75 kB / 423.1 MB, free: 404 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.184e-05/0.09485, allocations: 326.8 kB / 423.4 MB, free: 68 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.788e-05/0.0949, allocations: 12 kB / 423.4 MB, free: 56 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1485/0.2434, allocations: 61.94 kB / 423.4 MB, free: 41.69 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.2436, allocations: 176.4 kB / 423.6 MB, free: 41.51 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.2436, allocations: 0 / 423.6 MB, free: 41.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002092/0.2438, allocations: 158.7 kB / 423.8 MB, free: 41.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.445e-05/0.2439, allocations: 59.94 kB / 423.8 MB, free: 41.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2439, allocations: 3.359 kB / 423.8 MB, free: 41.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.2439, allocations: 3.781 kB / 423.8 MB, free: 41.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.457e-05/0.244, allocations: 15.52 kB / 423.9 MB, free: 41.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.244, allocations: 0 / 423.9 MB, free: 41.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.229e-05/0.2441, allocations: 14.03 kB / 423.9 MB, free: 41.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.2441, allocations: 4.344 kB / 423.9 MB, free: 41.36 MB / 350.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 9.057e-05/0.2442, allocations: 182.5 kB / 424.1 MB, free: 41.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.305e-05/0.2443, allocations: 65.59 kB / 424.1 MB, free: 41.15 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.444e-05/0.2443, allocations: 8.953 kB / 424.1 MB, free: 41.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.2443, allocations: 4.156 kB / 424.1 MB, free: 41.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2443, allocations: 0.9688 kB / 424.1 MB, free: 41.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.2443, allocations: 0.6094 kB / 424.1 MB, free: 41.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.2445, allocations: 184.9 kB / 424.3 MB, free: 40.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.2445, allocations: 1.484 kB / 424.3 MB, free: 40.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.22e-05/0.2445, allocations: 10.47 kB / 424.3 MB, free: 40.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.2445, allocations: 2.219 kB / 424.3 MB, free: 40.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.2445, allocations: 4.844 kB / 424.3 MB, free: 40.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2446, allocations: 0.7812 kB / 424.3 MB, free: 40.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2446, allocations: 2.781 kB / 424.3 MB, free: 40.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.2448, allocations: 266.3 kB / 424.6 MB, free: 40.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.152e-05/0.2448, allocations: 83.58 kB / 424.7 MB, free: 40.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.2448, allocations: 4.625 kB / 424.7 MB, free: 40.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.054e-05/0.2449, allocations: 3.781 kB / 424.7 MB, free: 40.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.521e-05/0.2449, allocations: 6.922 kB / 424.7 MB, free: 40.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.2449, allocations: 4.719 kB / 424.7 MB, free: 40.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.705e-05/0.245, allocations: 102.4 kB / 424.8 MB, free: 40.58 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.245, allocations: 0 / 424.8 MB, free: 40.58 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002779/0.2452, allocations: 21.78 kB / 424.8 MB, free: 40.58 MB / 350.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.0006895/0.2459, allocations: 0.9363 MB / 425.8 MB, free: 39.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001857/0.2461, allocations: 171.5 kB / 425.9 MB, free: 39.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2461, allocations: 0.5625 kB / 425.9 MB, free: 39.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.918e-05/0.2462, allocations: 125.9 kB / 426 MB, free: 39.61 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.2465, allocations: 32.58 kB / 426.1 MB, free: 39.6 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.2476, allocations: 1.586 MB / 427.7 MB, free: 38.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.2478, allocations: 0.6921 MB / 428.4 MB, free: 37.56 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.679e-05/0.2478, allocations: 13.17 kB / 428.4 MB, free: 37.56 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.841e-05/0.2478, allocations: 20.02 kB / 428.4 MB, free: 37.55 MB / 350.1 MB Notification: Performance of SimCode: time 1.91e-07/0.2478, allocations: 0 / 428.4 MB, free: 37.55 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01103/0.2589, allocations: 2.374 MB / 430.8 MB, free: 37.2 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001726/0.2591, allocations: 275.3 kB / 431 MB, free: 36.83 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.622/1.881, allocations: 0 / 431 MB, free: 36.83 MB / 350.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)