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.0009107/0.0009143, allocations: 101.2 kB / 15.73 MB, free: 436 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.001456/0.001456, allocations: 179.1 kB / 16.62 MB, free: 6.422 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.374/1.374, allocations: 223.2 MB / 240.6 MB, free: 5.469 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.1913/0.1913, allocations: 12.04 MB / 303.7 MB, free: 1.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003285/0.0003286, allocations: 8 kB / 367.7 MB, free: 9.406 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1139, allocations: 53.35 MB / 421 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.002692/0.1167, allocations: 1.893 MB / 422.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002779/0.117, allocations: 139.6 kB / 423 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.265e-05/0.1171, allocations: 0 / 423 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001366/0.1172, allocations: 19.86 kB / 423.1 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.1173, allocations: 11.92 kB / 423.1 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.1176, allocations: 47.89 kB / 423.1 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.1177, allocations: 39.89 kB / 423.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.1178, allocations: 15.98 kB / 423.2 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.369e-05/0.1179, allocations: 15.92 kB / 423.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.088e-05/0.1179, allocations: 27.84 kB / 423.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.1179, allocations: 0 / 423.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.58e-05/0.118, allocations: 16 kB / 423.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.979e-05/0.118, allocations: 7.938 kB / 423.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.638e-05/0.1181, allocations: 33.7 kB / 423.3 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.1182, allocations: 71.83 kB / 423.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.1182, allocations: 0 / 423.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1183, allocations: 0 / 423.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.1183, allocations: 0 / 423.3 MB, free: 1.668 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.0004266/0.1187, allocations: 418.8 kB / 423.7 MB, free: 1.199 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.1187, allocations: 12.03 kB / 423.8 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.435e-05/0.1188, allocations: 38.55 kB / 423.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.242e-05/0.1188, allocations: 15.86 kB / 423.8 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.1191, allocations: 186.9 kB / 424 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.1191, allocations: 8 kB / 424 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.1191, allocations: 8 kB / 424 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003056/0.1194, allocations: 156.9 kB / 424.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.1194, allocations: 0 / 424.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.1195, allocations: 7.938 kB / 424.2 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.659e-05/0.1195, allocations: 15.94 kB / 424.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.523e-05/0.1196, allocations: 27.98 kB / 424.2 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.1199, allocations: 289.7 kB / 424.5 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002319/0.1202, allocations: 150.4 kB / 424.6 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001439/0.1203, allocations: 85.14 kB / 424.7 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2027/0.323, allocations: 46.53 kB / 424.8 MB, free: 39.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 5.35e-06/0.3231, allocations: 0 / 424.8 MB, free: 39.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004952/0.3236, allocations: 244.3 kB / 425 MB, free: 39.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.934e-05/0.3236, allocations: 134.1 kB / 425.1 MB, free: 39.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.3237, allocations: 121.8 kB / 425.3 MB, free: 38.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.3238, allocations: 28.39 kB / 425.3 MB, free: 38.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.667e-05/0.3238, allocations: 92.64 kB / 425.4 MB, free: 38.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.3238, allocations: 13.42 kB / 425.4 MB, free: 38.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-06/0.3238, allocations: 0 / 425.4 MB, free: 38.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.319e-05/0.3239, allocations: 318.4 kB / 425.7 MB, free: 38.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.048e-05/0.324, allocations: 16.45 kB / 425.7 MB, free: 38.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.896e-05/0.324, allocations: 55.5 kB / 425.8 MB, free: 38.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.536e-05/0.3241, allocations: 78.95 kB / 425.8 MB, free: 38.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3241, allocations: 0 / 425.8 MB, free: 38.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001796/0.3243, allocations: 162.2 kB / 426 MB, free: 38.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.658e-05/0.3244, allocations: 62.47 kB / 426.1 MB, free: 38.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.3244, allocations: 0.625 kB / 426.1 MB, free: 38.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.3244, allocations: 3.812 kB / 426.1 MB, free: 38.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-05/0.3245, allocations: 14.64 kB / 426.1 MB, free: 38.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.3245, allocations: 1.219 kB / 426.1 MB, free: 38.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.229e-05/0.3246, allocations: 12.17 kB / 426.1 MB, free: 38.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.3246, allocations: 4.906 kB / 426.1 MB, free: 38.23 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 0.0001165/0.3247, allocations: 181.5 kB / 426.3 MB, free: 38.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.3248, allocations: 70.25 kB / 426.4 MB, free: 38.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.995e-05/0.3249, allocations: 11.5 kB / 426.4 MB, free: 38.01 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.3249, allocations: 1.5 kB / 426.4 MB, free: 38.01 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.3249, allocations: 2.25 kB / 426.4 MB, free: 38.01 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.3249, allocations: 6.125 kB / 426.4 MB, free: 38.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.3251, allocations: 176 kB / 426.5 MB, free: 37.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.3251, allocations: 3.953 kB / 426.5 MB, free: 37.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/0.3252, allocations: 7.375 kB / 426.6 MB, free: 37.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.3252, allocations: 4.172 kB / 426.6 MB, free: 37.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.3252, allocations: 6.344 kB / 426.6 MB, free: 37.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.3252, allocations: 3.688 kB / 426.6 MB, free: 37.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3252, allocations: 0.5625 kB / 426.6 MB, free: 37.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002782/0.3255, allocations: 276.7 kB / 426.8 MB, free: 37.6 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.005e-05/0.3256, allocations: 83.08 kB / 426.9 MB, free: 37.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.381e-05/0.3256, allocations: 8.578 kB / 426.9 MB, free: 37.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.389e-05/0.3257, allocations: 3.344 kB / 426.9 MB, free: 37.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.3257, allocations: 10.08 kB / 426.9 MB, free: 37.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.3257, allocations: 3.625 kB / 426.9 MB, free: 37.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.771e-05/0.3258, allocations: 90.11 kB / 427 MB, free: 37.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3258, allocations: 0 / 427 MB, free: 37.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002888/0.3261, allocations: 22.91 kB / 427.1 MB, free: 37.43 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.0008644/0.327, allocations: 1.028 MB / 428.1 MB, free: 36.6 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002129/0.3272, allocations: 177.4 kB / 428.3 MB, free: 36.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3272, allocations: 0 / 428.3 MB, free: 36.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.95e-05/0.3273, allocations: 122 kB / 428.4 MB, free: 36.35 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.3275, allocations: 26.5 kB / 428.4 MB, free: 36.35 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009906/0.3285, allocations: 1.47 MB / 429.9 MB, free: 35.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001567/0.3286, allocations: 0.6981 MB / 430.6 MB, free: 34.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.319e-05/0.3287, allocations: 16.09 kB / 430.6 MB, free: 34.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.93e-05/0.3288, allocations: 15.97 kB / 430.6 MB, free: 34.35 MB / 350.1 MB Notification: Performance of SimCode: time 1.333e-06/0.3288, allocations: 2.094 kB / 430.6 MB, free: 34.35 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01291/0.3417, allocations: 2.26 MB / 432.9 MB, free: 34.12 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001473/0.3419, allocations: 250.8 kB / 433.1 MB, free: 33.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.627/1.969, allocations: 0 / 433.1 MB, free: 33.79 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)