Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.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.00141/0.00141, allocations: 82.5 kB / 19.8 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.001616/0.001616, allocations: 165.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.437/1.437, allocations: 177.2 MB / 203.4 MB, free: 9.281 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.05833/0.05833, allocations: 9.164 MB / 269 MB, free: 8.027 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_SharedMemoryExternalTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 67.89 kB / 397.3 MB, free: 5.508 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.3488/0.3508, allocations: 56.36 MB / 453.6 MB, free: 13.6 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger): time 0.004581/0.3554, allocations: 2.875 MB / 456.5 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.3567, allocations: 0.7283 MB / 457.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.3569, allocations: 7.312 kB / 457.3 MB, free: 11.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002642/0.3571, allocations: 70.53 kB / 457.3 MB, free: 11.11 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001928/0.3573, allocations: 52.11 kB / 457.4 MB, free: 11.07 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.0006524/0.358, allocations: 232.1 kB / 457.6 MB, free: 10.94 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003805/0.3583, allocations: 328.4 kB / 457.9 MB, free: 10.79 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000256/0.3586, allocations: 107.5 kB / 458 MB, free: 10.74 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002515/0.3589, allocations: 227.4 kB / 458.2 MB, free: 10.63 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/0.3591, allocations: 169.2 kB / 458.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.643e-05/0.3591, allocations: 36.22 kB / 458.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002395/0.3594, allocations: 154.6 kB / 458.6 MB, free: 10.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.3595, allocations: 114.2 kB / 458.7 MB, free: 10.44 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.3596, allocations: 138.9 kB / 458.8 MB, free: 10.35 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006045/0.3603, allocations: 0.5162 MB / 459.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.3603, allocations: 5.266 kB / 459.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3603, allocations: 0 / 459.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.3603, allocations: 1.062 kB / 459.4 MB, free: 10.12 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001281/0.3615, allocations: 0.8059 MB / 460.2 MB, free: 9.504 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.3616, allocations: 8.875 kB / 460.2 MB, free: 9.504 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.086e-05/0.3617, allocations: 40.66 kB / 460.2 MB, free: 9.484 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000273/0.362, allocations: 234.8 kB / 460.5 MB, free: 9.289 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.402e-05/0.362, allocations: 29.62 kB / 460.5 MB, free: 9.277 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.358e-05/0.362, allocations: 41.27 kB / 460.5 MB, free: 9.262 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006584/0.3627, allocations: 400.8 kB / 460.9 MB, free: 9.062 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.3627, allocations: 8.125 kB / 460.9 MB, free: 9.055 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.64e-05/0.3627, allocations: 17.69 kB / 460.9 MB, free: 9.043 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.3628, allocations: 8.406 kB / 460.9 MB, free: 9.043 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003998/0.3632, allocations: 215.7 kB / 461.2 MB, free: 8.973 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.3643, allocations: 1.128 MB / 462.3 MB, free: 8.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000393/0.3647, allocations: 261.2 kB / 462.5 MB, free: 7.891 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.3649, allocations: 119 kB / 462.7 MB, free: 7.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.649e-05/0.365, allocations: 14.94 kB / 462.7 MB, free: 7.812 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003209/0.3653, allocations: 231.6 kB / 462.9 MB, free: 7.664 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 3.316e-06/0.3653, allocations: 9.109 kB / 462.9 MB, free: 7.656 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009443/0.3662, allocations: 479.2 kB / 463.4 MB, free: 7.488 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.733e-05/0.3663, allocations: 184.4 kB / 463.6 MB, free: 7.285 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.3665, allocations: 230.6 kB / 463.8 MB, free: 7.133 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/0.3666, allocations: 36.81 kB / 463.8 MB, free: 7.098 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.3667, allocations: 185.8 kB / 464 MB, free: 6.938 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.8e-05/0.3667, allocations: 89.92 kB / 464.1 MB, free: 6.871 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.3669, allocations: 106.7 kB / 464.2 MB, free: 6.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.281e-05/0.3669, allocations: 346.5 kB / 464.5 MB, free: 6.488 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.3671, allocations: 109.4 kB / 464.6 MB, free: 6.453 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003339/0.3675, allocations: 270.6 kB / 464.9 MB, free: 6.211 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005489/0.368, allocations: 402.8 kB / 465.3 MB, free: 5.902 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.368, allocations: 5.656 kB / 465.3 MB, free: 5.898 MB / 366.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008272/0.3689, allocations: 429.5 kB / 465.7 MB, free: 5.715 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.3689, allocations: 13.08 kB / 465.7 MB, free: 5.711 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.3689, allocations: 8.422 kB / 465.7 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/0.3689, allocations: 8.25 kB / 465.7 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/0.3692, allocations: 64.64 kB / 465.8 MB, free: 5.695 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.815e-05/0.3692, allocations: 17.69 kB / 465.8 MB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.3693, allocations: 39.23 kB / 465.9 MB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-05/0.3694, allocations: 22.83 kB / 465.9 MB, free: 5.656 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 50 (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,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.u[1],sharedMemoryRead.internalTrigger,sharedMemoryWrite.internalTrigger,enable.y,zeroCrossing1.enable,$PRE.zeroCrossing1.enable,zeroCrossing1.disable,$PRE.zeroCrossing1.disable,zeroCrossing1.u_pos,$PRE.zeroCrossing1.u_pos,getReal.pkgOut[1].trigger,addInteger.pkgOut[1].trigger,$whenCondition1,$whenCondition2,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 (58): * Single equations (assignments): 58 * 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.0002344/0.3696, allocations: 206.2 kB / 466.1 MB, free: 5.496 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.994e-05/0.3697, allocations: 28.62 kB / 466.1 MB, free: 5.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005292/0.3702, allocations: 299.9 kB / 466.4 MB, free: 5.355 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.3702, allocations: 8.281 kB / 466.4 MB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.3702, allocations: 1.312 kB / 466.4 MB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.3702, allocations: 3.672 kB / 466.4 MB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009089/0.3711, allocations: 0.6547 MB / 467.1 MB, free: 4.961 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.3711, allocations: 1.938 kB / 467.1 MB, free: 4.961 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.545e-05/0.3712, allocations: 11.78 kB / 467.1 MB, free: 4.961 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.3712, allocations: 9.312 kB / 467.1 MB, free: 4.953 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/0.3712, allocations: 9.391 kB / 467.1 MB, free: 4.953 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.3712, allocations: 2.75 kB / 467.1 MB, free: 4.953 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3712, allocations: 5.828 kB / 467.1 MB, free: 4.949 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006166/0.3718, allocations: 0.4886 MB / 467.6 MB, free: 4.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.512e-05/0.3719, allocations: 28.89 kB / 467.6 MB, free: 4.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.141e-05/0.3719, allocations: 10.98 kB / 467.6 MB, free: 4.656 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.372, allocations: 9.406 kB / 467.7 MB, free: 4.652 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.222e-05/0.3721, allocations: 22.53 kB / 467.7 MB, free: 4.648 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.585e-05/0.3721, allocations: 20.73 kB / 467.7 MB, free: 4.641 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.726e-05/0.3722, allocations: 135.3 kB / 467.8 MB, free: 4.547 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3722, allocations: 0 / 467.8 MB, free: 4.547 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005586/0.3728, allocations: 130.2 kB / 468 MB, free: 4.5 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 30 (sharedMemoryWrite.internalTrigger,sharedMemoryRead.internalTrigger,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,sharedMemoryRead.bufferSize,getReal.pkgOut[1].trigger,addInteger.pkgOut[1].trigger,$whenCondition2,$whenCondition1,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],sharedMemoryWrite.bufferSize,sharedMemoryWrite.dummy,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,getInteger.y[1],getInteger.dummy,sharedMemoryRead.pkgOut.dummy,zeroCrossing1.u_pos,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,sharedMemoryWrite.pkgIn.userPkgBitSize,sharedMemoryWrite.pkgIn.autoPkgBitSize) * Number of discrete states: 1 (zeroCrossing1.u_pos) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 12 * 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.0007483/0.3735, allocations: 309.2 kB / 468.3 MB, free: 4.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005923/0.3741, allocations: 288.8 kB / 468.5 MB, free: 4.254 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3741, allocations: 0 / 468.5 MB, free: 4.254 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002561/0.3744, allocations: 131.9 kB / 468.7 MB, free: 4.211 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004843/0.3748, allocations: 66.41 kB / 468.7 MB, free: 4.188 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009773/0.3758, allocations: 0.5561 MB / 469.3 MB, free: 3.832 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.376, allocations: 178.9 kB / 469.5 MB, free: 3.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001278/0.3761, allocations: 40.7 kB / 469.5 MB, free: 3.746 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.606e-05/0.3762, allocations: 34.59 kB / 469.5 MB, free: 3.73 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3762, allocations: 0 / 469.5 MB, free: 3.73 MB / 366.1 MB Notification: Performance of Templates: time 0.008985/0.3852, allocations: 4.314 MB / 473.9 MB, free: 2.418 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.makefile [Timeout 660] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.sim & ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.876459609717131] Failed to read output from testmodel.py, exit status != 0: 0.393277108669281 0.407619639 0.04430268599999994 Calling exit ...