Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String.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.001048/0.001048, allocations: 72.27 kB / 9.855 MB, free: 0.8438 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001524/0.002572, 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.001171/0.001171, allocations: 153.9 kB / 11.18 MB, free: 2.996 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001475/0.002646, 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.8962/0.8962, allocations: 177.1 MB / 189.5 MB, free: 3.785 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1388/1.035, allocations: 53.67 MB / 243.2 MB, free: 2.371 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.03606/0.03606, allocations: 9.167 MB / 253.1 MB, free: 8.934 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.004955/0.04101, allocations: 3.453 MB / 256.5 MB, free: 5.48 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_String,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_String",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_String",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 257.8 MB, free: 4.266 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.029e-05/1.189e-05, allocations: 2.312 kB / 257.8 MB, free: 4.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String): time 0.003766/0.003778, allocations: 2.864 MB / 260.6 MB, free: 1.379 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001521/0.005299, allocations: 0.934 MB / 261.6 MB, free: 448 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.005413, allocations: 7.938 kB / 261.6 MB, free: 440 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000151/0.005564, allocations: 67.38 kB / 261.6 MB, free: 372 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002181/0.005782, allocations: 67.45 kB / 261.7 MB, free: 304 kB / 250.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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/ClockedBlocks/Packaging.mo:54:9-63:22:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.addString' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addString'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/ClockedBlocks/Packaging.mo:121:9-130:22:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.getString' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getString'. Notification: Performance of NFTyping.typeClassSections: time 0.0006635/0.006445, allocations: 255 kB / 261.9 MB, free: 48 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004983/0.006944, allocations: 275.3 kB / 262.2 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.007129, allocations: 93.61 kB / 262.3 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001863/0.007316, allocations: 203.6 kB / 262.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001713/0.007487, allocations: 135.6 kB / 262.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.465e-05/0.007522, allocations: 32 kB / 262.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002901/0.007812, allocations: 187.7 kB / 262.8 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.002e-05/0.007892, allocations: 87.69 kB / 262.9 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.814e-05/0.00795, allocations: 67.81 kB / 263 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003604/0.00831, allocations: 362.6 kB / 263.4 MB, free: 14.63 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.166e-06/0.008319, allocations: 0 / 263.4 MB, free: 14.63 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.00832, allocations: 0 / 263.4 MB, free: 14.63 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.008328, allocations: 0 / 263.4 MB, free: 14.63 MB / 266.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: getString.pkgOut[1].pkg = getString.pkgIn.pkg addString.pkgOut[1].pkg = addString.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt.pkgIn.pkg resetPointer.pkgOut[1].pkg = resetPointer.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg packInt.pkgOut[1].pkg = packInt.pkgIn.pkg getString.pkgOut[1].pkg = getInteger.pkgIn.pkg unpackInt.pkgOut[1].pkg = getString.pkgIn.pkg addString.pkgOut[1].pkg = addInteger.pkgIn.pkg packInt.pkgOut[1].pkg = addString.pkgIn.pkg resetPointer.pkgOut[1].pkg = unpackInt.pkgIn.pkg addInteger.pkgOut[1].pkg = resetPointer.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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0008864/0.009215, allocations: 0.8471 MB / 264.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.009248, allocations: 16.62 kB / 264.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.424e-05/0.009292, allocations: 66.69 kB / 264.3 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.731e-05/0.00935, allocations: 44.91 kB / 264.3 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.009523, allocations: 186.5 kB / 264.5 MB, free: 13.38 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.559e-05/0.009579, allocations: 58.89 kB / 264.6 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.009604, allocations: 28.38 kB / 264.6 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005861/0.01019, allocations: 0.728 MB / 265.3 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.0102, allocations: 0 / 265.3 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.01021, allocations: 15.94 kB / 265.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.01022, allocations: 4 kB / 265.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.703e-05/0.01032, allocations: 82.2 kB / 265.4 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003032/0.01062, allocations: 381.7 kB / 265.8 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002707/0.01089, allocations: 293.6 kB / 266.1 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.01102, allocations: 148 kB / 266.2 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.98e-05/0.01111, allocations: 40.48 kB / 266.3 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.01114, allocations: 43 kB / 266.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=63): time 1.673e-06/0.01114, allocations: 0 / 266.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.0003394/0.01148, allocations: 294 kB / 266.6 MB, free: 11.15 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/0.0116, allocations: 140.8 kB / 266.7 MB, free: 10.99 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.258e-05/0.01167, allocations: 165.7 kB / 266.9 MB, free: 10.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.01169, allocations: 37.89 kB / 266.9 MB, free: 10.78 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.539e-05/0.01173, allocations: 121.2 kB / 267 MB, free: 10.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/0.01174, allocations: 23.81 kB / 267.1 MB, free: 10.63 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.261e-05/0.01178, allocations: 37.67 kB / 267.1 MB, free: 10.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.458e-05/0.01184, allocations: 326.8 kB / 267.4 MB, free: 10.26 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.786e-06/0.01185, allocations: 8 kB / 267.4 MB, free: 10.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.749e-05/0.01188, allocations: 53.06 kB / 267.5 MB, free: 10.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.851e-05/0.01193, allocations: 61.08 kB / 267.5 MB, free: 10.11 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.01193, allocations: 0 / 267.5 MB, free: 10.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.616e-05/0.01199, allocations: 73.48 kB / 267.6 MB, free: 10.03 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.012, allocations: 8 kB / 267.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.01201, allocations: 0 / 267.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.915e-06/0.01202, allocations: 4 kB / 267.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.773e-05/0.01207, allocations: 19.98 kB / 267.7 MB, free: 9.996 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-06/0.01208, allocations: 4.188 kB / 267.7 MB, free: 9.992 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.165e-05/0.0121, allocations: 7.938 kB / 267.7 MB, free: 9.984 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.0121, allocations: 4 kB / 267.7 MB, free: 9.98 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (integerExpression.y,integerExpression2.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 (10): * Single equations (assignments): 10 * 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 7.962e-05/0.01218, allocations: 140.6 kB / 267.8 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002016/0.01239, allocations: 218.5 kB / 268 MB, free: 9.617 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002575/0.01264, allocations: 263.5 kB / 268.3 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/0.01265, allocations: 8 kB / 268.3 MB, free: 9.344 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.01265, allocations: 3.984 kB / 268.3 MB, free: 9.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.01266, allocations: 3.984 kB / 268.3 MB, free: 9.336 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.01283, allocations: 208.8 kB / 268.5 MB, free: 9.102 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.01284, allocations: 8 kB / 268.5 MB, free: 9.094 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/0.01302, allocations: 103.9 kB / 268.6 MB, free: 8.992 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.01302, allocations: 4 kB / 268.6 MB, free: 8.988 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.01304, allocations: 15.98 kB / 268.6 MB, free: 8.973 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.01304, allocations: 4 kB / 268.6 MB, free: 8.969 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01304, allocations: 0 / 268.6 MB, free: 8.969 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.85e-05/0.01312, allocations: 224.7 kB / 268.8 MB, free: 8.73 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.88e-05/0.01314, allocations: 35.69 kB / 268.9 MB, free: 8.695 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.888e-05/0.01317, allocations: 16 kB / 268.9 MB, free: 8.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.512e-05/0.01325, allocations: 12 kB / 268.9 MB, free: 8.668 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.82e-05/0.01326, allocations: 8.016 kB / 268.9 MB, free: 8.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.01328, allocations: 12 kB / 268.9 MB, free: 8.648 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.265e-05/0.0133, allocations: 36.75 kB / 269 MB, free: 8.609 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.0133, allocations: 0 / 269 MB, free: 8.609 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002441/0.01355, allocations: 103.7 kB / 269.1 MB, free: 8.508 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 43 (integerExpression.y,integerExpression2.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],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.y[1],sample1.y,sample3.y,addString.pkgIn.userPkgBitSize,addString.pkgIn.autoPkgBitSize,addString.pkgOut[1].userPkgBitSize,addString.pkgOut[1].autoPkgBitSize,getString.pkgIn.userPkgBitSize,getString.pkgIn.autoPkgBitSize,getString.pkgOut[1].userPkgBitSize,getString.pkgOut[1].autoPkgBitSize,findString.y) * 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 (61): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * 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.001201/0.01475, allocations: 1.253 MB / 270.3 MB, free: 7.293 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001449/0.01489, allocations: 121.5 kB / 270.4 MB, free: 7.168 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.0149, allocations: 0 / 270.4 MB, free: 7.168 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.176e-05/0.01491, allocations: 12.86 kB / 270.4 MB, free: 7.152 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000668/0.01558, allocations: 0.9897 MB / 271.4 MB, free: 6.129 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.01666, allocations: 1.371 MB / 272.8 MB, free: 4.672 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.62e-05/0.01675, allocations: 133.8 kB / 272.9 MB, free: 4.52 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.379e-05/0.01678, allocations: 10.28 kB / 272.9 MB, free: 4.508 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/0.01693, allocations: 151.3 kB / 273.1 MB, free: 4.359 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01694, allocations: 0 / 273.1 MB, free: 4.359 MB / 266.7 MB Notification: Performance of FMU documentation: time 0.02604/0.04298, allocations: 9.606 MB / 282.7 MB, free: 11.04 MB / 282.7 MB Notification: FMU-only work: backend 0.0004456, simCode 0.0004282, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06336/0.1063, allocations: 1.401 MB / 284.1 MB, free: 9.562 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.504/2.61, allocations: 19.34 kB / 284.1 MB, free: 9.543 MB / 282.7 MB " [Timeout remaining time 657] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_String_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_String.fmu) > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String.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_String_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String_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_String_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_String_OMSimulator-cs-cvode.fmu) > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String_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_String_OMSimulator-cs-euler.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String_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_String_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_String_OMSimulator-cs-euler.fmu) > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String_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_String_fmpy.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String_fmpy.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String_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_String.fmu) > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String_fmpy.pipe 2>&1) [Timeout 252.0] fmpy timed out simulating the FMU (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String_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_String_fmpy-fmi3-cs-cvode.fmu) > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String_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.028807238675654]