Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger.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.001241/0.001241, allocations: 76.55 kB / 19.96 MB, free: 4.598 MB / 18.57 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.001099/0.001099, allocations: 174.3 kB / 23.25 MB, free: 1.312 MB / 18.57 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.099/1.099, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.04758/0.04758, allocations: 9.133 MB / 269.1 MB, free: 4.48 MB / 250.7 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_ExternalTrigger",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_ExternalTrigger",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 397.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.226e-05/1.367e-05, allocations: 6.219 kB / 397.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger): time 0.002803/0.002817, allocations: 2.708 MB / 400.5 MB, free: 12.56 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008073/0.003624, allocations: 0.6693 MB / 401.2 MB, free: 11.89 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.105e-05/0.003715, allocations: 19.81 kB / 401.2 MB, free: 11.87 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002004/0.003916, allocations: 55.41 kB / 401.3 MB, free: 11.81 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.004042, allocations: 51.45 kB / 401.3 MB, free: 11.76 MB / 330.7 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:139:5-153:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitPack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitPack'. [/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/Packaging/SerialPackager.mo:98:7-105:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.resetPointer' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.resetPointer'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:155:5-169:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitUnpack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitUnpack'. [/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'. Notification: Performance of NFTyping.typeClassSections: time 0.0004277/0.00447, allocations: 231.2 kB / 401.6 MB, free: 11.54 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002746/0.004745, allocations: 343.1 kB / 401.9 MB, free: 11.2 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001938/0.004938, allocations: 111.4 kB / 402 MB, free: 11.09 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001695/0.005108, allocations: 239.6 kB / 402.2 MB, free: 10.86 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.005281, allocations: 163.5 kB / 402.4 MB, free: 10.7 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.313e-05/0.005324, allocations: 40 kB / 402.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.005466, allocations: 135.8 kB / 402.6 MB, free: 10.53 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.005576, allocations: 135.6 kB / 402.7 MB, free: 10.39 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.247e-05/0.005658, allocations: 115.7 kB / 402.8 MB, free: 10.28 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004085/0.006067, allocations: 0.5568 MB / 403.4 MB, free: 9.723 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.006069, allocations: 0 / 403.4 MB, free: 9.723 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.00607, allocations: 4 kB / 403.4 MB, free: 9.719 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.006075, allocations: 0 / 403.4 MB, free: 9.719 MB / 330.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: unpackInt1.pkgOut[1].pkg = unpackInt1.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt.pkgIn.pkg resetPointer.pkgOut[1].pkg = resetPointer.pkgIn.pkg packInt1.pkgOut[1].pkg = packInt1.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg packInt.pkgOut[1].pkg = packInt.pkgIn.pkg unpackInt1.pkgOut[1].pkg = getInteger.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt1.pkgIn.pkg resetPointer.pkgOut[1].pkg = unpackInt.pkgIn.pkg addInteger.pkgOut[1].pkg = resetPointer.pkgIn.pkg packInt1.pkgOut[1].pkg = addInteger.pkgIn.pkg packInt.pkgOut[1].pkg = packInt1.pkgIn.pkg packager.pkgOut.pkg = packInt.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001094/0.007169, allocations: 0.9681 MB / 404.4 MB, free: 8.68 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.007205, allocations: 8.031 kB / 404.4 MB, free: 8.672 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.762e-05/0.007263, allocations: 74.7 kB / 404.4 MB, free: 8.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/0.007315, allocations: 44.7 kB / 404.5 MB, free: 8.547 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.007522, allocations: 229.2 kB / 404.7 MB, free: 8.297 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.007548, allocations: 33.36 kB / 404.7 MB, free: 8.266 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.075e-05/0.007578, allocations: 32.38 kB / 404.8 MB, free: 8.234 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004385/0.008017, allocations: 410.3 kB / 405.2 MB, free: 7.816 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.008028, allocations: 192 / 405.2 MB, free: 7.816 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.00805, allocations: 16.38 kB / 405.2 MB, free: 7.801 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.008061, allocations: 12.12 kB / 405.2 MB, free: 7.789 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002665/0.008327, allocations: 219.8 kB / 405.4 MB, free: 7.574 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008381/0.009165, allocations: 0.9842 MB / 406.4 MB, free: 6.531 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000318/0.009483, allocations: 250.3 kB / 406.6 MB, free: 6.25 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.0096, allocations: 111.5 kB / 406.7 MB, free: 6.129 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.009621, allocations: 7.938 kB / 406.8 MB, free: 6.121 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001885/0.009809, allocations: 202.7 kB / 406.9 MB, free: 5.898 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 1.582e-06/0.009811, allocations: 0 / 406.9 MB, free: 5.898 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005702/0.01038, allocations: 439.8 kB / 407.4 MB, free: 5.465 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.412e-05/0.01046, allocations: 152.4 kB / 407.5 MB, free: 5.285 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.01059, allocations: 192.8 kB / 407.7 MB, free: 5.078 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.01061, allocations: 41.83 kB / 407.8 MB, free: 5.031 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.88e-05/0.0107, allocations: 192.9 kB / 407.9 MB, free: 4.836 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.567e-05/0.01074, allocations: 79.39 kB / 408 MB, free: 4.758 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.126e-05/0.01083, allocations: 98.11 kB / 408.1 MB, free: 4.656 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.959e-05/0.0109, allocations: 330.8 kB / 408.4 MB, free: 4.324 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.01101, allocations: 84.95 kB / 408.5 MB, free: 4.242 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.01117, allocations: 231.8 kB / 408.8 MB, free: 3.949 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002843/0.01145, allocations: 346.5 kB / 409.1 MB, free: 3.543 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.01146, allocations: 4 kB / 409.1 MB, free: 3.539 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003513/0.01181, allocations: 361.4 kB / 409.4 MB, free: 3.18 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.01182, allocations: 7.938 kB / 409.5 MB, free: 3.172 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.01183, allocations: 8 kB / 409.5 MB, free: 3.164 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.01184, allocations: 8 kB / 409.5 MB, free: 3.156 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.01195, allocations: 55.91 kB / 409.5 MB, free: 3.102 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.01196, allocations: 11.94 kB / 409.5 MB, free: 3.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.841e-05/0.01203, allocations: 27.84 kB / 409.6 MB, free: 3.062 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.01205, allocations: 16 kB / 409.6 MB, free: 3.047 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 46 (unpackInt1.dummy,$PRE.unpackInt1.dummy,unpackInt1.y,$PRE.unpackInt1.y,unpackInt1.pkgOut[1].dummy,$PRE.unpackInt1.pkgOut[1].dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[1],$PRE.getInteger.y[1],unpackInt.dummy,$PRE.unpackInt.dummy,unpackInt.y,$PRE.unpackInt.y,unpackInt.pkgOut[1].dummy,$PRE.unpackInt.pkgOut[1].dummy,resetPointer.dummy,$PRE.resetPointer.dummy,resetPointer.pkgOut[1].dummy,$PRE.resetPointer.pkgOut[1].dummy,packInt1.pkgOut[1].dummy,$PRE.packInt1.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,packInt.pkgOut[1].dummy,$PRE.packInt.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,addInteger.u[1],iExp2.y,unpackInt1.pkgOut[1].trigger,iExp.y,$PRE.iExp.y,$whenCondition1,unpackInt1.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,unpackInt.pkgIn.autoPkgBitSize,packager.internalTrigger,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,resetPointer.pkgIn.autoPkgBitSize,packInt1.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,packInt.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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.0001476/0.0122, allocations: 215.9 kB / 409.8 MB, free: 2.828 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.01222, allocations: 27.83 kB / 409.8 MB, free: 2.801 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.025e-05/0.01225, allocations: 21.06 kB / 409.8 MB, free: 2.781 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.01225, allocations: 4 kB / 409.8 MB, free: 2.777 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.01226, allocations: 0 / 409.8 MB, free: 2.777 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.01226, allocations: 3.984 kB / 409.8 MB, free: 2.773 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006033/0.01287, allocations: 0.7081 MB / 410.6 MB, free: 2.016 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01287, allocations: 0 / 410.6 MB, free: 2.016 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.496e-05/0.01289, allocations: 19.86 kB / 410.6 MB, free: 1.996 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.0129, allocations: 4 kB / 410.6 MB, free: 1.992 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.01291, allocations: 11.98 kB / 410.6 MB, free: 1.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.01291, allocations: 256 / 410.6 MB, free: 1.98 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01292, allocations: 4 kB / 410.6 MB, free: 1.977 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003923/0.01331, allocations: 469.8 kB / 411.1 MB, free: 1.492 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.702e-05/0.01332, allocations: 23.8 kB / 411.1 MB, free: 1.469 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.01335, allocations: 7.984 kB / 411.1 MB, free: 1.461 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.896e-05/0.01339, allocations: 7.938 kB / 411.1 MB, free: 1.453 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.01344, allocations: 19.97 kB / 411.1 MB, free: 1.434 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.01346, allocations: 15.98 kB / 411.1 MB, free: 1.418 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.587e-05/0.01351, allocations: 131.3 kB / 411.3 MB, free: 1.289 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01351, allocations: 0 / 411.3 MB, free: 1.289 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002854/0.0138, allocations: 107.6 kB / 411.4 MB, free: 1.184 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 29 (packager.internalTrigger,unpackInt.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,unpackInt1.pkgOut[1].trigger,$whenCondition1,iExp.y,packager.pkgOut.dummy,packInt.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],iExp2.y,packInt1.pkgOut[1].dummy,resetPointer.pkgOut[1].dummy,resetPointer.dummy,unpackInt.pkgOut[1].dummy,unpackInt.y,unpackInt.dummy,getInteger.y[1],getInteger.dummy,unpackInt1.pkgOut[1].dummy,unpackInt1.y,unpackInt1.dummy,packager.backwardPropagatedBufferSize,packager.bufferSize,packInt.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,packInt1.pkgIn.autoPkgBitSize,resetPointer.pkgIn.autoPkgBitSize) * Number of discrete states: 1 (iExp.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 20 * 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.000746/0.01455, allocations: 1.1 MB / 412.5 MB, free: 56 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.1555/0.1701, allocations: 242.7 kB / 412.7 MB, free: 27.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.1701, allocations: 0 / 412.7 MB, free: 27.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002283/0.1703, allocations: 102.2 kB / 412.8 MB, free: 27.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.1707, allocations: 52.52 kB / 412.8 MB, free: 27.75 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002539/0.1733, allocations: 2.716 MB / 415.6 MB, free: 25.89 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.1734, allocations: 176.3 kB / 415.7 MB, free: 25.8 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.081e-05/0.1735, allocations: 32.8 kB / 415.8 MB, free: 25.8 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.1736, allocations: 87.02 kB / 415.9 MB, free: 25.74 MB / 330.7 MB Notification: Performance of SimCode: time 2.464e-06/0.1736, allocations: 0 / 415.9 MB, free: 25.74 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09851/0.2721, allocations: 7.243 MB / 423.1 MB, free: 24.28 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.507/8.779, allocations: 3.438 kB / 423.1 MB, free: 24.28 MB / 330.7 MB " [Timeout remaining time 651] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_ExternalTrigger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_ExternalTrigger.fmu) > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger.pipe 2>&1) [Timeout 252.0] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_ExternalTrigger_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_ExternalTrigger_OMSimulator-cs-cvode.fmu) > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger_OMSimulator-cs-euler.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_ExternalTrigger_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_ExternalTrigger_OMSimulator-cs-euler.fmu) > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger_fmpy.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger_fmpy.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger_fmpy_res.csv --start-time 0 --stop-time 5 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ../Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_ExternalTrigger.fmu) > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger_fmpy.pipe 2>&1) [Timeout 252.0] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 11.941136877983809]