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.0008007/0.0008007, allocations: 84.19 kB / 15.75 MB, free: 416 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.0009174/0.0009174, allocations: 175.5 kB / 16.63 MB, free: 6.887 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.385/1.385, allocations: 223.3 MB / 240.7 MB, free: 5.387 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.1709/0.1709, allocations: 12.06 MB / 303.8 MB, free: 1.66 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.0003598, allocations: 8 kB / 367.8 MB, free: 9.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1198, allocations: 53.35 MB / 421.1 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.002616/0.1225, allocations: 1.89 MB / 423 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002756/0.1228, allocations: 151.5 kB / 423.2 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.367e-05/0.1228, allocations: 4 kB / 423.2 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001435/0.123, allocations: 19.91 kB / 423.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.096e-05/0.1231, allocations: 7.938 kB / 423.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001982/0.1233, allocations: 43.88 kB / 423.2 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.1234, allocations: 59.84 kB / 423.3 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.322e-05/0.1235, allocations: 11.98 kB / 423.3 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.024e-05/0.1236, allocations: 23.86 kB / 423.3 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.271e-05/0.1236, allocations: 23.86 kB / 423.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.1236, allocations: 0 / 423.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.987e-05/0.1237, allocations: 35.97 kB / 423.4 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.293e-05/0.1238, allocations: 0 / 423.4 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.236e-05/0.1238, allocations: 41.64 kB / 423.4 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.1239, allocations: 59.89 kB / 423.5 MB, free: 1.559 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1239, allocations: 0 / 423.5 MB, free: 1.559 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1239, allocations: 0 / 423.5 MB, free: 1.559 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.124, allocations: 0 / 423.5 MB, free: 1.559 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.0004133/0.1244, allocations: 418.8 kB / 423.9 MB, free: 1.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.1244, allocations: 12.02 kB / 423.9 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.8e-05/0.1245, allocations: 38.56 kB / 423.9 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.528e-05/0.1245, allocations: 15.86 kB / 424 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.1247, allocations: 190.9 kB / 424.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.1248, allocations: 11.98 kB / 424.2 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.1248, allocations: 7.938 kB / 424.2 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003063/0.1251, allocations: 153 kB / 424.3 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.1251, allocations: 4 kB / 424.3 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.1251, allocations: 4 kB / 424.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/0.1252, allocations: 0 / 424.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.591e-05/0.1252, allocations: 35.88 kB / 424.4 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003542/0.1256, allocations: 285.7 kB / 424.6 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/0.1258, allocations: 158.2 kB / 424.8 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1972/0.323, allocations: 39.12 kB / 424.8 MB, free: 39.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001919/0.3233, allocations: 81.5 kB / 424.9 MB, free: 39.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.3233, allocations: 36.92 kB / 424.9 MB, free: 39.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 2.615e-06/0.3233, allocations: 0.5625 kB / 424.9 MB, free: 39.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003921/0.3237, allocations: 171 kB / 425.1 MB, free: 39.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/0.3238, allocations: 134.6 kB / 425.2 MB, free: 38.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.413e-05/0.3239, allocations: 125 kB / 425.4 MB, free: 38.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.3239, allocations: 28.83 kB / 425.4 MB, free: 38.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.123e-05/0.3239, allocations: 88.83 kB / 425.5 MB, free: 38.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.593e-05/0.324, allocations: 13.02 kB / 425.5 MB, free: 38.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/0.324, allocations: 0 / 425.5 MB, free: 38.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.417e-05/0.324, allocations: 319.7 kB / 425.8 MB, free: 38.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.039e-05/0.3241, allocations: 20.39 kB / 425.8 MB, free: 38.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.558e-05/0.3241, allocations: 62.64 kB / 425.9 MB, free: 38.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.703e-05/0.3242, allocations: 76.78 kB / 426 MB, free: 38.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.3242, allocations: 3.266 kB / 426 MB, free: 38.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001683/0.3244, allocations: 160 kB / 426.1 MB, free: 38.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.786e-05/0.3244, allocations: 58.73 kB / 426.2 MB, free: 38.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.3244, allocations: 4.031 kB / 426.2 MB, free: 38.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.3245, allocations: 2.594 kB / 426.2 MB, free: 38.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.006e-05/0.3245, allocations: 11.19 kB / 426.2 MB, free: 38.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.3245, allocations: 4.188 kB / 426.2 MB, free: 38.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.152e-05/0.3246, allocations: 12.23 kB / 426.2 MB, free: 38.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.3246, allocations: 4.953 kB / 426.2 MB, free: 38.13 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.461e-05/0.3247, allocations: 179.2 kB / 426.4 MB, free: 37.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.234e-05/0.3248, allocations: 69.98 kB / 426.5 MB, free: 37.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.903e-05/0.3249, allocations: 11.95 kB / 426.5 MB, free: 37.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3249, allocations: 1.875 kB / 426.5 MB, free: 37.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3249, allocations: 3.391 kB / 426.5 MB, free: 37.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3249, allocations: 1.5 kB / 426.5 MB, free: 37.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.325, allocations: 189.5 kB / 426.7 MB, free: 37.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.325, allocations: 0 / 426.7 MB, free: 37.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.319e-05/0.3251, allocations: 8.828 kB / 426.7 MB, free: 37.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3251, allocations: 1.188 kB / 426.7 MB, free: 37.72 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.3251, allocations: 3.188 kB / 426.7 MB, free: 37.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.3251, allocations: 1.25 kB / 426.7 MB, free: 37.72 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3251, allocations: 0.625 kB / 426.7 MB, free: 37.72 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.3254, allocations: 268.8 kB / 426.9 MB, free: 37.51 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.106e-05/0.3254, allocations: 91.83 kB / 427 MB, free: 37.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.3254, allocations: 1.844 kB / 427 MB, free: 37.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.286e-05/0.3255, allocations: 3.781 kB / 427 MB, free: 37.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.3255, allocations: 3.875 kB / 427 MB, free: 37.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.3255, allocations: 4.656 kB / 427 MB, free: 37.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.683e-05/0.3256, allocations: 95.94 kB / 427.1 MB, free: 37.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3256, allocations: 0 / 427.1 MB, free: 37.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002769/0.3259, allocations: 26.16 kB / 427.2 MB, free: 37.34 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 (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.0007123/0.3266, allocations: 0.9436 MB / 428.1 MB, free: 36.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001864/0.3268, allocations: 169.1 kB / 428.3 MB, free: 36.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3268, allocations: 4.859 kB / 428.3 MB, free: 36.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.299e-05/0.3269, allocations: 122.3 kB / 428.4 MB, free: 36.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.3271, allocations: 28.69 kB / 428.4 MB, free: 36.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008113/0.328, allocations: 0.5898 MB / 429 MB, free: 35.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.3281, allocations: 0.6922 MB / 429.7 MB, free: 35.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.468e-05/0.3281, allocations: 11.95 kB / 429.7 MB, free: 35.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.407e-05/0.3282, allocations: 21.73 kB / 429.7 MB, free: 35.23 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3282, allocations: 4 kB / 429.7 MB, free: 35.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01243/0.3406, allocations: 2.258 MB / 432 MB, free: 34.98 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/0.3408, allocations: 255.4 kB / 432.2 MB, free: 34.63 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/1.999, allocations: 7 kB / 432.3 MB, free: 34.63 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/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)