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.001322/0.001322, allocations: 104 kB / 16.45 MB, free: 6.402 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.001364/0.001364, allocations: 182.4 kB / 17.38 MB, free: 5.676 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.335/1.335, allocations: 222.9 MB / 241.1 MB, free: 15.07 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.05629/0.05629, allocations: 12.05 MB / 303.3 MB, free: 3.09 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 59.91 kB / 419.6 MB, free: 17.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09101/0.09221, allocations: 52.31 MB / 471.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger): time 0.005053/0.09731, allocations: 2.807 MB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.09903, allocations: 0.7511 MB / 475.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000229/0.09928, allocations: 7.938 kB / 475.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003704/0.09966, allocations: 67.34 kB / 475.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002656/0.09994, allocations: 47.59 kB / 475.6 MB, free: 9.66 MB / 350.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.0008173/0.1008, allocations: 227.4 kB / 475.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00046/0.1013, allocations: 331.1 kB / 476.1 MB, free: 9.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003458/0.1016, allocations: 189.2 kB / 476.3 MB, free: 8.922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002152/0.1018, allocations: 159.4 kB / 476.5 MB, free: 8.766 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002984/0.1022, allocations: 179.2 kB / 476.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.698e-05/0.1022, allocations: 36 kB / 476.7 MB, free: 8.555 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003089/0.1025, allocations: 151.9 kB / 476.8 MB, free: 8.406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.1027, allocations: 115.7 kB / 476.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001568/0.1028, allocations: 167.1 kB / 477.1 MB, free: 8.129 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005846/0.1034, allocations: 0.5251 MB / 477.6 MB, free: 7.602 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1034, allocations: 0 / 477.6 MB, free: 7.602 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1035, allocations: 0 / 477.6 MB, free: 7.602 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.849e-05/0.1035, allocations: 0 / 477.6 MB, free: 7.602 MB / 350.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.001591/0.1051, allocations: 0.8851 MB / 478.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.1051, allocations: 8.031 kB / 478.5 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001064/0.1052, allocations: 74.7 kB / 478.6 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.1054, allocations: 40.7 kB / 478.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003671/0.1057, allocations: 291.8 kB / 478.9 MB, free: 6.191 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.004e-05/0.1058, allocations: 33.03 kB / 478.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.755e-05/0.1058, allocations: 36.36 kB / 479 MB, free: 6.125 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006396/0.1065, allocations: 391.8 kB / 479.4 MB, free: 5.723 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.1065, allocations: 3.938 kB / 479.4 MB, free: 5.719 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.1065, allocations: 23.92 kB / 479.4 MB, free: 5.695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.1066, allocations: 12 kB / 479.4 MB, free: 5.684 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003997/0.107, allocations: 217.6 kB / 479.6 MB, free: 5.469 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.1085, allocations: 1.315 MB / 480.9 MB, free: 4.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004321/0.109, allocations: 285.1 kB / 481.2 MB, free: 3.754 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.1092, allocations: 128.2 kB / 481.3 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/0.1092, allocations: 8 kB / 481.3 MB, free: 3.605 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003314/0.1095, allocations: 228.6 kB / 481.6 MB, free: 3.352 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 2.875e-06/0.1096, allocations: 0 / 481.6 MB, free: 3.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009234/0.1105, allocations: 494.5 kB / 482 MB, free: 2.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.366e-05/0.1106, allocations: 170.2 kB / 482.2 MB, free: 2.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.1108, allocations: 231.9 kB / 482.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/0.1109, allocations: 41.69 kB / 482.5 MB, free: 2.375 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.111, allocations: 188.8 kB / 482.7 MB, free: 2.184 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.084e-05/0.1111, allocations: 83.38 kB / 482.7 MB, free: 2.102 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.1112, allocations: 106.2 kB / 482.8 MB, free: 1.992 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.1114, allocations: 338.8 kB / 483.2 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.1116, allocations: 113 kB / 483.3 MB, free: 1.543 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002903/0.1119, allocations: 270 kB / 483.5 MB, free: 1.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004821/0.1124, allocations: 400.2 kB / 483.9 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.1124, allocations: 0 / 483.9 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006853/0.1131, allocations: 440.7 kB / 484.4 MB, free: 312 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1131, allocations: 4.656 kB / 484.4 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.1131, allocations: 8 kB / 484.4 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.1131, allocations: 15.94 kB / 484.4 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.1134, allocations: 67.83 kB / 484.5 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/0.1134, allocations: 8.094 kB / 484.5 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.1136, allocations: 39.67 kB / 484.5 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.558e-05/0.1136, allocations: 27.98 kB / 484.5 MB, free: 140 kB / 350.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.0002329/0.1139, allocations: 207 kB / 484.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.236e-05/0.1139, allocations: 23.86 kB / 484.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005074/0.1144, allocations: 299.3 kB / 485.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.1144, allocations: 4 kB / 485.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.1145, allocations: 0 / 485.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.1145, allocations: 3.984 kB / 485.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009987/0.1155, allocations: 0.7743 MB / 485.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.1155, allocations: 320 / 485.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.182e-05/0.1156, allocations: 27.92 kB / 485.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.1156, allocations: 0 / 485.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.808e-05/0.1156, allocations: 15.98 kB / 485.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.1156, allocations: 0 / 485.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1156, allocations: 0 / 485.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006623/0.1163, allocations: 0.4974 MB / 486.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.409e-05/0.1164, allocations: 100.9 kB / 486.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.523e-05/0.1164, allocations: 7.984 kB / 486.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.1165, allocations: 8 kB / 486.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.408e-05/0.1166, allocations: 23.97 kB / 486.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.3e-05/0.1166, allocations: 15.98 kB / 486.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.156e-05/0.1167, allocations: 123.2 kB / 486.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.475e-06/0.1167, allocations: 4 kB / 486.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005076/0.1173, allocations: 127.6 kB / 486.8 MB, free: 13.78 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.001378/0.1186, allocations: 1.225 MB / 488 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005634/0.1192, allocations: 312.8 kB / 488.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1192, allocations: 8.062 kB / 488.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002351/0.1195, allocations: 131.8 kB / 488.4 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004892/0.12, allocations: 64.66 kB / 488.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003425/0.1234, allocations: 3.045 MB / 491.6 MB, free: 8.785 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.1238, allocations: 0.7798 MB / 492.3 MB, free: 7.977 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001236/0.1239, allocations: 38.95 kB / 492.4 MB, free: 7.938 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.1241, allocations: 95.39 kB / 492.5 MB, free: 7.848 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1241, allocations: 0 / 492.5 MB, free: 7.848 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02466/0.1487, allocations: 6.946 MB / 499.4 MB, free: 1.121 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.119/8.268, allocations: 6.875 kB / 499.4 MB, free: 1.121 MB / 366.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)