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.0006933/0.0006933, allocations: 97.72 kB / 16.06 MB, free: 40 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007212/0.0007212, allocations: 183 kB / 16.96 MB, free: 6.891 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.206/1.206, allocations: 223.2 MB / 241 MB, free: 5.359 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.1659/0.1659, allocations: 12.03 MB / 304.2 MB, free: 1.574 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000266/0.000266, allocations: 8 kB / 368.4 MB, free: 8.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08561/0.08589, allocations: 53.35 MB / 421.7 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.002347/0.08827, allocations: 1.917 MB / 423.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00026/0.08854, allocations: 147.4 kB / 423.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.825e-05/0.0886, allocations: 0 / 423.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001322/0.08875, allocations: 35.84 kB / 423.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.101e-05/0.08882, allocations: 3.938 kB / 423.8 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00018/0.08901, allocations: 43.95 kB / 423.9 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000113/0.08913, allocations: 71.7 kB / 423.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.618e-05/0.08923, allocations: 15.98 kB / 424 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.571e-05/0.08927, allocations: 19.92 kB / 424 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.572e-05/0.08933, allocations: 31.78 kB / 424 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.08936, allocations: 4 kB / 424 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.232e-05/0.08942, allocations: 23.98 kB / 424 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.037e-05/0.08946, allocations: 15.94 kB / 424 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.735e-05/0.08952, allocations: 49.52 kB / 424.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.08967, allocations: 91.73 kB / 424.2 MB, free: 1.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.08968, allocations: 0 / 424.2 MB, free: 1.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.08969, allocations: 0 / 424.2 MB, free: 1.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.916e-06/0.08969, allocations: 0 / 424.2 MB, free: 1.117 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.0003595/0.09006, allocations: 415 kB / 424.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.0901, allocations: 12.03 kB / 424.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.803e-05/0.09014, allocations: 38.73 kB / 424.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.13e-05/0.09018, allocations: 8.844 kB / 424.7 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.09037, allocations: 200.1 kB / 424.8 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.09039, allocations: 8.375 kB / 424.9 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.09041, allocations: 8.312 kB / 424.9 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002743/0.09069, allocations: 160.8 kB / 425 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.09071, allocations: 7.938 kB / 425 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.09073, allocations: 0 / 425 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/0.09075, allocations: 4 kB / 425 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.419e-05/0.09082, allocations: 31.92 kB / 425.1 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1478/0.2386, allocations: 276.4 kB / 425.3 MB, free: 38.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.2388, allocations: 159.2 kB / 425.5 MB, free: 38.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.127e-05/0.2389, allocations: 40.92 kB / 425.5 MB, free: 38.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001106/0.239, allocations: 84 kB / 425.6 MB, free: 38.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.2391, allocations: 34.66 kB / 425.6 MB, free: 38.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.663e-06/0.2391, allocations: 0 / 425.6 MB, free: 38.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002745/0.2393, allocations: 172.2 kB / 425.8 MB, free: 38.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.2394, allocations: 135.9 kB / 425.9 MB, free: 38.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.81e-05/0.2395, allocations: 129.5 kB / 426.1 MB, free: 38.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.2395, allocations: 27.42 kB / 426.1 MB, free: 38.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.119e-05/0.2395, allocations: 93.16 kB / 426.2 MB, free: 38.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.303e-05/0.2395, allocations: 12.05 kB / 426.2 MB, free: 38.13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.253e-05/0.2396, allocations: 18.84 kB / 426.2 MB, free: 38.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.488e-05/0.2396, allocations: 318.6 kB / 426.5 MB, free: 37.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.516e-05/0.2396, allocations: 15.14 kB / 426.5 MB, free: 37.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.257e-05/0.2397, allocations: 60.95 kB / 426.6 MB, free: 37.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.696e-05/0.2398, allocations: 181.9 kB / 426.8 MB, free: 37.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2398, allocations: 1.594 kB / 426.8 MB, free: 37.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001561/0.24, allocations: 158.9 kB / 426.9 MB, free: 37.47 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.24, allocations: 60.94 kB / 427 MB, free: 37.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.24, allocations: 2.656 kB / 427 MB, free: 37.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.24, allocations: 1.438 kB / 427 MB, free: 37.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.383e-05/0.2401, allocations: 14.92 kB / 427 MB, free: 37.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.2401, allocations: 2.531 kB / 427 MB, free: 37.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.098e-05/0.2401, allocations: 10.64 kB / 427 MB, free: 37.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.2401, allocations: 7.906 kB / 427 MB, free: 37.41 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 7.034e-05/0.2402, allocations: 186.7 kB / 427.2 MB, free: 37.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.258e-05/0.2403, allocations: 69.03 kB / 427.3 MB, free: 37.19 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.041e-05/0.2403, allocations: 8.547 kB / 427.3 MB, free: 37.19 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2403, allocations: 1.312 kB / 427.3 MB, free: 37.19 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2404, allocations: 1.922 kB / 427.3 MB, free: 37.19 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2404, allocations: 2 kB / 427.3 MB, free: 37.19 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.2405, allocations: 178.1 kB / 427.5 MB, free: 37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2405, allocations: 3.938 kB / 427.5 MB, free: 37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.012e-05/0.2405, allocations: 14.47 kB / 427.5 MB, free: 37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2405, allocations: 0 / 427.5 MB, free: 37 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.2406, allocations: 5.188 kB / 427.5 MB, free: 37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2406, allocations: 0 / 427.5 MB, free: 37 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.2406, allocations: 3.281 kB / 427.5 MB, free: 37 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.2408, allocations: 262 kB / 427.8 MB, free: 36.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.831e-05/0.2408, allocations: 96.48 kB / 427.9 MB, free: 36.69 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.2408, allocations: 10.05 kB / 427.9 MB, free: 36.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.729e-05/0.2409, allocations: 0 / 427.9 MB, free: 36.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.172e-05/0.2409, allocations: 8.359 kB / 427.9 MB, free: 36.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.2409, allocations: 4.062 kB / 427.9 MB, free: 36.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.334e-05/0.2409, allocations: 100.6 kB / 428 MB, free: 36.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2409, allocations: 0 / 428 MB, free: 36.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000246/0.2412, allocations: 18.61 kB / 428 MB, free: 36.61 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.0006182/0.2418, allocations: 0.9328 MB / 428.9 MB, free: 35.87 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.242, allocations: 172.7 kB / 429.1 MB, free: 35.74 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.242, allocations: 4.125 kB / 429.1 MB, free: 35.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.47e-05/0.242, allocations: 120 kB / 429.2 MB, free: 35.61 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.2423, allocations: 33.88 kB / 429.2 MB, free: 35.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.2433, allocations: 1.579 MB / 430.8 MB, free: 34.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.2434, allocations: 0.6947 MB / 431.5 MB, free: 33.55 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.987e-05/0.2435, allocations: 12.28 kB / 431.5 MB, free: 33.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.2435, allocations: 18.67 kB / 431.5 MB, free: 33.54 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2435, allocations: 0 / 431.5 MB, free: 33.54 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01051/0.254, allocations: 2.263 MB / 433.8 MB, free: 33.29 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001483/0.2542, allocations: 273.7 kB / 434.1 MB, free: 32.92 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.552/1.807, allocations: 0 / 434.1 MB, free: 32.92 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)