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.001421/0.001421, allocations: 180.9 kB / 8.049 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 221.5 MB / 230 MB, free: 7.516 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009796/0.0009799, allocations: 97.16 kB / 280.9 MB, free: 5.262 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.04961/0.04961, allocations: 11.91 MB / 343.6 MB, free: 3.48 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.043e-05/2.046e-05, allocations: 1.938 kB / 403.2 MB, free: 45.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1006, allocations: 53.36 MB / 456.6 MB, free: 14.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4131/0.5137, allocations: 80.75 MB / 0.5247 GB, free: 16.61 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/0.5139, allocations: 75.5 kB / 0.5248 GB, free: 16.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00446/0.5184, allocations: 1.681 MB / 0.5264 GB, free: 16.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.5184, allocations: 0 / 0.5264 GB, free: 16.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.5184, allocations: 1.844 kB / 0.5264 GB, free: 16.25 MB / 362.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.0003238/0.5188, allocations: 412.5 kB / 0.5268 GB, free: 15.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.879e-05/0.5188, allocations: 9.594 kB / 0.5269 GB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.461e-05/0.5189, allocations: 8.156 kB / 0.5269 GB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.5191, allocations: 196.8 kB / 0.527 GB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.5191, allocations: 2.156 kB / 0.527 GB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.5192, allocations: 10.97 kB / 0.5271 GB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000109/0.5193, allocations: 25.28 kB / 0.5271 GB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002724/0.5196, allocations: 146 kB / 0.5272 GB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.5196, allocations: 1.406 kB / 0.5272 GB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.5196, allocations: 0 / 0.5272 GB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.31e-05/0.5196, allocations: 11.81 kB / 0.5272 GB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002919/0.5199, allocations: 258.4 kB / 0.5275 GB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.5201, allocations: 150.5 kB / 0.5276 GB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.932e-05/0.5202, allocations: 37.28 kB / 0.5277 GB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.7e-05/0.5203, allocations: 91.39 kB / 0.5277 GB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.5203, allocations: 37.92 kB / 0.5278 GB, free: 14.99 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.5203, allocations: 0 / 0.5278 GB, free: 14.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000282/0.5206, allocations: 83.19 kB / 0.5279 GB, free: 14.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.5207, allocations: 142.7 kB / 0.528 GB, free: 14.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.297e-05/0.5208, allocations: 108 kB / 0.5281 GB, free: 14.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.5208, allocations: 30.8 kB / 0.5281 GB, free: 14.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.407e-05/0.5208, allocations: 94.7 kB / 0.5282 GB, free: 14.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.574e-05/0.5209, allocations: 14.22 kB / 0.5282 GB, free: 14.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.5209, allocations: 3.938 kB / 0.5282 GB, free: 14.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.967e-05/0.5209, allocations: 321.4 kB / 0.5285 GB, free: 14.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.871e-05/0.521, allocations: 13.22 kB / 0.5286 GB, free: 14.26 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.309e-05/0.521, allocations: 57.27 kB / 0.5286 GB, free: 14.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.701e-05/0.5211, allocations: 16.02 kB / 0.5286 GB, free: 14.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.5211, allocations: 0 / 0.5286 GB, free: 14.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000152/0.5212, allocations: 100.3 kB / 0.5287 GB, free: 14.15 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.536e-05/0.5213, allocations: 59.75 kB / 0.5288 GB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.5213, allocations: 1.406 kB / 0.5288 GB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.5213, allocations: 2.5 kB / 0.5288 GB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.325e-05/0.5214, allocations: 18.61 kB / 0.5288 GB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.5214, allocations: 2.531 kB / 0.5288 GB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.831e-05/0.5214, allocations: 3.688 kB / 0.5288 GB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.5214, allocations: 5.438 kB / 0.5288 GB, free: 14.08 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 8.138e-05/0.5215, allocations: 164.1 kB / 0.529 GB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001926/0.5217, allocations: 104 kB / 0.5291 GB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.5218, allocations: 16.5 kB / 0.5291 GB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.491e-05/0.5218, allocations: 7.5 kB / 0.5291 GB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.5218, allocations: 1.719 kB / 0.5291 GB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.5218, allocations: 1.031 kB / 0.5291 GB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.5218, allocations: 0.6562 kB / 0.5291 GB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.522, allocations: 155.8 kB / 0.5292 GB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.522, allocations: 0 / 0.5292 GB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.427e-05/0.522, allocations: 9.766 kB / 0.5293 GB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.522, allocations: 5.578 kB / 0.5293 GB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.522, allocations: 1.656 kB / 0.5293 GB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.5221, allocations: 6.547 kB / 0.5293 GB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.5221, allocations: 3.938 kB / 0.5293 GB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.5223, allocations: 208.9 kB / 0.5295 GB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.062e-05/0.5223, allocations: 89.28 kB / 0.5296 GB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/0.5223, allocations: 1.281 kB / 0.5296 GB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.04e-05/0.5224, allocations: 2.453 kB / 0.5296 GB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.5224, allocations: 14.05 kB / 0.5296 GB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.5225, allocations: 2.656 kB / 0.5296 GB, free: 13.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000536/0.523, allocations: 92.55 kB / 0.5297 GB, free: 29.35 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.523, allocations: 0 / 0.5297 GB, free: 29.35 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002549/0.5233, allocations: 25.7 kB / 0.5297 GB, free: 29.34 MB / 378.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.0009549/0.5242, allocations: 0.9631 MB / 0.5306 GB, free: 28.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001981/0.5244, allocations: 163.1 kB / 0.5308 GB, free: 28.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.5244, allocations: 1 kB / 0.5308 GB, free: 28.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.977e-05/0.5245, allocations: 122.1 kB / 0.5309 GB, free: 28.26 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.5248, allocations: 29.91 kB / 0.5309 GB, free: 28.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.5258, allocations: 379.5 kB / 0.5313 GB, free: 28.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.5261, allocations: 0.6945 MB / 0.532 GB, free: 27.42 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.102e-05/0.5262, allocations: 14.88 kB / 0.532 GB, free: 27.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.163e-05/0.5263, allocations: 20.17 kB / 0.532 GB, free: 27.41 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.5263, allocations: 0 / 0.532 GB, free: 27.41 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02356/0.5498, allocations: 1.887 MB / 0.5338 GB, free: 27.19 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002537/0.5502, allocations: 210.2 kB / 0.534 GB, free: 26.92 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.555/2.106, allocations: 1.312 kB / 0.534 GB, free: 26.92 MB / 378.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)