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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemoryExternalTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemoryExternalTrigger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 105.5 kB / 16.31 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002255/0.002255, allocations: 184.6 kB / 17.24 MB, free: 5.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 240.9 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.0583/0.0583, allocations: 12.04 MB / 303.1 MB, free: 3.188 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 63.91 kB / 366.6 MB, free: 3.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2288, allocations: 52.33 MB / 418.9 MB, free: 21.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger): time 0.004975/0.2338, allocations: 2.798 MB / 421.7 MB, free: 18.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001578/0.2354, allocations: 0.7511 MB / 422.4 MB, free: 17.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001353/0.2356, allocations: 7.938 kB / 422.5 MB, free: 17.51 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002957/0.2359, allocations: 75.33 kB / 422.5 MB, free: 17.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002046/0.2361, allocations: 47.59 kB / 422.6 MB, free: 17.39 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-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.1.1-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.1.1-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.1.1-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.1.1-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.1.1-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.1.1-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.0008359/0.237, allocations: 223.4 kB / 422.8 MB, free: 17.17 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003686/0.2374, allocations: 327.2 kB / 423.1 MB, free: 16.85 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003651/0.2378, allocations: 195.2 kB / 423.3 MB, free: 16.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.2379, allocations: 155.5 kB / 423.5 MB, free: 16.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002507/0.2382, allocations: 175.2 kB / 423.6 MB, free: 16.33 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.703e-05/0.2383, allocations: 39.94 kB / 423.7 MB, free: 16.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002676/0.2386, allocations: 151.9 kB / 423.8 MB, free: 16.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.638e-05/0.2387, allocations: 115.7 kB / 423.9 MB, free: 16.03 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.2388, allocations: 171 kB / 424.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004042/0.2392, allocations: 0.4946 MB / 424.6 MB, free: 15.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2392, allocations: 4 kB / 424.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2392, allocations: 0 / 424.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.2392, allocations: 0 / 424.6 MB, free: 15.36 MB / 302.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.001434/0.2407, allocations: 0.8663 MB / 425.5 MB, free: 14.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.2407, allocations: 8.031 kB / 425.5 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.326e-05/0.2408, allocations: 74.66 kB / 425.5 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.2409, allocations: 44.45 kB / 425.6 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/0.2413, allocations: 287.7 kB / 425.9 MB, free: 13.97 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.957e-05/0.2413, allocations: 29.02 kB / 425.9 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.628e-05/0.2414, allocations: 36.38 kB / 425.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007515/0.2421, allocations: 395.7 kB / 426.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.2422, allocations: 3.938 kB / 426.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.3e-05/0.2422, allocations: 12 kB / 426.3 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.2422, allocations: 11.94 kB / 426.3 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003456/0.2426, allocations: 217.7 kB / 426.6 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001733/0.2443, allocations: 1.315 MB / 427.9 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005632/0.2449, allocations: 281.1 kB / 428.1 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/0.2452, allocations: 132.2 kB / 428.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.305e-05/0.2452, allocations: 7.984 kB / 428.3 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004093/0.2456, allocations: 236.6 kB / 428.5 MB, free: 11.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 3.036e-06/0.2456, allocations: 0 / 428.5 MB, free: 11.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=34): time 0.001139/0.2468, allocations: 483 kB / 429 MB, free: 10.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.554e-05/0.2469, allocations: 174.2 kB / 429.2 MB, free: 10.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/0.2471, allocations: 231.4 kB / 429.4 MB, free: 10.22 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.064e-05/0.2472, allocations: 45.95 kB / 429.4 MB, free: 10.17 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.2473, allocations: 180.5 kB / 429.6 MB, free: 9.984 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.528e-05/0.2474, allocations: 90.92 kB / 429.7 MB, free: 9.895 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001653/0.2475, allocations: 106.2 kB / 429.8 MB, free: 9.785 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.418e-05/0.2476, allocations: 338.8 kB / 430.1 MB, free: 9.445 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002496/0.2479, allocations: 109.1 kB / 430.2 MB, free: 9.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000316/0.2482, allocations: 274 kB / 430.5 MB, free: 8.996 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005541/0.2488, allocations: 400.2 kB / 430.9 MB, free: 8.531 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.2488, allocations: 0 / 430.9 MB, free: 8.531 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008834/0.2497, allocations: 436.5 kB / 431.3 MB, free: 8.098 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.2497, allocations: 8.656 kB / 431.3 MB, free: 8.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.2497, allocations: 4 kB / 431.3 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.044e-05/0.2498, allocations: 15.94 kB / 431.3 MB, free: 8.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003084/0.2501, allocations: 63.84 kB / 431.4 MB, free: 8.008 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.79e-05/0.2501, allocations: 8 kB / 431.4 MB, free: 8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002439/0.2504, allocations: 32 kB / 431.4 MB, free: 7.969 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.292e-05/0.2504, allocations: 31.91 kB / 431.5 MB, free: 7.938 MB / 302.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.0002423/0.2507, allocations: 210.9 kB / 431.7 MB, free: 7.719 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.114e-05/0.2508, allocations: 31.7 kB / 431.7 MB, free: 7.688 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006006/0.2514, allocations: 295.2 kB / 432 MB, free: 7.398 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.2514, allocations: 7.984 kB / 432 MB, free: 7.391 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.2514, allocations: 4 kB / 432 MB, free: 7.387 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.2514, allocations: 0 / 432 MB, free: 7.387 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.2526, allocations: 0.7775 MB / 432.8 MB, free: 6.555 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.2526, allocations: 7.984 kB / 432.8 MB, free: 6.547 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.834e-05/0.2527, allocations: 8 kB / 432.8 MB, free: 6.539 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.2527, allocations: 7.984 kB / 432.8 MB, free: 6.531 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.093e-05/0.2527, allocations: 11.98 kB / 432.8 MB, free: 6.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.2527, allocations: 4 kB / 432.8 MB, free: 6.516 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.2527, allocations: 3.938 kB / 432.8 MB, free: 6.512 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007668/0.2535, allocations: 0.4898 MB / 433.3 MB, free: 5.996 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.07e-05/0.2536, allocations: 96.86 kB / 433.4 MB, free: 5.883 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.13e-05/0.2536, allocations: 11.98 kB / 433.4 MB, free: 5.871 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.2538, allocations: 8 kB / 433.4 MB, free: 5.863 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.511e-05/0.2539, allocations: 19.97 kB / 433.5 MB, free: 5.844 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.19e-05/0.2539, allocations: 15.98 kB / 433.5 MB, free: 5.828 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.73e-05/0.254, allocations: 139.2 kB / 433.6 MB, free: 5.691 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.132e-06/0.254, allocations: 0 / 433.6 MB, free: 5.691 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008006/0.2549, allocations: 127.6 kB / 433.7 MB, free: 5.566 MB / 302.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.001671/0.2565, allocations: 1.222 MB / 435 MB, free: 4.359 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007424/0.2573, allocations: 332.5 kB / 435.3 MB, free: 4.035 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2573, allocations: 0 / 435.3 MB, free: 4.035 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000284/0.2576, allocations: 133.6 kB / 435.4 MB, free: 3.906 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006653/0.2583, allocations: 61.53 kB / 435.5 MB, free: 3.855 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00419/0.2625, allocations: 3.014 MB / 438.5 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004428/0.263, allocations: 0.7798 MB / 439.3 MB, free: 15.79 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002153/0.2632, allocations: 42.94 kB / 439.3 MB, free: 15.75 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/0.2634, allocations: 95.41 kB / 439.4 MB, free: 15.65 MB / 318.1 MB Notification: Performance of SimCode: time 1.132e-06/0.2634, allocations: 4 kB / 439.4 MB, free: 15.65 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03254/0.296, allocations: 6.814 MB / 446.2 MB, free: 9.035 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.755/8.051, allocations: 7.828 kB / 446.2 MB, free: 9.031 MB / 318.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemoryExternalTrigger.fmu > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.pipe 2>&1)