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.00142/0.00142, allocations: 113.8 kB / 17.88 MB, free: 5.051 MB / 14.72 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.001992/0.001992, allocations: 213.6 kB / 20.84 MB, free: 2.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.594/1.594, allocations: 230.6 MB / 254.2 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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.07218/0.07218, allocations: 12.22 MB / 322.5 MB, free: 13.27 MB / 254.1 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: "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 60.69 kB / 448.8 MB, free: 38.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1344, allocations: 56.36 MB / 0.4933 GB, free: 1.668 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager): time 0.005587/0.14, allocations: 2.932 MB / 0.4962 GB, free: 14.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002436/0.1425, allocations: 1.118 MB / 0.4973 GB, free: 13.6 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001959/0.1427, allocations: 15.88 kB / 0.4973 GB, free: 13.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002997/0.143, allocations: 71.27 kB / 0.4974 GB, free: 13.52 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002141/0.1432, allocations: 51.53 kB / 0.4974 GB, free: 13.46 MB / 366.1 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.001102/0.1443, allocations: 297.2 kB / 0.4977 GB, free: 13.18 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006086/0.1449, allocations: 391.7 kB / 0.4981 GB, free: 12.79 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003965/0.1453, allocations: 163 kB / 0.4982 GB, free: 12.62 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002655/0.1455, allocations: 191.3 kB / 0.4984 GB, free: 12.44 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00036/0.1459, allocations: 231 kB / 0.4986 GB, free: 12.21 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.626e-05/0.146, allocations: 40 kB / 0.4987 GB, free: 12.17 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000304/0.1463, allocations: 135.9 kB / 0.4988 GB, free: 12.04 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002091/0.1465, allocations: 139.6 kB / 0.4989 GB, free: 11.9 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002545/0.1467, allocations: 198.9 kB / 0.4991 GB, free: 11.71 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009003/0.1476, allocations: 0.568 MB / 0.4997 GB, free: 11.14 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.1477, allocations: 0 / 0.4997 GB, free: 11.14 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.1477, allocations: 0 / 0.4997 GB, free: 11.14 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.719e-05/0.1477, allocations: 0 / 0.4997 GB, free: 11.14 MB / 366.1 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.002384/0.1501, allocations: 1.222 MB / 0.5009 GB, free: 9.805 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.85e-05/0.1501, allocations: 16.03 kB / 0.5009 GB, free: 9.789 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.213e-05/0.1502, allocations: 13.17 kB / 0.5009 GB, free: 9.777 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001031/0.1503, allocations: 82.72 kB / 0.501 GB, free: 9.688 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/0.1504, allocations: 40.7 kB / 0.501 GB, free: 9.648 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005253/0.1509, allocations: 325.5 kB / 0.5013 GB, free: 9.289 MB / 366.1 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 0.0001066/0.151, allocations: 55.27 kB / 0.5014 GB, free: 9.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.779e-05/0.1511, allocations: 48.12 kB / 0.5014 GB, free: 9.184 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002061/0.1532, allocations: 1.235 MB / 0.5026 GB, free: 7.926 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.1532, allocations: 0 / 0.5026 GB, free: 7.926 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.342e-05/0.1532, allocations: 16 kB / 0.5026 GB, free: 7.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.263e-05/0.1532, allocations: 15.97 kB / 0.5027 GB, free: 7.895 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004975/0.1537, allocations: 250.4 kB / 0.5029 GB, free: 7.648 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.155, allocations: 0.8366 MB / 0.5037 GB, free: 6.746 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/0.1564, allocations: 0.9456 MB / 0.5046 GB, free: 5.707 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006848/0.1571, allocations: 391.6 kB / 0.505 GB, free: 5.305 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001188/0.1572, allocations: 28.7 kB / 0.505 GB, free: 5.277 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001587/0.1574, allocations: 103.4 kB / 0.5051 GB, free: 5.152 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.956e-06/0.1574, allocations: 0 / 0.5051 GB, free: 5.152 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.001549/0.159, allocations: 0.7903 MB / 0.5059 GB, free: 4.355 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002053/0.1592, allocations: 205.2 kB / 0.5061 GB, free: 4.121 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/0.1594, allocations: 199.1 kB / 0.5063 GB, free: 3.918 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.101e-05/0.1595, allocations: 41.7 kB / 0.5063 GB, free: 3.871 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.1596, allocations: 133.9 kB / 0.5065 GB, free: 3.734 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.801e-05/0.1596, allocations: 55.81 kB / 0.5065 GB, free: 3.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/0.1598, allocations: 138.7 kB / 0.5066 GB, free: 3.535 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.16, allocations: 346.8 kB / 0.507 GB, free: 3.188 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/0.1602, allocations: 109.9 kB / 0.5071 GB, free: 3.082 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007121/0.1609, allocations: 0.6143 MB / 0.5077 GB, free: 2.215 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009737/0.1619, allocations: 0.7833 MB / 0.5084 GB, free: 1.176 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.958e-06/0.1619, allocations: 4 kB / 0.5084 GB, free: 1.172 MB / 366.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001147/0.1631, allocations: 0.6691 MB / 0.5091 GB, free: 0.4961 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.61e-05/0.1631, allocations: 12 kB / 0.5091 GB, free: 496 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-05/0.1631, allocations: 20.91 kB / 0.5091 GB, free: 476 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.458e-05/0.1632, allocations: 27.94 kB / 0.5092 GB, free: 448 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005057/0.1637, allocations: 159.7 kB / 0.5093 GB, free: 288 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.775e-05/0.1637, allocations: 35.86 kB / 0.5093 GB, free: 252 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003363/0.1641, allocations: 63.62 kB / 0.5094 GB, free: 188 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.018e-05/0.1641, allocations: 51.98 kB / 0.5095 GB, free: 136 kB / 366.1 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.0004542/0.1646, allocations: 265.6 kB / 0.5097 GB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001071/0.1657, allocations: 0.5322 MB / 0.5102 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.1669, allocations: 0.6047 MB / 0.5108 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.776e-05/0.1669, allocations: 15.94 kB / 0.5108 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.1669, allocations: 0 / 0.5108 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.1669, allocations: 3.984 kB / 0.5108 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004985/0.1674, allocations: 420.9 kB / 0.5112 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.685e-05/0.1675, allocations: 4 kB / 0.5112 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000425/0.1679, allocations: 119.8 kB / 0.5114 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.378e-06/0.1679, allocations: 4 kB / 0.5114 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.905e-05/0.1679, allocations: 20 kB / 0.5114 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.048e-05/0.168, allocations: 15.92 kB / 0.5114 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.168, allocations: 0 / 0.5114 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.1691, allocations: 0.6614 MB / 0.512 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.1692, allocations: 136.6 kB / 0.5122 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.283e-05/0.1693, allocations: 16 kB / 0.5122 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.1695, allocations: 23.94 kB / 0.5122 GB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.186e-05/0.1695, allocations: 7.984 kB / 0.5122 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-05/0.1696, allocations: 35.92 kB / 0.5122 GB, free: 13.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001226/0.1697, allocations: 129.2 kB / 0.5124 GB, free: 13.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1697, allocations: 0 / 0.5124 GB, free: 13.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007552/0.1705, allocations: 127.8 kB / 0.5125 GB, free: 12.89 MB / 382.1 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.002632/0.1731, allocations: 1.679 MB / 0.5141 GB, free: 11.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.1742, allocations: 0.5141 MB / 0.5146 GB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1742, allocations: 0 / 0.5146 GB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.081e-05/0.1742, allocations: 24.48 kB / 0.5147 GB, free: 10.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/0.1761, allocations: 1.247 MB / 0.5159 GB, free: 9.371 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005979/0.1821, allocations: 4.24 MB / 0.52 GB, free: 4.508 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006857/0.1828, allocations: 0.8559 MB / 0.5209 GB, free: 3.625 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002212/0.183, allocations: 44.55 kB / 0.5209 GB, free: 3.582 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003557/0.1834, allocations: 127.3 kB / 0.521 GB, free: 3.461 MB / 382.1 MB Notification: Performance of SimCode: time 1.082e-06/0.1834, allocations: 0 / 0.521 GB, free: 3.461 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04145/0.2248, allocations: 9.91 MB / 0.5307 GB, free: 9.766 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.842/10.07, allocations: 15.86 kB / 0.5307 GB, free: 9.75 MB / 398.1 MB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager.fmu > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.151638411043677] Failed to read output from testmodel.py, exit status != 0: 10.205205588950776 10.231274511 10.078605681 Calling exit ...