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.001507/0.001507, allocations: 83.98 kB / 19.81 MB, free: 1.938 MB / 14.72 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.001483/0.001483, allocations: 169.1 kB / 23.05 MB, free: 4.539 MB / 14.72 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 1.48/1.48, allocations: 177.2 MB / 203.4 MB, free: 9.262 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo): time 0.08194/0.08194, allocations: 9.16 MB / 269 MB, free: 8.02 MB / 254.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 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 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 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 master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 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: translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 63.89 kB / 397.3 MB, free: 5.496 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 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 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 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 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 FrontEnd - Absyn->SCode: time 0.3468/0.3489, allocations: 56.36 MB / 453.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory): time 0.004054/0.3529, allocations: 2.78 MB / 456.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.3542, allocations: 0.6917 MB / 457.1 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.3543, allocations: 11.47 kB / 457.1 MB, free: 11.24 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002743/0.3545, allocations: 68.56 kB / 457.2 MB, free: 11.19 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.3547, allocations: 47.34 kB / 457.2 MB, free: 11.15 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 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 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 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 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 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 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 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.0006082/0.3553, allocations: 210.8 kB / 457.4 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003885/0.3557, allocations: 299.5 kB / 457.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002431/0.356, allocations: 102.6 kB / 457.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002711/0.3562, allocations: 220.1 kB / 458.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002588/0.3565, allocations: 159.9 kB / 458.2 MB, free: 10.67 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.36e-05/0.3566, allocations: 34.03 kB / 458.2 MB, free: 10.67 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000263/0.3568, allocations: 148.2 kB / 458.4 MB, free: 10.63 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.357, allocations: 111.4 kB / 458.5 MB, free: 10.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.3571, allocations: 128.3 kB / 458.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006062/0.3577, allocations: 0.5011 MB / 459.1 MB, free: 10.26 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3577, allocations: 0.6562 kB / 459.1 MB, free: 10.26 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3577, allocations: 0 / 459.1 MB, free: 10.26 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.3577, allocations: 0 / 459.1 MB, free: 10.26 MB / 366.1 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.001303/0.359, allocations: 0.7739 MB / 459.9 MB, free: 9.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.3591, allocations: 10.12 kB / 459.9 MB, free: 9.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.469e-05/0.3591, allocations: 39.98 kB / 459.9 MB, free: 9.641 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.3594, allocations: 231.3 kB / 460.2 MB, free: 9.445 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.3594, allocations: 22.55 kB / 460.2 MB, free: 9.438 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.85e-05/0.3595, allocations: 35.42 kB / 460.2 MB, free: 9.426 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005781/0.3601, allocations: 372.6 kB / 460.6 MB, free: 9.238 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.3601, allocations: 192 / 460.6 MB, free: 9.238 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.316e-05/0.3601, allocations: 18.27 kB / 460.6 MB, free: 9.227 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.3601, allocations: 8.25 kB / 460.6 MB, free: 9.227 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003455/0.3605, allocations: 192.5 kB / 460.8 MB, free: 9.164 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.3615, allocations: 1.014 MB / 461.8 MB, free: 8.352 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004241/0.3619, allocations: 230.8 kB / 462 MB, free: 8.199 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.3621, allocations: 110.9 kB / 462.2 MB, free: 8.137 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.3621, allocations: 9.344 kB / 462.2 MB, free: 8.133 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003096/0.3624, allocations: 206.8 kB / 462.4 MB, free: 8.008 MB / 366.1 MB Notification: Performance of pre-optimization done (n=31): time 1.573e-06/0.3624, allocations: 0 / 462.4 MB, free: 8.008 MB / 366.1 MB Notification: Performance of matching and sorting (n=31): time 0.0008838/0.3633, allocations: 456.7 kB / 462.8 MB, free: 7.848 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.065e-05/0.3634, allocations: 151.7 kB / 463 MB, free: 7.684 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.3636, allocations: 218.4 kB / 463.2 MB, free: 7.527 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.3636, allocations: 39.69 kB / 463.2 MB, free: 7.488 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.723e-05/0.3637, allocations: 175.5 kB / 463.4 MB, free: 7.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.832e-05/0.3638, allocations: 81.16 kB / 463.5 MB, free: 7.281 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.3639, allocations: 102 kB / 463.6 MB, free: 7.227 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.141e-05/0.364, allocations: 337.2 kB / 463.9 MB, free: 6.902 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.3642, allocations: 92.03 kB / 464 MB, free: 6.875 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002484/0.3644, allocations: 244.2 kB / 464.2 MB, free: 6.652 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004411/0.3649, allocations: 359.5 kB / 464.6 MB, free: 6.379 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.3649, allocations: 5.531 kB / 464.6 MB, free: 6.375 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007233/0.3656, allocations: 380.3 kB / 464.9 MB, free: 6.215 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.3656, allocations: 10.59 kB / 465 MB, free: 6.215 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.3656, allocations: 8.812 kB / 465 MB, free: 6.211 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-05/0.3657, allocations: 7.312 kB / 465 MB, free: 6.211 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.3659, allocations: 63.75 kB / 465 MB, free: 6.195 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-05/0.3659, allocations: 18.11 kB / 465.1 MB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.366, allocations: 32.91 kB / 465.1 MB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.685e-05/0.3661, allocations: 19.66 kB / 465.1 MB, free: 6.16 MB / 366.1 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.userPkgBitSize,getInteger.pkgIn.backwardTrigger,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 0.0002325/0.3663, allocations: 206.8 kB / 465.3 MB, free: 5.996 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.094e-05/0.3664, allocations: 25.78 kB / 465.3 MB, free: 5.984 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003432/0.3667, allocations: 202.8 kB / 465.5 MB, free: 5.887 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.3667, allocations: 3.594 kB / 465.5 MB, free: 5.887 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.3667, allocations: 1.656 kB / 465.5 MB, free: 5.887 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.3667, allocations: 5.906 kB / 465.5 MB, free: 5.883 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009127/0.3677, allocations: 0.7187 MB / 466.3 MB, free: 5.422 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3677, allocations: 0 / 466.3 MB, free: 5.422 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.737e-05/0.3677, allocations: 10.31 kB / 466.3 MB, free: 5.422 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.3677, allocations: 1.375 kB / 466.3 MB, free: 5.422 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/0.3677, allocations: 12.86 kB / 466.3 MB, free: 5.418 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3677, allocations: 5.375 kB / 466.3 MB, free: 5.414 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.3677, allocations: 2.125 kB / 466.3 MB, free: 5.414 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000672/0.3684, allocations: 0.5423 MB / 466.8 MB, free: 5.086 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.705e-05/0.3684, allocations: 27.41 kB / 466.9 MB, free: 5.066 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.713e-05/0.3685, allocations: 10.66 kB / 466.9 MB, free: 5.062 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.3686, allocations: 3.344 kB / 466.9 MB, free: 5.062 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.3687, allocations: 19.23 kB / 466.9 MB, free: 5.059 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/0.3687, allocations: 12.48 kB / 466.9 MB, free: 5.059 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.828e-05/0.3688, allocations: 126.6 kB / 467 MB, free: 4.969 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3688, allocations: 0 / 467 MB, free: 4.969 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005128/0.3693, allocations: 118.1 kB / 467.1 MB, free: 4.93 MB / 366.1 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.0007538/0.37, allocations: 317.3 kB / 467.5 MB, free: 4.754 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005415/0.3706, allocations: 266 kB / 467.7 MB, free: 4.672 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3706, allocations: 0 / 467.7 MB, free: 4.672 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002131/0.3708, allocations: 115.8 kB / 467.8 MB, free: 4.637 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005191/0.3713, allocations: 59.58 kB / 467.9 MB, free: 4.621 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.3723, allocations: 0.5527 MB / 468.4 MB, free: 4.293 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/0.3725, allocations: 176.3 kB / 468.6 MB, free: 4.203 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001088/0.3726, allocations: 41.16 kB / 468.6 MB, free: 4.191 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.746e-05/0.3727, allocations: 23.44 kB / 468.7 MB, free: 4.184 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3727, allocations: 0 / 468.7 MB, free: 4.184 MB / 366.1 MB Notification: Performance of Templates: time 0.009219/0.3819, allocations: 4.075 MB / 472.7 MB, free: 3.07 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory.makefile [Timeout 660] (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 & ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.988800764083862] Failed to read output from testmodel.py, exit status != 0: 0.38977180793881416 0.403000144 0.042360063 Calling exit ...