Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.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.001252/0.001252, allocations: 101 kB / 20.52 MB, free: 1.449 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.001394/0.001394, allocations: 211.5 kB / 23.84 MB, free: 4.664 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.492/1.492, allocations: 230.6 MB / 257.6 MB, free: 7.988 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.09868/0.09868, allocations: 12.22 MB / 326.2 MB, free: 7.25 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.Blocks.Examples.TestSerialPackager,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 63.91 kB / 454.2 MB, free: 8.992 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1221, allocations: 56.39 MB / 0.4986 GB, free: 0.5078 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager): time 0.005385/0.1275, allocations: 2.978 MB / 0.5015 GB, free: 13.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002556/0.13, allocations: 1.114 MB / 0.5026 GB, free: 12.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001955/0.1302, allocations: 11.88 kB / 0.5026 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003588/0.1306, allocations: 79.2 kB / 0.5027 GB, free: 12.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002222/0.1308, allocations: 63.45 kB / 0.5027 GB, free: 12.25 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:130:7-137:16:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.clear' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.clear'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:139:5-153:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitPack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitPack'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:63:7-72:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:98:7-105:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.resetPointer' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.resetPointer'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:155:5-169:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitUnpack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitUnpack'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:107:7-117:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getInteger'. Notification: Performance of NFTyping.typeClassSections: time 0.0009381/0.1318, allocations: 295.2 kB / 0.503 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006106/0.1324, allocations: 458.9 kB / 0.5035 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003114/0.1327, allocations: 148.9 kB / 0.5036 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002952/0.133, allocations: 235.2 kB / 0.5038 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004304/0.1334, allocations: 282.8 kB / 0.5041 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.665e-05/0.1335, allocations: 52 kB / 0.5041 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002597/0.1338, allocations: 139.9 kB / 0.5043 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002803/0.134, allocations: 179.5 kB / 0.5044 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002495/0.1343, allocations: 238.8 kB / 0.5047 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008851/0.1352, allocations: 0.6925 MB / 0.5053 GB, free: 9.555 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1352, allocations: 0 / 0.5053 GB, free: 9.555 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1352, allocations: 3.938 kB / 0.5054 GB, free: 9.551 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.1352, allocations: 0 / 0.5054 GB, free: 9.551 MB / 382.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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.00227/0.1375, allocations: 1.209 MB / 0.5065 GB, free: 8.258 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.1375, allocations: 8.031 kB / 0.5065 GB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.723e-05/0.1375, allocations: 17.19 kB / 0.5066 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001184/0.1376, allocations: 86.7 kB / 0.5066 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.1378, allocations: 56.59 kB / 0.5067 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004097/0.1382, allocations: 278.6 kB / 0.507 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.734e-05/0.1382, allocations: 33.38 kB / 0.507 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.841e-05/0.1383, allocations: 44.36 kB / 0.507 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000911/0.1392, allocations: 0.502 MB / 0.5075 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.1392, allocations: 4 kB / 0.5075 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.274e-05/0.1393, allocations: 23.98 kB / 0.5075 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.1393, allocations: 8 kB / 0.5076 GB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005829/0.1399, allocations: 294.4 kB / 0.5078 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00196/0.1418, allocations: 1.162 MB / 0.509 GB, free: 5.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008308/0.1427, allocations: 335.9 kB / 0.5093 GB, free: 5.305 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002595/0.1429, allocations: 146.6 kB / 0.5094 GB, free: 5.152 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.789e-05/0.143, allocations: 12.05 kB / 0.5094 GB, free: 5.141 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004701/0.1434, allocations: 238.7 kB / 0.5097 GB, free: 4.883 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 2.083e-06/0.1434, allocations: 0 / 0.5097 GB, free: 4.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=39): time 0.001167/0.1446, allocations: 0.5751 MB / 0.5102 GB, free: 4.301 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.1447, allocations: 127 kB / 0.5104 GB, free: 4.152 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.145, allocations: 231 kB / 0.5106 GB, free: 3.914 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.463e-05/0.1451, allocations: 45.69 kB / 0.5106 GB, free: 3.863 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.1452, allocations: 221.2 kB / 0.5108 GB, free: 3.645 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.1453, allocations: 95.3 kB / 0.5109 GB, free: 3.551 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000174/0.1455, allocations: 122.1 kB / 0.511 GB, free: 3.422 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002103/0.1457, allocations: 346.8 kB / 0.5114 GB, free: 3.074 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002104/0.1459, allocations: 116.9 kB / 0.5115 GB, free: 2.961 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003837/0.1463, allocations: 300.9 kB / 0.5118 GB, free: 2.582 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006318/0.1469, allocations: 455.6 kB / 0.5122 GB, free: 2.051 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.1469, allocations: 4 kB / 0.5122 GB, free: 2.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007921/0.1477, allocations: 469.5 kB / 0.5127 GB, free: 1.582 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.1478, allocations: 12.16 kB / 0.5127 GB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.439e-05/0.1478, allocations: 4 kB / 0.5127 GB, free: 1.566 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/0.1478, allocations: 8 kB / 0.5127 GB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002754/0.1481, allocations: 79.83 kB / 0.5128 GB, free: 1.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-05/0.1481, allocations: 11.94 kB / 0.5128 GB, free: 1.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002178/0.1483, allocations: 43.7 kB / 0.5128 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.853e-05/0.1484, allocations: 24 kB / 0.5128 GB, free: 1.402 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 60 (getBoolean.dummy,$PRE.getBoolean.dummy,addBoolean.pkgOut[1].dummy,$PRE.addBoolean.pkgOut[1].dummy,unpackInt1.dummy,$PRE.unpackInt1.dummy,unpackInt1.y,$PRE.unpackInt1.y,unpackInt1.pkgOut[1].dummy,$PRE.unpackInt1.pkgOut[1].dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[1],$PRE.getInteger.y[1],getInteger.pkgOut[1].dummy,$PRE.getInteger.pkgOut[1].dummy,unpackInt.dummy,$PRE.unpackInt.dummy,unpackInt.y,$PRE.unpackInt.y,unpackInt.pkgOut[1].dummy,$PRE.unpackInt.pkgOut[1].dummy,resetPointer.dummy,$PRE.resetPointer.dummy,resetPointer.pkgOut[1].dummy,$PRE.resetPointer.pkgOut[1].dummy,packInt1.pkgOut[1].dummy,$PRE.packInt1.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,packInt.pkgOut[1].dummy,$PRE.packInt.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,$whenCondition2,addBoolean.pkgOut[1].trigger,$whenCondition1,getBoolean.y_int[1],$PRE.getBoolean.y_int[1],getBoolean.y[1],booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,addBoolean.u_int[1],addBoolean.u[1],integerExpression.y,addInteger.u[1],integerExpression1.y,getBoolean.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,unpackInt.pkgIn.autoPkgBitSize,getBoolean.pkgIn.userPkgBitSize,getBoolean.pkgIn.backwardTrigger,addBoolean.pkgIn.autoPkgBitSize,resetPointer.pkgIn.autoPkgBitSize,packInt1.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,packInt.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * 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.0003539/0.1487, allocations: 249.7 kB / 0.5131 GB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.893e-05/0.1488, allocations: 27.81 kB / 0.5131 GB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.615e-05/0.1489, allocations: 26.64 kB / 0.5131 GB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.1489, allocations: 4 kB / 0.5131 GB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.1489, allocations: 0 / 0.5131 GB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.1489, allocations: 0 / 0.5131 GB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001479/0.1504, allocations: 0.9229 MB / 0.514 GB, free: 116 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1504, allocations: 0 / 0.514 GB, free: 116 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.671e-05/0.1504, allocations: 8 kB / 0.514 GB, free: 108 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.1504, allocations: 7.984 kB / 0.514 GB, free: 100 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-05/0.1505, allocations: 11.98 kB / 0.514 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.1505, allocations: 4 kB / 0.5141 GB, free: 84 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1505, allocations: 0 / 0.5141 GB, free: 84 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.236/0.3865, allocations: 0.5668 MB / 0.5146 GB, free: 21.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.83e-05/0.3865, allocations: 25.12 kB / 0.5146 GB, free: 21.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.242e-05/0.3866, allocations: 10.88 kB / 0.5146 GB, free: 21.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.3868, allocations: 13.34 kB / 0.5147 GB, free: 21.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.846e-05/0.3868, allocations: 26.05 kB / 0.5147 GB, free: 21.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.121e-05/0.3869, allocations: 18.05 kB / 0.5147 GB, free: 21.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.451e-05/0.387, allocations: 141.6 kB / 0.5148 GB, free: 21.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.387, allocations: 0 / 0.5148 GB, free: 21.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006492/0.3876, allocations: 141.7 kB / 0.515 GB, free: 21.23 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 39 (unpackInt.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,getBoolean.pkgIn.autoPkgBitSize,addBoolean.pkgOut[1].trigger,$whenCondition2,$whenCondition1,integerExpression.y,packager.pkgOut.dummy,packInt.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],integerExpression1.y,packInt1.pkgOut[1].dummy,resetPointer.pkgOut[1].dummy,resetPointer.dummy,unpackInt.pkgOut[1].dummy,unpackInt.y,unpackInt.dummy,getInteger.pkgOut[1].dummy,getInteger.y[1],getInteger.dummy,unpackInt1.pkgOut[1].dummy,unpackInt1.y,unpackInt1.dummy,addBoolean.pkgOut[1].dummy,addBoolean.u[1],addBoolean.u_int[1],getBoolean.y[1],getBoolean.y_int[1],getBoolean.dummy,booleanPulse.pulseStart,packager.backwardPropagatedBufferSize,packager.bufferSize,packInt.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,packInt1.pkgIn.autoPkgBitSize,resetPointer.pkgIn.autoPkgBitSize,addBoolean.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 26 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00115/0.3888, allocations: 1.201 MB / 0.5161 GB, free: 20.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005836/0.3894, allocations: 324.3 kB / 0.5164 GB, free: 20.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3894, allocations: 3.75 kB / 0.5165 GB, free: 20.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002468/0.3896, allocations: 140.3 kB / 0.5166 GB, free: 20.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006006/0.3902, allocations: 83.2 kB / 0.5167 GB, free: 20.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004508/0.3947, allocations: 3.263 MB / 0.5199 GB, free: 18.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.3951, allocations: 0.8219 MB / 0.5207 GB, free: 18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000181/0.3953, allocations: 48.03 kB / 0.5207 GB, free: 18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/0.3955, allocations: 114.6 kB / 0.5208 GB, free: 18 MB / 382.1 MB Notification: Performance of SimCode: time 1.603e-06/0.3955, allocations: 1.531 kB / 0.5208 GB, free: 18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04262/0.4381, allocations: 8.173 MB / 0.5288 GB, free: 17.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/12.74, allocations: 11.23 kB / 0.5288 GB, free: 17.11 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager.fmu > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.526895020972006] Failed to read output from testmodel.py, exit status != 0: 12.904680261039175 12.920722015 12.782800837 Calling exit ...