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.0009234/0.0009234, allocations: 96.38 kB / 19.74 MB, free: 416 kB / 13.93 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.0009307/0.0009307, allocations: 214.1 kB / 23.04 MB, free: 2.949 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.944/0.944, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo): time 0.05209/0.05209, allocations: 12.22 MB / 325.4 MB, free: 6.082 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 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",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 71.88 kB / 454.1 MB, free: 33.79 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1272, allocations: 56.39 MB / 0.4985 GB, free: 9.305 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager): time 0.003304/0.1305, allocations: 2.95 MB / 0.5014 GB, free: 6.34 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.1317, allocations: 1.067 MB / 0.5024 GB, free: 5.266 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.1318, allocations: 11.88 kB / 0.5024 GB, free: 5.254 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001993/0.132, allocations: 63.34 kB / 0.5025 GB, free: 5.191 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.1322, allocations: 47.53 kB / 0.5026 GB, free: 5.145 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 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 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 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 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 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 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.0005569/0.1327, allocations: 299.2 kB / 0.5028 GB, free: 4.852 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002889/0.133, allocations: 395.6 kB / 0.5032 GB, free: 4.465 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001961/0.1332, allocations: 119.2 kB / 0.5033 GB, free: 4.336 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.1333, allocations: 195.4 kB / 0.5035 GB, free: 4.145 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001809/0.1335, allocations: 210.9 kB / 0.5037 GB, free: 3.938 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.31e-05/0.1336, allocations: 44 kB / 0.5038 GB, free: 3.895 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001618/0.1337, allocations: 131.9 kB / 0.5039 GB, free: 3.762 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.1338, allocations: 143.6 kB / 0.504 GB, free: 3.621 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.134, allocations: 151.2 kB / 0.5042 GB, free: 3.473 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000532/0.1345, allocations: 0.5796 MB / 0.5047 GB, free: 2.891 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.1345, allocations: 0 / 0.5047 GB, free: 2.891 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1345, allocations: 3.938 kB / 0.5047 GB, free: 2.887 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.1345, allocations: 0 / 0.5047 GB, free: 2.887 MB / 362.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.001255/0.1358, allocations: 1.131 MB / 0.5058 GB, free: 1.668 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.1358, allocations: 12.02 kB / 0.5058 GB, free: 1.656 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.719e-05/0.1359, allocations: 82.72 kB / 0.5059 GB, free: 1.566 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.428e-05/0.1359, allocations: 40.7 kB / 0.506 GB, free: 1.527 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.1362, allocations: 259.7 kB / 0.5062 GB, free: 1.246 MB / 362.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 7.264e-05/0.1363, allocations: 59.27 kB / 0.5063 GB, free: 1.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.182e-05/0.1363, allocations: 36.38 kB / 0.5063 GB, free: 1.145 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.1375, allocations: 1.285 MB / 0.5076 GB, free: 15.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.1375, allocations: 4 kB / 0.5076 GB, free: 15.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.466e-05/0.1375, allocations: 16 kB / 0.5076 GB, free: 15.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.1375, allocations: 11.94 kB / 0.5076 GB, free: 15.79 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002972/0.1378, allocations: 258.3 kB / 0.5078 GB, free: 15.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005876/0.1384, allocations: 0.7383 MB / 0.5086 GB, free: 14.74 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006811/0.1391, allocations: 0.7163 MB / 0.5093 GB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003457/0.1395, allocations: 388.2 kB / 0.5096 GB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.511e-05/0.1395, allocations: 28.64 kB / 0.5097 GB, free: 13.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.939e-05/0.1396, allocations: 107.4 kB / 0.5098 GB, free: 13.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=84): time 1.954e-06/0.1396, allocations: 0 / 0.5098 GB, free: 13.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=84): time 0.0008774/0.1405, allocations: 0.7826 MB / 0.5105 GB, free: 12.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.1406, allocations: 216.7 kB / 0.5107 GB, free: 12.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.1407, allocations: 203.1 kB / 0.5109 GB, free: 12.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.1408, allocations: 42.08 kB / 0.511 GB, free: 12.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.606e-05/0.1408, allocations: 137.9 kB / 0.5111 GB, free: 12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.221e-05/0.1408, allocations: 63.75 kB / 0.5112 GB, free: 11.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.273e-05/0.1409, allocations: 130.7 kB / 0.5113 GB, free: 11.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.55e-05/0.141, allocations: 350.8 kB / 0.5116 GB, free: 11.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.1411, allocations: 105.9 kB / 0.5117 GB, free: 11.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003013/0.1414, allocations: 0.6104 MB / 0.5123 GB, free: 10.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004582/0.1419, allocations: 0.7833 MB / 0.5131 GB, free: 9.441 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.1419, allocations: 4 kB / 0.5131 GB, free: 9.438 MB / 378.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0005515/0.1425, allocations: 0.6655 MB / 0.5137 GB, free: 8.766 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.1425, allocations: 12 kB / 0.5137 GB, free: 8.754 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.1425, allocations: 20 kB / 0.5138 GB, free: 8.734 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.1425, allocations: 20 kB / 0.5138 GB, free: 8.715 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.1427, allocations: 167.5 kB / 0.5139 GB, free: 8.551 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.766e-05/0.1428, allocations: 36.45 kB / 0.514 GB, free: 8.516 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.1429, allocations: 75.61 kB / 0.514 GB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.747e-05/0.143, allocations: 48 kB / 0.5141 GB, free: 8.395 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 63 ($whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,sample4.u,integerExpression1.y,integerExpression2.y,integerExpression.y,getBoolean.y_int[1],getBoolean.y[1],getBoolean.pkgIn.autoPkgBitSize,getBoolean.pkgIn.userPkgBitSize,sample4.y,addBoolean.u_int[1],addBoolean.u[1],addBoolean.pkgOut[1].autoPkgBitSize,addBoolean.pkgOut[1].userPkgBitSize,addBoolean.pkgIn.autoPkgBitSize,addBoolean.pkgIn.userPkgBitSize,sample3.y,sample2.y,sample1.y,unpackInt1.y,unpackInt1.pkgOut[1].autoPkgBitSize,unpackInt1.pkgOut[1].userPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.userPkgBitSize,getInteger.y[1],getInteger.pkgOut[1].autoPkgBitSize,getInteger.pkgOut[1].userPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getInteger.pkgIn.userPkgBitSize,unpackInt.y,unpackInt.pkgOut[1].autoPkgBitSize,unpackInt.pkgOut[1].userPkgBitSize,unpackInt.pkgIn.autoPkgBitSize,unpackInt.pkgIn.userPkgBitSize,resetPointer.pkgOut[1].autoPkgBitSize,resetPointer.pkgOut[1].userPkgBitSize,resetPointer.pkgIn.autoPkgBitSize,resetPointer.pkgIn.userPkgBitSize,packInt1.u,packInt1.pkgOut[1].autoPkgBitSize,packInt1.pkgOut[1].userPkgBitSize,packInt1.pkgIn.autoPkgBitSize,packInt1.pkgIn.userPkgBitSize,addInteger.u[1],addInteger.pkgOut[1].autoPkgBitSize,addInteger.pkgOut[1].userPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addInteger.pkgIn.userPkgBitSize,packInt.u,packInt.pkgOut[1].autoPkgBitSize,packInt.pkgOut[1].userPkgBitSize,packInt.pkgIn.autoPkgBitSize,packInt.pkgIn.userPkgBitSize,$CLKPRE.packager.bufferSize,packager.bufferSize,$CLKPRE.packager.backwardPropagatedBufferSize,packager.backwardPropagatedBufferSize,$CLKPRE.packager.initialized,packager.initialized,packager.pkgOut.autoPkgBitSize,packager.pkgOut.userPkgBitSize) * 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 (89): * Single equations (assignments): 89 * 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.0001746/0.1431, allocations: 261.6 kB / 0.5143 GB, free: 8.129 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000515/0.1436, allocations: 0.54 MB / 0.5149 GB, free: 7.582 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006036/0.1442, allocations: 0.6073 MB / 0.5155 GB, free: 6.973 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/0.1443, allocations: 15.94 kB / 0.5155 GB, free: 6.957 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.1443, allocations: 8 kB / 0.5155 GB, free: 6.949 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.1443, allocations: 7.984 kB / 0.5155 GB, free: 6.941 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/0.1445, allocations: 320.2 kB / 0.5158 GB, free: 6.586 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.1445, allocations: 4 kB / 0.5158 GB, free: 6.582 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/0.1447, allocations: 115.8 kB / 0.5159 GB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.1447, allocations: 7.984 kB / 0.5159 GB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.1447, allocations: 20 kB / 0.5159 GB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.1447, allocations: 7.938 kB / 0.5159 GB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1447, allocations: 0 / 0.5159 GB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005933/0.1453, allocations: 0.6692 MB / 0.5166 GB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.895e-05/0.1454, allocations: 51.58 kB / 0.5166 GB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.324e-05/0.1454, allocations: 16 kB / 0.5167 GB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.436e-05/0.1455, allocations: 27.92 kB / 0.5167 GB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.1455, allocations: 7.984 kB / 0.5167 GB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.127e-05/0.1455, allocations: 31.98 kB / 0.5167 GB, free: 5.605 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.856e-05/0.1456, allocations: 124.1 kB / 0.5168 GB, free: 5.484 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1456, allocations: 3.938 kB / 0.5169 GB, free: 5.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000366/0.146, allocations: 123.8 kB / 0.517 GB, free: 5.359 MB / 378.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.001376/0.1473, allocations: 1.689 MB / 0.5186 GB, free: 3.645 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004938/0.1478, allocations: 0.5059 MB / 0.5191 GB, free: 3.148 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1478, allocations: 1 kB / 0.5191 GB, free: 3.148 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.803e-05/0.1479, allocations: 24.05 kB / 0.5191 GB, free: 3.125 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009302/0.1488, allocations: 1.228 MB / 0.5203 GB, free: 1.848 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002836/0.1516, allocations: 4.266 MB / 0.5245 GB, free: 12.97 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000144/0.1518, allocations: 251.4 kB / 0.5247 GB, free: 12.7 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.479e-05/0.1519, allocations: 48.25 kB / 0.5248 GB, free: 12.66 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.152, allocations: 123.4 kB / 0.5249 GB, free: 12.54 MB / 394.7 MB Notification: Performance of SimCode: time 5.61e-07/0.152, allocations: 0 / 0.5249 GB, free: 12.54 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07777/0.2298, allocations: 10.96 MB / 0.5356 GB, free: 1.805 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.734/7.964, allocations: 15.44 kB / 0.5356 GB, free: 1.793 MB / 394.7 MB " [Timeout remaining time 652] (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 [Calling sys.exit(0), Time elapsed: 10.780259212478995]