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.001004/0.001004, allocations: 72.27 kB / 9.855 MB, free: 0.8438 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001365/0.002369, allocations: 447.7 kB / 10.29 MB, free: 416 kB / 10.45 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.001069/0.001069, allocations: 153.9 kB / 11.18 MB, free: 2.996 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001368/0.002437, allocations: 472.2 kB / 11.64 MB, free: 2.531 MB / 13.93 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 0.9547/0.9547, allocations: 177.1 MB / 189.5 MB, free: 3.773 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1452/1.1, allocations: 53.66 MB / 243.2 MB, free: 2.387 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/package.mo): time 0.0388/0.0388, allocations: 9.159 MB / 253.1 MB, free: 8.957 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.005484/0.04429, allocations: 3.457 MB / 256.5 MB, free: 5.5 MB / 250.7 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-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+3.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+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 0 / 257.8 MB, free: 4.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.13e-05/2.397e-05, allocations: 5.969 kB / 257.8 MB, free: 4.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger): time 0.003315/0.003339, allocations: 2.849 MB / 260.6 MB, free: 1.398 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008586/0.004197, allocations: 0.6962 MB / 261.3 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.884e-05/0.004286, allocations: 15.81 kB / 261.3 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001474/0.004433, allocations: 59.45 kB / 261.4 MB, free: 0.625 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.004537, allocations: 55.39 kB / 261.4 MB, free: 0.5703 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-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.2.0-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 2.2.0-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.2.0-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 2.2.0-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 2.2.0-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.0005611/0.005098, allocations: 227.3 kB / 261.7 MB, free: 356 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00032/0.005418, allocations: 335.2 kB / 262 MB, free: 20 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002081/0.005627, allocations: 119.2 kB / 262.1 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002482/0.005875, allocations: 255.5 kB / 262.4 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002435/0.006118, allocations: 167.4 kB / 262.5 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.111e-05/0.006169, allocations: 40 kB / 262.6 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000223/0.006392, allocations: 135.8 kB / 262.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.006515, allocations: 107.7 kB / 262.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.911e-05/0.006604, allocations: 95.75 kB / 262.9 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004496/0.007053, allocations: 358.6 kB / 263.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.405e-05/0.007068, allocations: 0 / 263.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.007069, allocations: 0 / 263.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.007082, allocations: 3.938 kB / 263.2 MB, free: 14.77 MB / 266.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.0009446/0.008026, allocations: 0.8807 MB / 264.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.008061, allocations: 12.62 kB / 264.1 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.086e-05/0.008112, allocations: 78.66 kB / 264.2 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.912e-05/0.008171, allocations: 56.88 kB / 264.3 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.008339, allocations: 177.2 kB / 264.4 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.008366, allocations: 33.38 kB / 264.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.008394, allocations: 36.36 kB / 264.5 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002882/0.008682, allocations: 305.8 kB / 264.8 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.008692, allocations: 192 / 264.8 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.008713, allocations: 20.36 kB / 264.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.008722, allocations: 12.12 kB / 264.8 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.008833, allocations: 86.72 kB / 264.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006779/0.009511, allocations: 0.8252 MB / 265.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.00971, allocations: 198.1 kB / 265.9 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.268e-05/0.009763, allocations: 59.42 kB / 266 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.00979, allocations: 7.938 kB / 266 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001329/0.009923, allocations: 157.5 kB / 266.2 MB, free: 11.6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.262e-06/0.009924, allocations: 0 / 266.2 MB, free: 11.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0002307/0.01015, allocations: 187.8 kB / 266.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.146e-05/0.01022, allocations: 152.4 kB / 266.5 MB, free: 11.23 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.596e-05/0.01031, allocations: 191.1 kB / 266.7 MB, free: 11.03 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.01033, allocations: 37.7 kB / 266.7 MB, free: 10.99 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.728e-05/0.0104, allocations: 180.9 kB / 266.9 MB, free: 10.8 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/0.01044, allocations: 79.48 kB / 267 MB, free: 10.73 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.585e-05/0.01051, allocations: 102.1 kB / 267.1 MB, free: 10.62 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.487e-05/0.01059, allocations: 334.8 kB / 267.4 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.697e-05/0.01063, allocations: 28.98 kB / 267.4 MB, free: 10.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.01073, allocations: 183.8 kB / 267.6 MB, free: 10.01 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.01091, allocations: 265.3 kB / 267.9 MB, free: 9.68 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01091, allocations: 7.938 kB / 267.9 MB, free: 9.672 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000202/0.01112, allocations: 217.9 kB / 268.1 MB, free: 9.453 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.01113, allocations: 11.94 kB / 268.1 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.01114, allocations: 8.031 kB / 268.1 MB, free: 9.434 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.01115, allocations: 8 kB / 268.1 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.01129, allocations: 87.84 kB / 268.2 MB, free: 9.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.383e-06/0.0113, allocations: 15.92 kB / 268.2 MB, free: 9.324 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.943e-05/0.01137, allocations: 27.84 kB / 268.2 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.01138, allocations: 12 kB / 268.3 MB, free: 9.285 MB / 266.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.backwardTrigger,getInteger.pkgIn.userPkgBitSize,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.0001093/0.01149, allocations: 165.8 kB / 268.4 MB, free: 9.113 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.01152, allocations: 27.91 kB / 268.4 MB, free: 9.086 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.567e-05/0.01154, allocations: 21.05 kB / 268.5 MB, free: 9.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.01155, allocations: 4 kB / 268.5 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.01155, allocations: 4.25 kB / 268.5 MB, free: 9.062 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.01156, allocations: 3.938 kB / 268.5 MB, free: 9.059 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004512/0.01201, allocations: 473.6 kB / 268.9 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.01201, allocations: 0 / 268.9 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.476e-05/0.01204, allocations: 11.94 kB / 268.9 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.01205, allocations: 4 kB / 269 MB, free: 8.543 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.01206, allocations: 11.98 kB / 269 MB, free: 8.531 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.01206, allocations: 4 kB / 269 MB, free: 8.527 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.01206, allocations: 0 / 269 MB, free: 8.527 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.01224, allocations: 309.4 kB / 269.3 MB, free: 8.199 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.571e-05/0.01226, allocations: 23.8 kB / 269.3 MB, free: 8.176 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.01227, allocations: 11.92 kB / 269.3 MB, free: 8.164 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.767e-05/0.01232, allocations: 4 kB / 269.3 MB, free: 8.16 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.308e-05/0.01236, allocations: 19.97 kB / 269.3 MB, free: 8.141 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.01237, allocations: 7.984 kB / 269.3 MB, free: 8.133 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.644e-05/0.01239, allocations: 43 kB / 269.4 MB, free: 8.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01239, allocations: 0 / 269.4 MB, free: 8.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002611/0.01265, allocations: 111.6 kB / 269.5 MB, free: 7.98 MB / 266.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.0005307/0.01319, allocations: 0.8586 MB / 270.3 MB, free: 7.094 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000184/0.01337, allocations: 154.5 kB / 270.5 MB, free: 6.941 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.01337, allocations: 0 / 270.5 MB, free: 6.941 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.938e-05/0.01344, allocations: 76.92 kB / 270.6 MB, free: 6.863 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.01366, allocations: 56.02 kB / 270.6 MB, free: 6.809 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.01494, allocations: 1.571 MB / 272.2 MB, free: 5.098 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.201e-05/0.01499, allocations: 96.09 kB / 272.3 MB, free: 4.98 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.449e-05/0.01504, allocations: 26.5 kB / 272.3 MB, free: 4.953 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.01518, allocations: 155.3 kB / 272.5 MB, free: 4.801 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01518, allocations: 0 / 272.5 MB, free: 4.801 MB / 266.7 MB Notification: Performance of FMU documentation: time 0.02581/0.04099, allocations: 8.511 MB / 281 MB, free: 12.61 MB / 282.7 MB Notification: FMU-only work: backend 0.0002479, simCode 0.0006773, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06425/0.1052, allocations: 1.362 MB / 282.3 MB, free: 11.18 MB / 282.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 2.525/2.63, allocations: 11.38 kB / 282.4 MB, free: 11.17 MB / 282.7 MB " [Timeout remaining time 657] (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 (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger_fmpy-fmi3-cs-cvode_res.csv --start-time 0 --stop-time 5 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 0.002 ../Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_ExternalTrigger_fmpy-fmi3-cs-cvode.fmu) > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] [Calling sys.exit(0), Time elapsed: 5.251741485670209]