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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001881/0.001881, allocations: 181.3 kB / 13.23 MB, free: 2.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.424/2.424, allocations: 221.4 MB / 235.1 MB, free: 14.43 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 94.03 kB / 286.1 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.1222/0.1222, allocations: 11.9 MB / 348.9 MB, free: 14.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.48e-05/5.494e-05, allocations: 4 kB / 410.2 MB, free: 58.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2099, allocations: 53.35 MB / 463.6 MB, free: 4.793 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8239/1.034, allocations: 81.42 MB / 0.5322 GB, free: 1.824 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004281/1.034, allocations: 78.48 kB / 0.5323 GB, free: 1.789 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008354/1.043, allocations: 1.663 MB / 0.5339 GB, free: 348 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.645e-06/1.043, allocations: 0 / 0.5339 GB, free: 348 kB / 346.7 MB Notification: Performance of Transformations before backend: time 1.606e-05/1.043, allocations: 0.7812 kB / 0.5339 GB, free: 348 kB / 346.7 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.0005888/1.044, allocations: 421 kB / 0.5343 GB, free: 15.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001007/1.044, allocations: 8.031 kB / 0.5343 GB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.596e-05/1.044, allocations: 38.12 kB / 0.5344 GB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.372e-05/1.044, allocations: 7.906 kB / 0.5344 GB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003867/1.044, allocations: 193.2 kB / 0.5345 GB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/1.044, allocations: 7.984 kB / 0.5346 GB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/1.044, allocations: 4 kB / 0.5346 GB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005078/1.045, allocations: 168.8 kB / 0.5347 GB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/1.045, allocations: 3.984 kB / 0.5347 GB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/1.045, allocations: 4 kB / 0.5347 GB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.423e-05/1.045, allocations: 3.984 kB / 0.5347 GB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/1.045, allocations: 27 kB / 0.5348 GB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00065/1.046, allocations: 294.4 kB / 0.535 GB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003873/1.046, allocations: 151.9 kB / 0.5352 GB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/1.046, allocations: 40.88 kB / 0.5352 GB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000174/1.046, allocations: 85.14 kB / 0.5353 GB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.475e-05/1.047, allocations: 34.56 kB / 0.5353 GB, free: 14.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 2.795e-06/1.047, allocations: 4 kB / 0.5353 GB, free: 14.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004555/1.047, allocations: 146.6 kB / 0.5355 GB, free: 14.58 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/1.047, allocations: 136.2 kB / 0.5356 GB, free: 14.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/1.047, allocations: 111.7 kB / 0.5357 GB, free: 14.31 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/1.047, allocations: 25.7 kB / 0.5357 GB, free: 14.28 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.98e-05/1.048, allocations: 99.73 kB / 0.5358 GB, free: 14.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.233e-05/1.048, allocations: 11.77 kB / 0.5358 GB, free: 14.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.266e-05/1.048, allocations: 8.031 kB / 0.5359 GB, free: 14.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002178/1.048, allocations: 315.8 kB / 0.5362 GB, free: 13.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.256e-05/1.048, allocations: 11.69 kB / 0.5362 GB, free: 13.85 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/1.048, allocations: 57.75 kB / 0.5362 GB, free: 13.78 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/1.048, allocations: 79.2 kB / 0.5363 GB, free: 13.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.606e-05/1.048, allocations: 7.953 kB / 0.5363 GB, free: 13.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003375/1.049, allocations: 155.4 kB / 0.5364 GB, free: 13.53 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.664e-05/1.049, allocations: 55.41 kB / 0.5365 GB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/1.049, allocations: 4.219 kB / 0.5365 GB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.168e-05/1.049, allocations: 4 kB / 0.5365 GB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/1.049, allocations: 19.92 kB / 0.5365 GB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/1.049, allocations: 0 / 0.5365 GB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.655e-05/1.049, allocations: 8.062 kB / 0.5365 GB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/1.049, allocations: 7.469 kB / 0.5365 GB, free: 13.42 MB / 362.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000165/1.049, allocations: 173 kB / 0.5367 GB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/1.049, allocations: 71.72 kB / 0.5368 GB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.239e-05/1.049, allocations: 11.91 kB / 0.5368 GB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/1.049, allocations: 0 / 0.5368 GB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/1.05, allocations: 4 kB / 0.5368 GB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/1.05, allocations: 0 / 0.5368 GB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003229/1.05, allocations: 180.4 kB / 0.537 GB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.05, allocations: 0 / 0.537 GB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.674e-05/1.05, allocations: 15.94 kB / 0.537 GB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/1.05, allocations: 0 / 0.537 GB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/1.05, allocations: 4 kB / 0.537 GB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/1.05, allocations: 0 / 0.537 GB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.05, allocations: 0 / 0.537 GB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004875/1.051, allocations: 283.3 kB / 0.5373 GB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.441e-05/1.051, allocations: 88.2 kB / 0.5373 GB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/1.051, allocations: 7.984 kB / 0.5373 GB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.489e-05/1.051, allocations: 0 / 0.5373 GB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.017e-05/1.051, allocations: 7.125 kB / 0.5374 GB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/1.051, allocations: 4 kB / 0.5374 GB, free: 12.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001219/1.051, allocations: 98.02 kB / 0.5374 GB, free: 12.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.051, allocations: 4 kB / 0.5375 GB, free: 12.42 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005553/1.052, allocations: 27.19 kB / 0.5375 GB, free: 12.4 MB / 362.7 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) * 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 (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.001748/1.053, allocations: 1.011 MB / 0.5385 GB, free: 11.42 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003899/1.054, allocations: 171.6 kB / 0.5386 GB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/1.054, allocations: 0 / 0.5386 GB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001376/1.054, allocations: 121.6 kB / 0.5387 GB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/1.054, allocations: 32.7 kB / 0.5388 GB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002303/1.057, allocations: 393.6 kB / 0.5392 GB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004493/1.057, allocations: 0.6967 MB / 0.5398 GB, free: 9.988 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.951e-05/1.057, allocations: 19.92 kB / 0.5399 GB, free: 9.969 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.65e-05/1.057, allocations: 13.5 kB / 0.5399 GB, free: 9.961 MB / 362.7 MB Notification: Performance of SimCode: time 7.51e-07/1.057, allocations: 0 / 0.5399 GB, free: 9.961 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03381/1.091, allocations: 2.249 MB / 0.5421 GB, free: 7.879 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003855/1.092, allocations: 219.6 kB / 0.5423 GB, free: 7.656 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.032/4.124, allocations: 0 / 0.5423 GB, free: 7.656 MB / 362.7 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/linux/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)