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.001213/0.001213, allocations: 182.1 kB / 15.8 MB, free: 6.34 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 223.2 MB / 239.7 MB, free: 56 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008864/0.0008865, allocations: 94.44 kB / 290.9 MB, free: 4.574 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.0565/0.0565, allocations: 12.04 MB / 354 MB, free: 1.297 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004495/0.0004498, allocations: 8.219 kB / 418 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2848, allocations: 53.35 MB / 471.3 MB, free: 65.09 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1244/0.4093, allocations: 81.49 MB / 0.5399 GB, free: 15.49 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000344/0.4097, allocations: 83.94 kB / 0.5399 GB, free: 15.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006951/0.4167, allocations: 1.675 MB / 0.5416 GB, free: 13.74 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.571e-06/0.4168, allocations: 0 / 0.5416 GB, free: 13.74 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.251e-05/0.4168, allocations: 8 kB / 0.5416 GB, free: 13.73 MB / 378.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.0007516/0.4176, allocations: 414.6 kB / 0.542 GB, free: 13.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.738e-05/0.4177, allocations: 12.03 kB / 0.542 GB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.744e-05/0.4178, allocations: 34.56 kB / 0.542 GB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.609e-05/0.4179, allocations: 15.84 kB / 0.542 GB, free: 13.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000379/0.4182, allocations: 194.8 kB / 0.5422 GB, free: 12.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.4183, allocations: 8 kB / 0.5422 GB, free: 12.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.4183, allocations: 4 kB / 0.5422 GB, free: 12.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006205/0.419, allocations: 168.9 kB / 0.5424 GB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.419, allocations: 0 / 0.5424 GB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.419, allocations: 4 kB / 0.5424 GB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.473e-05/0.4191, allocations: 4 kB / 0.5424 GB, free: 12.76 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.4192, allocations: 27.98 kB / 0.5424 GB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007138/0.42, allocations: 293.6 kB / 0.5427 GB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004116/0.4204, allocations: 154.4 kB / 0.5429 GB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001733/0.4206, allocations: 85.17 kB / 0.5429 GB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.599e-05/0.4206, allocations: 42.5 kB / 0.543 GB, free: 12.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 2.495e-06/0.4207, allocations: 0 / 0.543 GB, free: 12.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006021/0.4213, allocations: 250 kB / 0.5432 GB, free: 11.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.4214, allocations: 128.5 kB / 0.5433 GB, free: 11.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.4216, allocations: 116.9 kB / 0.5435 GB, free: 11.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/0.4216, allocations: 25.7 kB / 0.5435 GB, free: 11.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.874e-05/0.4217, allocations: 107.4 kB / 0.5436 GB, free: 11.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.4217, allocations: 3.906 kB / 0.5436 GB, free: 11.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.081e-05/0.4218, allocations: 8.031 kB / 0.5436 GB, free: 11.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.4219, allocations: 318.8 kB / 0.5439 GB, free: 11.03 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.269e-05/0.422, allocations: 12 kB / 0.5439 GB, free: 11.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.888e-05/0.4221, allocations: 58 kB / 0.544 GB, free: 10.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.4222, allocations: 83.33 kB / 0.544 GB, free: 10.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.4223, allocations: 0 / 0.544 GB, free: 10.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003257/0.4226, allocations: 156.9 kB / 0.5442 GB, free: 10.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.612e-05/0.4227, allocations: 59.41 kB / 0.5442 GB, free: 10.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/0.4227, allocations: 0 / 0.5442 GB, free: 10.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.4227, allocations: 4.219 kB / 0.5442 GB, free: 10.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.312e-05/0.4228, allocations: 12 kB / 0.5443 GB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.4228, allocations: 12.11 kB / 0.5443 GB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.26e-05/0.4229, allocations: 7.906 kB / 0.5443 GB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/0.423, allocations: 12 kB / 0.5443 GB, free: 10.55 MB / 378.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001931/0.4232, allocations: 173.2 kB / 0.5445 GB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.4233, allocations: 65.55 kB / 0.5445 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.946e-05/0.4234, allocations: 12.03 kB / 0.5445 GB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.4234, allocations: 7.938 kB / 0.5445 GB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.4234, allocations: 4 kB / 0.5445 GB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.4235, allocations: 0 / 0.5445 GB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000326/0.4238, allocations: 185.6 kB / 0.5447 GB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.4238, allocations: 0 / 0.5447 GB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.415e-05/0.4239, allocations: 8 kB / 0.5447 GB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.4239, allocations: 7.938 kB / 0.5447 GB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.4239, allocations: 4 kB / 0.5447 GB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.4239, allocations: 3.984 kB / 0.5447 GB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.4239, allocations: 0 / 0.5447 GB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003831/0.4243, allocations: 269.4 kB / 0.545 GB, free: 9.711 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.629e-05/0.4244, allocations: 88.97 kB / 0.5451 GB, free: 9.605 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/0.4244, allocations: 7.938 kB / 0.5451 GB, free: 9.598 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.449e-05/0.4245, allocations: 4 kB / 0.5451 GB, free: 9.594 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.018e-05/0.4246, allocations: 3.984 kB / 0.5451 GB, free: 9.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.4246, allocations: 4 kB / 0.5451 GB, free: 9.586 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.21e-05/0.4247, allocations: 95.7 kB / 0.5452 GB, free: 9.492 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4247, allocations: 4.094 kB / 0.5452 GB, free: 9.488 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000481/0.4252, allocations: 31.94 kB / 0.5452 GB, free: 9.457 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) * 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 (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.001384/0.4266, allocations: 1.015 MB / 0.5462 GB, free: 8.461 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003302/0.427, allocations: 175 kB / 0.5464 GB, free: 8.266 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.427, allocations: 0 / 0.5464 GB, free: 8.266 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.4271, allocations: 126.8 kB / 0.5465 GB, free: 8.117 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.4275, allocations: 24.03 kB / 0.5465 GB, free: 8.094 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002969/0.4305, allocations: 1.699 MB / 0.5482 GB, free: 6.312 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.4308, allocations: 0.7012 MB / 0.5489 GB, free: 5.586 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.916e-05/0.4309, allocations: 15.98 kB / 0.5489 GB, free: 5.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.717e-05/0.431, allocations: 15.5 kB / 0.5489 GB, free: 5.555 MB / 378.7 MB Notification: Performance of SimCode: time 8.52e-07/0.431, allocations: 0 / 0.5489 GB, free: 5.555 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01913/0.4501, allocations: 2.248 MB / 0.5511 GB, free: 3.488 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003444/0.4505, allocations: 248.1 kB / 0.5513 GB, free: 3.156 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.571/2.021, allocations: 0 / 0.5513 GB, free: 3.156 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)