Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager.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.0008596/0.0008596, allocations: 72.27 kB / 9.855 MB, free: 0.8438 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001337/0.002196, 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.001081/0.001081, allocations: 153.9 kB / 11.18 MB, free: 2.996 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001395/0.002476, 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.8666/0.8666, allocations: 177.1 MB / 189.5 MB, free: 3.781 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1458/1.012, allocations: 53.66 MB / 243.2 MB, free: 2.359 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.03723/0.03723, allocations: 9.164 MB / 253.1 MB, free: 8.922 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.004775/0.04201, allocations: 3.449 MB / 256.5 MB, free: 5.473 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.ClockedBlocks.Examples.TestSerialPackager,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.92e-07/8.92e-07, allocations: 0 / 257.8 MB, free: 4.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.43e-06/6.322e-06, allocations: 6.312 kB / 257.8 MB, free: 4.238 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager): time 0.002784/0.002791, allocations: 3.095 MB / 260.9 MB, free: 1.121 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.004007, allocations: 1.113 MB / 262 MB, free: 0 / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.00412, allocations: 15.92 kB / 262 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.004239, allocations: 67.23 kB / 262.1 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.955e-05/0.004339, allocations: 51.47 kB / 262.1 MB, free: 15.87 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/ClockedBlocks/Packaging.mo:132:9-139:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:141:7-156:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:65:9-74:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:100:9-107:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:158:7-173:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:109:9-119:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.getInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getInteger'. Notification: Performance of NFTyping.typeClassSections: time 0.0005354/0.004874, allocations: 294.8 kB / 262.4 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002946/0.005169, allocations: 387.6 kB / 262.8 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.005325, allocations: 133.2 kB / 262.9 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00021/0.005535, allocations: 291.3 kB / 263.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.005707, allocations: 183.5 kB / 263.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.2e-05/0.005749, allocations: 44 kB / 263.4 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.005906, allocations: 131.9 kB / 263.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.331e-05/0.006, allocations: 115.6 kB / 263.6 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.847e-05/0.006078, allocations: 95.75 kB / 263.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003267/0.006405, allocations: 386.4 kB / 264.1 MB, free: 13.85 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.006411, allocations: 0 / 264.1 MB, free: 13.85 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.006412, allocations: 4 kB / 264.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.006421, allocations: 0 / 264.1 MB, free: 13.84 MB / 266.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: addBoolean.pkgOut[1].pkg = addBoolean.pkgIn.pkg unpackInt1.pkgOut[1].pkg = unpackInt1.pkgIn.pkg getInteger.pkgOut[1].pkg = getInteger.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 addBoolean.pkgOut[1].pkg = resetPointer.pkgIn.pkg getInteger.pkgOut[1].pkg = getBoolean.pkgIn.pkg addInteger.pkgOut[1].pkg = addBoolean.pkgIn.pkg unpackInt1.pkgOut[1].pkg = getInteger.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt1.pkgIn.pkg resetPointer.pkgOut[1].pkg = unpackInt.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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0009414/0.007363, allocations: 1.049 MB / 265.2 MB, free: 12.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.559e-05/0.007388, allocations: 12.62 kB / 265.2 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.813e-05/0.007436, allocations: 78.66 kB / 265.3 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.969e-05/0.007496, allocations: 64.89 kB / 265.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.007686, allocations: 226.9 kB / 265.5 MB, free: 12.3 MB / 266.7 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: packager.initialized = previous(packager.initialized) to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.281e-05/0.007739, allocations: 63.25 kB / 265.6 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/0.007769, allocations: 36.38 kB / 265.6 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007081/0.008477, allocations: 0.9523 MB / 266.6 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.008487, allocations: 8.172 kB / 266.6 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.008508, allocations: 19.94 kB / 266.6 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.008516, allocations: 8 kB / 266.6 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.008645, allocations: 99.3 kB / 266.7 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004174/0.009063, allocations: 0.6002 MB / 267.3 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003741/0.009437, allocations: 411.2 kB / 267.7 MB, free: 9.965 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.009607, allocations: 204.6 kB / 267.9 MB, free: 9.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.994e-05/0.009677, allocations: 40.62 kB / 268 MB, free: 9.711 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.78e-05/0.009745, allocations: 95.41 kB / 268.1 MB, free: 9.594 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 1.674e-06/0.009746, allocations: 0 / 268.1 MB, free: 9.594 MB / 266.7 MB Notification: Performance of matching and sorting (n=84): time 0.0003959/0.01014, allocations: 381.8 kB / 268.4 MB, free: 9.215 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/0.01027, allocations: 208.7 kB / 268.6 MB, free: 8.977 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.469e-05/0.01036, allocations: 203.3 kB / 268.8 MB, free: 8.766 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.01039, allocations: 41.7 kB / 268.9 MB, free: 8.719 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.805e-05/0.01043, allocations: 114.3 kB / 269 MB, free: 8.605 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.01045, allocations: 39.81 kB / 269 MB, free: 8.566 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.322e-05/0.01049, allocations: 57.58 kB / 269.1 MB, free: 8.504 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.119e-05/0.01056, allocations: 330.7 kB / 269.4 MB, free: 8.172 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.376e-05/0.01058, allocations: 11.98 kB / 269.4 MB, free: 8.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.989e-05/0.01062, allocations: 78.59 kB / 269.5 MB, free: 8.059 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.4e-05/0.01068, allocations: 91.58 kB / 269.6 MB, free: 7.941 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.01068, allocations: 0 / 269.6 MB, free: 7.941 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 8.92e-05/0.01077, allocations: 101.5 kB / 269.7 MB, free: 7.836 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.786e-06/0.01078, allocations: 7.125 kB / 269.7 MB, free: 7.832 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.01079, allocations: 4 kB / 269.7 MB, free: 7.828 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.785e-06/0.0108, allocations: 0 / 269.7 MB, free: 7.828 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.307e-05/0.01086, allocations: 32.17 kB / 269.7 MB, free: 7.797 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.307e-06/0.01086, allocations: 4 kB / 269.7 MB, free: 7.793 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.383e-05/0.01091, allocations: 11.98 kB / 269.7 MB, free: 7.781 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.01091, allocations: 7.938 kB / 269.7 MB, free: 7.773 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,sample4.u,integerExpression1.y,integerExpression2.y,integerExpression.y,$CLKPRE.packager.bufferSize,packager.bufferSize,$CLKPRE.packager.backwardPropagatedBufferSize,packager.backwardPropagatedBufferSize,$CLKPRE.packager.initialized,packager.initialized) * Number of discrete states: 0 () * Number of clocked states: 4 (packager.bufferSize,packager.backwardPropagatedBufferSize,packager.dummy,packager.initialized) * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 8.558e-05/0.011, allocations: 144.8 kB / 269.9 MB, free: 7.621 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002337/0.01123, allocations: 265.3 kB / 270.2 MB, free: 7.355 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003589/0.01159, allocations: 318.2 kB / 270.5 MB, free: 7.035 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/0.0116, allocations: 8 kB / 270.5 MB, free: 7.027 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.0116, allocations: 0 / 270.5 MB, free: 7.027 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.01161, allocations: 11.98 kB / 270.5 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.01176, allocations: 244.7 kB / 270.7 MB, free: 6.746 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/0.01177, allocations: 8 kB / 270.7 MB, free: 6.738 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/0.01201, allocations: 139.8 kB / 270.9 MB, free: 6.602 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.01201, allocations: 4 kB / 270.9 MB, free: 6.598 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.01203, allocations: 15.98 kB / 270.9 MB, free: 6.582 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.01203, allocations: 4 kB / 270.9 MB, free: 6.578 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.01204, allocations: 4 kB / 270.9 MB, free: 6.574 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.847e-05/0.0121, allocations: 109.9 kB / 271 MB, free: 6.434 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.695e-05/0.01213, allocations: 51.56 kB / 271 MB, free: 6.383 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.314e-05/0.01216, allocations: 20 kB / 271.1 MB, free: 6.363 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.334e-05/0.01223, allocations: 23.98 kB / 271.1 MB, free: 6.34 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.718e-05/0.01225, allocations: 11.98 kB / 271.1 MB, free: 6.328 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/0.01228, allocations: 19.98 kB / 271.1 MB, free: 6.309 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.202e-05/0.01231, allocations: 50.72 kB / 271.2 MB, free: 6.258 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01231, allocations: 0 / 271.2 MB, free: 6.258 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000202/0.01251, allocations: 91.83 kB / 271.3 MB, free: 6.168 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 62 ($whenCondition1,sample4.u,booleanPulse.pulseStart,integerExpression1.y,integerExpression2.y,integerExpression.y,$cse1,$cse2,$cse3,packager.pkgOut.userPkgBitSize,packager.pkgOut.autoPkgBitSize,packager.initialized,packager.backwardPropagatedBufferSize,packager.bufferSize,packInt.pkgIn.userPkgBitSize,packInt.pkgIn.autoPkgBitSize,packInt.pkgOut[1].userPkgBitSize,packInt.pkgOut[1].autoPkgBitSize,packInt.u,addInteger.pkgIn.userPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addInteger.pkgOut[1].userPkgBitSize,addInteger.pkgOut[1].autoPkgBitSize,addInteger.u[1],packInt1.pkgIn.userPkgBitSize,packInt1.pkgIn.autoPkgBitSize,packInt1.pkgOut[1].userPkgBitSize,packInt1.pkgOut[1].autoPkgBitSize,packInt1.u,resetPointer.pkgIn.userPkgBitSize,resetPointer.pkgIn.autoPkgBitSize,resetPointer.pkgOut[1].userPkgBitSize,resetPointer.pkgOut[1].autoPkgBitSize,unpackInt.pkgIn.userPkgBitSize,unpackInt.pkgIn.autoPkgBitSize,unpackInt.pkgOut[1].userPkgBitSize,unpackInt.pkgOut[1].autoPkgBitSize,unpackInt.y,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getInteger.pkgOut[1].userPkgBitSize,getInteger.pkgOut[1].autoPkgBitSize,getInteger.y[1],unpackInt1.pkgIn.userPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,unpackInt1.pkgOut[1].userPkgBitSize,unpackInt1.pkgOut[1].autoPkgBitSize,unpackInt1.y,sample1.y,sample2.y,sample3.y,addBoolean.pkgIn.userPkgBitSize,addBoolean.pkgIn.autoPkgBitSize,addBoolean.pkgOut[1].userPkgBitSize,addBoolean.pkgOut[1].autoPkgBitSize,addBoolean.u[1],addBoolean.u_int[1],sample4.y,getBoolean.pkgIn.userPkgBitSize,getBoolean.pkgIn.autoPkgBitSize,getBoolean.y[1],getBoolean.y_int[1]) * Number of discrete states: 0 () * Number of clocked states: 4 (packager.initialized,packager.dummy,packager.backwardPropagatedBufferSize,packager.bufferSize) * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 1 * If-equations: 1 * 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.0008434/0.01336, allocations: 1.135 MB / 272.4 MB, free: 5.016 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001745/0.01353, allocations: 159.5 kB / 272.6 MB, free: 4.855 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.01353, allocations: 0 / 272.6 MB, free: 4.855 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.679e-05/0.01356, allocations: 28.77 kB / 272.6 MB, free: 4.824 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006672/0.01423, allocations: 1.081 MB / 273.7 MB, free: 3.699 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.01547, allocations: 1.654 MB / 275.3 MB, free: 1.949 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.918e-05/0.01555, allocations: 158.2 kB / 275.5 MB, free: 1.77 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.169e-05/0.01559, allocations: 18.98 kB / 275.5 MB, free: 1.75 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/0.01578, allocations: 195.3 kB / 275.7 MB, free: 1.559 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01578, allocations: 4 kB / 275.7 MB, free: 1.555 MB / 266.7 MB Notification: Performance of FMU documentation: time 0.08503/0.1008, allocations: 11.13 MB / 286.8 MB, free: 6.68 MB / 282.7 MB Notification: FMU-only work: backend 0.0005223, simCode 0.0004649, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07617/0.177, allocations: 1.401 MB / 288.2 MB, free: 5.211 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.438/2.615, allocations: 15.44 kB / 288.2 MB, free: 5.195 MB / 282.7 MB " [Timeout remaining time 657] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager.fmu) > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager.pipe 2>&1) [Timeout 252.0] OMSimulator failed or timed out simulating it; the others still get to run it (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_OMSimulator-cs-cvode.fmu) > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] OMSimulator-cs-cvode timed out simulating the FMU (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_OMSimulator-cs-euler.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_OMSimulator-cs-euler.fmu) > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] OMSimulator-cs-euler timed out simulating the FMU (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_fmpy.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_fmpy.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_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_ClockedBlocks_Examples_TestSerialPackager.fmu) > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_fmpy.pipe 2>&1) [Timeout 252.0] fmpy timed out simulating the FMU (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_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_ClockedBlocks_Examples_TestSerialPackager_fmpy-fmi3-cs-cvode.fmu) > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] fmpy-fmi3-cs-cvode timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 5.208283916115761]