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.001408/0.001408, allocations: 75.75 kB / 20.55 MB, free: 1.086 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.00168/0.00168, allocations: 161.3 kB / 23.8 MB, free: 4.172 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.563/1.563, allocations: 177.2 MB / 204.2 MB, free: 8.984 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.06236/0.06236, allocations: 9.159 MB / 269.7 MB, free: 7.902 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.002404/0.002404, allocations: 72.03 kB / 398 MB, free: 6.547 MB / 366.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.127/0.1294, allocations: 56.35 MB / 454.4 MB, free: 14.1 MB / 430.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger): time 0.006022/0.1354, allocations: 2.886 MB / 457.3 MB, free: 11.2 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.1374, allocations: 0.7278 MB / 458 MB, free: 10.46 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.1375, allocations: 11.88 kB / 458 MB, free: 10.45 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002898/0.1378, allocations: 67.33 kB / 458.1 MB, free: 10.39 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001833/0.138, allocations: 47.59 kB / 458.1 MB, free: 10.34 MB / 430.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.0007481/0.1387, allocations: 239.2 kB / 458.4 MB, free: 10.11 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004419/0.1392, allocations: 323.2 kB / 458.7 MB, free: 9.789 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002773/0.1394, allocations: 105.8 kB / 458.8 MB, free: 9.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001984/0.1396, allocations: 155.5 kB / 458.9 MB, free: 9.527 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002642/0.1399, allocations: 163.2 kB / 459.1 MB, free: 9.367 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.164e-05/0.14, allocations: 40 kB / 459.1 MB, free: 9.328 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002948/0.1402, allocations: 159.8 kB / 459.3 MB, free: 9.172 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001543/0.1404, allocations: 111.7 kB / 459.4 MB, free: 9.062 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001595/0.1406, allocations: 139.2 kB / 459.5 MB, free: 8.926 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000715/0.1413, allocations: 0.5174 MB / 460.1 MB, free: 8.406 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1413, allocations: 4 kB / 460.1 MB, free: 8.402 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1413, allocations: 0 / 460.1 MB, free: 8.402 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.839e-06/0.1413, allocations: 0 / 460.1 MB, free: 8.402 MB / 430.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.001552/0.1428, allocations: 0.8026 MB / 460.9 MB, free: 7.547 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.1429, allocations: 8.031 kB / 460.9 MB, free: 7.539 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001919/0.1431, allocations: 44.7 kB / 460.9 MB, free: 7.496 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004454/0.1435, allocations: 229.9 kB / 461.1 MB, free: 7.246 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.906e-05/0.1436, allocations: 32.97 kB / 461.2 MB, free: 7.215 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.944e-05/0.1436, allocations: 36.36 kB / 461.2 MB, free: 7.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008815/0.1445, allocations: 399.9 kB / 461.6 MB, free: 6.762 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.1445, allocations: 192 / 461.6 MB, free: 6.762 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.381e-05/0.1446, allocations: 19.92 kB / 461.6 MB, free: 6.742 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.1446, allocations: 12 kB / 461.6 MB, free: 6.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004601/0.145, allocations: 213.8 kB / 461.8 MB, free: 6.516 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001593/0.1466, allocations: 1.137 MB / 463 MB, free: 5.328 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005757/0.1472, allocations: 265.1 kB / 463.2 MB, free: 5.023 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002301/0.1474, allocations: 123.4 kB / 463.3 MB, free: 4.891 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.991e-05/0.1475, allocations: 4 kB / 463.4 MB, free: 4.887 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004598/0.1479, allocations: 232.5 kB / 463.6 MB, free: 4.625 MB / 430.1 MB Notification: Performance of pre-optimization done (n=34): time 2.705e-06/0.1479, allocations: 0 / 463.6 MB, free: 4.625 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.001158/0.1491, allocations: 487.8 kB / 464.1 MB, free: 4.145 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001625/0.1493, allocations: 174.4 kB / 464.2 MB, free: 3.938 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/0.1495, allocations: 231.7 kB / 464.5 MB, free: 3.703 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.874e-05/0.1496, allocations: 37.69 kB / 464.5 MB, free: 3.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.1497, allocations: 192.8 kB / 464.7 MB, free: 3.469 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.73e-05/0.1498, allocations: 87.31 kB / 464.8 MB, free: 3.383 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.15, allocations: 106.2 kB / 464.9 MB, free: 3.273 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.1502, allocations: 342.8 kB / 465.2 MB, free: 2.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.1504, allocations: 104.9 kB / 465.3 MB, free: 2.824 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000365/0.1508, allocations: 277.3 kB / 465.6 MB, free: 2.484 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006286/0.1514, allocations: 408.4 kB / 466 MB, free: 2.012 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.1514, allocations: 0 / 466 MB, free: 2.012 MB / 430.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009322/0.1523, allocations: 436.8 kB / 466.4 MB, free: 1.578 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.1523, allocations: 8 kB / 466.4 MB, free: 1.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.1524, allocations: 4 kB / 466.4 MB, free: 1.566 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.1524, allocations: 8 kB / 466.4 MB, free: 1.559 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002552/0.1526, allocations: 63.84 kB / 466.5 MB, free: 1.496 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.696e-05/0.1527, allocations: 12.53 kB / 466.5 MB, free: 1.484 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.1529, allocations: 43.73 kB / 466.5 MB, free: 1.441 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.105e-05/0.1529, allocations: 23.98 kB / 466.6 MB, free: 1.418 MB / 430.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.0003555/0.1533, allocations: 207 kB / 466.8 MB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.76e-05/0.1533, allocations: 23.86 kB / 466.8 MB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006191/0.1539, allocations: 297 kB / 467.1 MB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.154, allocations: 7.938 kB / 467.1 MB, free: 0.875 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/0.154, allocations: 8 kB / 467.1 MB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.154, allocations: 3.984 kB / 467.1 MB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/0.1552, allocations: 0.6521 MB / 467.7 MB, free: 180 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.1552, allocations: 0 / 467.7 MB, free: 180 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.384e-05/0.1553, allocations: 15.98 kB / 467.8 MB, free: 164 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.511e-05/0.1553, allocations: 7.938 kB / 467.8 MB, free: 156 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/0.1553, allocations: 7.984 kB / 467.8 MB, free: 148 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.1553, allocations: 4 kB / 467.8 MB, free: 144 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.1553, allocations: 0 / 467.8 MB, free: 144 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009459/0.1563, allocations: 0.4975 MB / 468.3 MB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.563e-05/0.1563, allocations: 31.73 kB / 468.3 MB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.413e-05/0.1563, allocations: 16.05 kB / 468.3 MB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.1565, allocations: 4 kB / 468.3 MB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.061e-05/0.1565, allocations: 23.95 kB / 468.4 MB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-05/0.1566, allocations: 16.09 kB / 468.4 MB, free: 15.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000134/0.1567, allocations: 140.5 kB / 468.5 MB, free: 15.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1567, allocations: 0 / 468.5 MB, free: 15.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000609/0.1573, allocations: 127.6 kB / 468.6 MB, free: 15.26 MB / 446.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.001011/0.1583, allocations: 330.6 kB / 469 MB, free: 15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007064/0.159, allocations: 288.7 kB / 469.2 MB, free: 14.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.1591, allocations: 0 / 469.2 MB, free: 14.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002591/0.1593, allocations: 124 kB / 469.4 MB, free: 14.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004901/0.1598, allocations: 59 kB / 469.4 MB, free: 14.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.1611, allocations: 0.5542 MB / 470 MB, free: 13.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.1614, allocations: 181.6 kB / 470.1 MB, free: 13.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001514/0.1616, allocations: 38.95 kB / 470.2 MB, free: 13.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.467e-05/0.1616, allocations: 32.48 kB / 470.2 MB, free: 13.68 MB / 446.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1616, allocations: 0 / 470.2 MB, free: 13.68 MB / 446.1 MB Notification: Performance of Templates: time 0.0112/0.1728, allocations: 4.315 MB / 474.5 MB, free: 9.457 MB / 446.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 -s ida -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.93937693501357] Failed to read output from testmodel.py, exit status != 0: 0.1827151559991762 0.40713688899999995 0.26242800499999996 Calling exit ...