Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000659/0.000659, allocations: 72.27 kB / 9.855 MB, free: 0.8438 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009163/0.001575, allocations: 447.7 kB / 10.29 MB, free: 416 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006903/0.0006903, allocations: 153.9 kB / 11.18 MB, free: 2.996 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009283/0.001619, allocations: 472.2 kB / 11.64 MB, free: 2.531 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8354/0.8354, allocations: 177.1 MB / 189.5 MB, free: 3.77 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1223/0.9576, allocations: 53.67 MB / 243.2 MB, free: 2.352 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/package.mo): time 0.0357/0.0357, allocations: 9.156 MB / 253.1 MB, free: 8.922 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.003666/0.03936, allocations: 3.464 MB / 256.5 MB, free: 5.461 MB / 250.7 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 257.8 MB, free: 4.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.622e-06/8.075e-06, allocations: 2.312 kB / 257.8 MB, free: 4.234 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory): time 0.002493/0.002501, allocations: 2.923 MB / 260.7 MB, free: 1.289 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007526/0.003253, allocations: 0.7196 MB / 261.4 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.703e-05/0.00332, allocations: 11.88 kB / 261.4 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001252/0.003446, allocations: 63.34 kB / 261.5 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.148e-05/0.003537, allocations: 51.58 kB / 261.5 MB, free: 452 kB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Blocks/Packaging/SerialPackager.mo:130:7-137:16:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.clear' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.clear'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Blocks/Packaging/SerialPackager.mo:30:7-39:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Blocks/Packaging/SerialPackager.mo:63:7-72:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Blocks/Communication.mo:1206:7-1215:28:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.writeSharedMemory' contains a call to impure function 'Modelica_DeviceDrivers.Communication.SharedMemory_.write'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Blocks/Packaging/SerialPackager.mo:74:7-84:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Blocks/Packaging/SerialPackager.mo:107:7-117:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Blocks/Communication.mo:1196:7-1204:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readSharedMemory' contains a call to impure function 'Modelica_DeviceDrivers.Communication.SharedMemory_.read'. Notification: Performance of NFTyping.typeClassSections: time 0.0003334/0.003871, allocations: 203.2 kB / 261.7 MB, free: 248 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002443/0.004115, allocations: 303.1 kB / 262 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.004264, allocations: 109.3 kB / 262.1 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.004424, allocations: 227.5 kB / 262.4 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.004562, allocations: 135.6 kB / 262.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.35e-05/0.004595, allocations: 32 kB / 262.5 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001688/0.004764, allocations: 155.8 kB / 262.7 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.796e-05/0.004832, allocations: 87.7 kB / 262.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.341e-05/0.004895, allocations: 83.75 kB / 262.8 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002902/0.005186, allocations: 354.6 kB / 263.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.005192, allocations: 0 / 263.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.005193, allocations: 0 / 263.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.005201, allocations: 0 / 263.2 MB, free: 14.79 MB / 266.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg getReal.pkgOut[1].pkg = getInteger.pkgIn.pkg sharedMemoryRead.pkgOut.pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = sharedMemoryWrite.pkgIn.pkg addReal.pkgOut[1].pkg = addInteger.pkgIn.pkg packager.pkgOut.pkg = addReal.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0007325/0.005934, allocations: 0.71 MB / 263.9 MB, free: 14.03 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.671e-05/0.005961, allocations: 8.625 kB / 263.9 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.379e-05/0.006004, allocations: 78.66 kB / 264 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.971e-05/0.006054, allocations: 52.89 kB / 264 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.006207, allocations: 185.8 kB / 264.2 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.00623, allocations: 25.02 kB / 264.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.006253, allocations: 32.38 kB / 264.3 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.006497, allocations: 283.7 kB / 264.5 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.006506, allocations: 192 / 264.5 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.006522, allocations: 12.38 kB / 264.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-06/0.00653, allocations: 12.12 kB / 264.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.00663, allocations: 98.25 kB / 264.7 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006818/0.007311, allocations: 0.9199 MB / 265.6 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.007506, allocations: 238.1 kB / 265.8 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.516e-05/0.007561, allocations: 63.36 kB / 265.9 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.007585, allocations: 11.98 kB / 265.9 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001276/0.007713, allocations: 166.3 kB / 266.1 MB, free: 11.67 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.112e-06/0.007714, allocations: 0 / 266.1 MB, free: 11.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=31): time 0.0002339/0.007948, allocations: 195 kB / 266.2 MB, free: 11.47 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/0.008002, allocations: 148.4 kB / 266.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.008105, allocations: 210.7 kB / 266.6 MB, free: 11.08 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.008127, allocations: 41.69 kB / 266.6 MB, free: 11.03 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/0.008185, allocations: 160.6 kB / 266.8 MB, free: 10.87 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.269e-05/0.008227, allocations: 83.39 kB / 266.9 MB, free: 10.79 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.787e-05/0.008305, allocations: 98.09 kB / 267 MB, free: 10.69 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.731e-05/0.008373, allocations: 334.8 kB / 267.3 MB, free: 10.35 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.139e-05/0.008414, allocations: 36.97 kB / 267.3 MB, free: 10.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.599e-05/0.00851, allocations: 183.8 kB / 267.5 MB, free: 10.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.008697, allocations: 269.4 kB / 267.8 MB, free: 9.738 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.008699, allocations: 8 kB / 267.8 MB, free: 9.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0002116/0.008911, allocations: 229.5 kB / 268 MB, free: 9.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.008925, allocations: 12.05 kB / 268 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.00893, allocations: 12.31 kB / 268 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.008942, allocations: 8 kB / 268 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.009084, allocations: 83.89 kB / 268.1 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.009091, allocations: 15.92 kB / 268.1 MB, free: 9.371 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.966e-05/0.009161, allocations: 31.78 kB / 268.2 MB, free: 9.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.009177, allocations: 16 kB / 268.2 MB, free: 9.324 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 42 (sharedMemoryWrite.dummy,$PRE.sharedMemoryWrite.dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,addInteger.pkgOut[1].backwardTrigger,addInteger.pkgOut[1].trigger,$whenCondition2,addInteger.u[1],sharedMemoryRead.pkgOut.dummy,$PRE.sharedMemoryRead.pkgOut.dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[1],$PRE.getInteger.y[1],getReal.dummy,$PRE.getReal.dummy,getReal.y[3],$PRE.getReal.y[3],getReal.y[2],$PRE.getReal.y[2],getReal.y[1],$PRE.getReal.y[1],getReal.pkgOut[1].dummy,$PRE.getReal.pkgOut[1].dummy,getReal.pkgOut[1].trigger,$whenCondition1,getInteger.pkgIn.backwardTrigger,getInteger.pkgIn.userPkgBitSize,sharedMemoryRead.bufferSize,getInteger.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,sharedMemoryWrite.pkgIn.autoPkgBitSize,sharedMemoryWrite.pkgIn.userPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addReal.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,sharedMemoryWrite.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.633e-05/0.009273, allocations: 165.7 kB / 268.3 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.009301, allocations: 27.97 kB / 268.4 MB, free: 9.125 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.009407, allocations: 91.05 kB / 268.5 MB, free: 9.027 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.009409, allocations: 4 kB / 268.5 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.009412, allocations: 4 kB / 268.5 MB, free: 9.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.009415, allocations: 0 / 268.5 MB, free: 9.02 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003777/0.009793, allocations: 0.5866 MB / 269.1 MB, free: 8.395 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.009796, allocations: 4 kB / 269.1 MB, free: 8.391 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.513e-05/0.009821, allocations: 8 kB / 269.1 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.009823, allocations: 48 / 269.1 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.009836, allocations: 19.97 kB / 269.1 MB, free: 8.363 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.009838, allocations: 4 kB / 269.1 MB, free: 8.359 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.00984, allocations: 3.938 kB / 269.1 MB, free: 8.355 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/0.01003, allocations: 420 kB / 269.5 MB, free: 7.922 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.395e-05/0.01004, allocations: 23.8 kB / 269.5 MB, free: 7.898 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.01006, allocations: 7.984 kB / 269.5 MB, free: 7.891 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.798e-05/0.01013, allocations: 15.92 kB / 269.6 MB, free: 7.875 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.25e-05/0.01015, allocations: 11.98 kB / 269.6 MB, free: 7.863 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.01017, allocations: 11.98 kB / 269.6 MB, free: 7.852 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.843e-05/0.0102, allocations: 41.66 kB / 269.6 MB, free: 7.809 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0102, allocations: 0 / 269.6 MB, free: 7.809 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002777/0.01047, allocations: 123.6 kB / 269.7 MB, free: 7.688 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 28 (getReal.pkgOut[1].trigger,$whenCondition1,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,getInteger.y[1],getInteger.dummy,sharedMemoryRead.pkgOut.dummy,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,sharedMemoryRead.bufferSize,addInteger.pkgOut[1].trigger,$whenCondition2,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,addInteger.pkgOut[1].backwardTrigger,addInteger.u[1],sharedMemoryWrite.bufferSize,sharedMemoryWrite.dummy,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,sharedMemoryWrite.pkgIn.userPkgBitSize,sharedMemoryWrite.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 18 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000813/0.01129, allocations: 1.153 MB / 270.9 MB, free: 6.609 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001816/0.01147, allocations: 170.2 kB / 271.1 MB, free: 6.441 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.01147, allocations: 0 / 271.1 MB, free: 6.441 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.905e-05/0.01154, allocations: 72.69 kB / 271.1 MB, free: 6.367 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.01178, allocations: 59.95 kB / 271.2 MB, free: 6.312 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.01313, allocations: 1.643 MB / 272.8 MB, free: 4.527 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.046e-05/0.01318, allocations: 92.31 kB / 272.9 MB, free: 4.414 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.999e-05/0.01323, allocations: 26.28 kB / 272.9 MB, free: 4.387 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.01336, allocations: 143.3 kB / 273.1 MB, free: 4.246 MB / 266.7 MB Notification: Performance of SimCode: time 4.6e-07/0.01336, allocations: 4 kB / 273.1 MB, free: 4.242 MB / 266.7 MB Notification: Performance of FMU documentation: time 0.02409/0.03744, allocations: 8.765 MB / 281.9 MB, free: 11.78 MB / 282.7 MB Notification: FMU-only work: backend 0.0002561, simCode 0.0006587, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05875/0.09619, allocations: 1.517 MB / 283.4 MB, free: 10.12 MB / 282.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 2.399/2.495, allocations: 19.45 kB / 283.4 MB, free: 10.1 MB / 282.7 MB " [Timeout remaining time 657] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory.fmu) > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory.pipe 2>&1) [Timeout 252.0] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_OMSimulator-cs-cvode.fmu) > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory_OMSimulator-cs-euler.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_OMSimulator-cs-euler.fmu) > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory_fmpy.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory_fmpy.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory_fmpy_res.csv --start-time 0 --stop-time 5 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ../Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory.fmu) > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory_fmpy.pipe 2>&1) [Timeout 252.0] fmpy timed out simulating the FMU (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory_fmpy-fmi3-cs-cvode_res.csv --start-time 0 --stop-time 5 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 0.002 ../Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemory_fmpy-fmi3-cs-cvode.fmu) > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] [Calling sys.exit(0), Time elapsed: 4.75104892719537]