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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 110 kB / 17.12 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001948/0.001948, allocations: 188.6 kB / 20.07 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 222.9 MB / 245.8 MB, free: 4.316 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.1631/0.1631, allocations: 12.01 MB / 310 MB, free: 1.547 MB / 238.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 63.89 kB / 428.3 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2425, allocations: 52.33 MB / 480.6 MB, free: 17.94 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger): time 0.003594/0.2461, allocations: 2.804 MB / 483.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.2474, allocations: 0.7524 MB / 484.2 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.2475, allocations: 4.812 kB / 484.2 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002304/0.2478, allocations: 64.69 kB / 484.2 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001708/0.248, allocations: 53.39 kB / 484.3 MB, free: 15.05 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.0005262/0.2485, allocations: 227.9 kB / 484.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003104/0.2488, allocations: 317.4 kB / 484.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002914/0.2491, allocations: 192.2 kB / 485 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.2493, allocations: 162 kB / 485.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002133/0.2495, allocations: 183 kB / 485.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.245e-05/0.2496, allocations: 39.03 kB / 485.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002308/0.2498, allocations: 149.6 kB / 485.5 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.2499, allocations: 111.8 kB / 485.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.2501, allocations: 175.6 kB / 485.8 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005065/0.2506, allocations: 0.5156 MB / 486.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2506, allocations: 1.031 kB / 486.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2506, allocations: 0 / 486.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.2506, allocations: 0 / 486.3 MB, free: 13.68 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.001192/0.2518, allocations: 0.884 MB / 487.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.2519, allocations: 13.59 kB / 487.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.135e-05/0.2519, allocations: 78.98 kB / 487.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.55e-05/0.252, allocations: 39.52 kB / 487.3 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.2523, allocations: 289.2 kB / 487.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.765e-05/0.2523, allocations: 27.52 kB / 487.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.418e-05/0.2524, allocations: 31.62 kB / 487.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005677/0.2529, allocations: 403.9 kB / 488.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.253, allocations: 5.219 kB / 488.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.277e-05/0.253, allocations: 11.25 kB / 488.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.253, allocations: 9.406 kB / 488.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003812/0.2534, allocations: 214.8 kB / 488.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.2546, allocations: 1.313 MB / 489.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003963/0.255, allocations: 276.8 kB / 489.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.2552, allocations: 143 kB / 490 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.635e-05/0.2552, allocations: 3.875 kB / 490 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003049/0.2555, allocations: 234.7 kB / 490.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 2.605e-06/0.2556, allocations: 0 / 490.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008435/0.2564, allocations: 492.3 kB / 490.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/0.2565, allocations: 175.9 kB / 490.9 MB, free: 9.957 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.2566, allocations: 233.3 kB / 491.1 MB, free: 9.773 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.2567, allocations: 39.95 kB / 491.2 MB, free: 9.734 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.338e-05/0.2568, allocations: 182.9 kB / 491.4 MB, free: 9.566 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.338e-05/0.2568, allocations: 89.45 kB / 491.5 MB, free: 9.492 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.2569, allocations: 111.3 kB / 491.6 MB, free: 9.422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.39e-05/0.257, allocations: 341.2 kB / 491.9 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.2572, allocations: 104.4 kB / 492 MB, free: 9.039 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/0.2574, allocations: 279.7 kB / 492.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004076/0.2579, allocations: 402.6 kB / 492.7 MB, free: 8.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.2579, allocations: 1.25 kB / 492.7 MB, free: 8.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006219/0.2585, allocations: 422.2 kB / 493.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.2585, allocations: 8.844 kB / 493.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.2585, allocations: 5.188 kB / 493.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.2586, allocations: 12.16 kB / 493.1 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.2588, allocations: 63.88 kB / 493.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.2588, allocations: 15.95 kB / 493.2 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.259, allocations: 38.42 kB / 493.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/0.259, allocations: 21.5 kB / 493.2 MB, free: 8.152 MB / 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.0001783/0.2592, allocations: 215.9 kB / 493.5 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.108e-05/0.2592, allocations: 24.02 kB / 493.5 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004473/0.2597, allocations: 296.4 kB / 493.8 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.2597, allocations: 4.281 kB / 493.8 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.2597, allocations: 1.188 kB / 493.8 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.2597, allocations: 9.875 kB / 493.8 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008143/0.2606, allocations: 0.7776 MB / 494.6 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.2606, allocations: 0.9375 kB / 494.6 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.871e-05/0.2606, allocations: 13.84 kB / 494.6 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.2606, allocations: 3 kB / 494.6 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.2607, allocations: 12.11 kB / 494.6 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.2607, allocations: 2.25 kB / 494.6 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2607, allocations: 2.188 kB / 494.6 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005981/0.2613, allocations: 0.4938 MB / 495.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.287e-05/0.2613, allocations: 104.8 kB / 495.2 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.732e-05/0.2614, allocations: 10.8 kB / 495.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.2615, allocations: 11.11 kB / 495.2 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.781e-05/0.2616, allocations: 21.55 kB / 495.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.124e-05/0.2616, allocations: 14.45 kB / 495.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.914e-05/0.2617, allocations: 127.5 kB / 495.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2617, allocations: 0 / 495.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004824/0.2622, allocations: 124.2 kB / 495.5 MB, free: 6.582 MB / 350.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.001292/0.2635, allocations: 1.234 MB / 496.7 MB, free: 5.645 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004818/0.264, allocations: 312.8 kB / 497 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.264, allocations: 4.75 kB / 497 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002075/0.2642, allocations: 140 kB / 497.2 MB, free: 5.445 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.2646, allocations: 59.42 kB / 497.2 MB, free: 5.414 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002544/0.2672, allocations: 3.036 MB / 0.4885 GB, free: 2.445 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001669/0.2674, allocations: 0.7837 MB / 0.4893 GB, free: 1.633 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001034/0.2675, allocations: 46.94 kB / 0.4893 GB, free: 1.586 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.2676, allocations: 91.41 kB / 0.4894 GB, free: 1.5 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2676, allocations: 0 / 0.4894 GB, free: 1.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03086/0.2984, allocations: 6.937 MB / 0.4962 GB, free: 10.78 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.459/8.757, allocations: 8.25 kB / 0.4962 GB, free: 10.77 MB / 366.1 MB " [Timeout remaining time 651] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.42991900909692] Failed to read output from testmodel.py, exit status != 0: 8.830977183999494 8.85369603 8.599339923 Calling exit ...