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.00178/0.00178, allocations: 118 kB / 19.74 MB, free: 2.152 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.001526/0.001526, allocations: 221.3 kB / 23.05 MB, free: 5 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.509/1.509, allocations: 230.6 MB / 256.8 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.06591/0.06591, allocations: 12.22 MB / 325.5 MB, free: 7.254 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002318/0.002318, allocations: 71.89 kB / 453.4 MB, free: 9 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1358, allocations: 56.38 MB / 0.4978 GB, free: 0.5156 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager): time 0.005766/0.1415, allocations: 3.036 MB / 0.5008 GB, free: 13.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002444/0.144, allocations: 1.129 MB / 0.5019 GB, free: 12.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002878/0.1443, allocations: 15.88 kB / 0.5019 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00036/0.1446, allocations: 71.27 kB / 0.502 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002898/0.1449, allocations: 51.53 kB / 0.502 GB, free: 12.2 MB / 382.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.001363/0.1463, allocations: 293.6 kB / 0.5023 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006801/0.147, allocations: 395.7 kB / 0.5027 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000334/0.1473, allocations: 131.5 kB / 0.5028 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003452/0.1476, allocations: 195.3 kB / 0.503 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004455/0.1481, allocations: 231 kB / 0.5032 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001054/0.1482, allocations: 44 kB / 0.5032 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003179/0.1485, allocations: 135.9 kB / 0.5034 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002036/0.1487, allocations: 143.6 kB / 0.5035 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002332/0.1489, allocations: 194.9 kB / 0.5037 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008128/0.1497, allocations: 0.5757 MB / 0.5043 GB, free: 9.879 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.1498, allocations: 4 kB / 0.5043 GB, free: 9.875 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1498, allocations: 0 / 0.5043 GB, free: 9.875 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.191e-05/0.1498, allocations: 0 / 0.5043 GB, free: 9.875 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.002095/0.1519, allocations: 1.139 MB / 0.5054 GB, free: 8.648 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.1519, allocations: 12.03 kB / 0.5054 GB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001043/0.152, allocations: 78.72 kB / 0.5055 GB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.1521, allocations: 48.7 kB / 0.5055 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000452/0.1526, allocations: 255.7 kB / 0.5058 GB, free: 8.227 MB / 382.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.0001033/0.1527, allocations: 59.27 kB / 0.5058 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.907e-05/0.1528, allocations: 36.38 kB / 0.5058 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001988/0.1547, allocations: 1.235 MB / 0.5071 GB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.1548, allocations: 0 / 0.5071 GB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.016e-05/0.1548, allocations: 16 kB / 0.5071 GB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.1548, allocations: 15.98 kB / 0.5071 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004953/0.1553, allocations: 250.4 kB / 0.5073 GB, free: 6.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.1564, allocations: 0.8083 MB / 0.5081 GB, free: 5.723 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.1576, allocations: 0.7181 MB / 0.5088 GB, free: 4.969 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006372/0.1583, allocations: 388.2 kB / 0.5092 GB, free: 4.574 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001196/0.1584, allocations: 32.7 kB / 0.5092 GB, free: 4.543 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001488/0.1585, allocations: 107.4 kB / 0.5093 GB, free: 4.414 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 2.695e-06/0.1585, allocations: 0 / 0.5093 GB, free: 4.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=84): time 0.001541/0.1601, allocations: 0.7864 MB / 0.5101 GB, free: 3.621 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001998/0.1603, allocations: 212.7 kB / 0.5103 GB, free: 3.375 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.1605, allocations: 203.1 kB / 0.5105 GB, free: 3.164 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.736e-05/0.1605, allocations: 42.08 kB / 0.5105 GB, free: 3.117 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.1606, allocations: 141.9 kB / 0.5107 GB, free: 2.973 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.897e-05/0.1607, allocations: 63.75 kB / 0.5107 GB, free: 2.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.1609, allocations: 134.7 kB / 0.5108 GB, free: 2.773 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.1611, allocations: 346.8 kB / 0.5112 GB, free: 2.426 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.1612, allocations: 105.9 kB / 0.5113 GB, free: 2.324 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006228/0.1619, allocations: 0.6065 MB / 0.5119 GB, free: 1.461 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009333/0.1628, allocations: 0.7794 MB / 0.5126 GB, free: 436 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.1628, allocations: 8 kB / 0.5126 GB, free: 428 kB / 382.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.2255/0.3883, allocations: 0.6663 MB / 0.5133 GB, free: 20.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.47e-05/0.3884, allocations: 14.09 kB / 0.5133 GB, free: 20.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.323e-05/0.3884, allocations: 18.75 kB / 0.5133 GB, free: 20.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.233e-05/0.3884, allocations: 26.41 kB / 0.5133 GB, free: 20.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004346/0.3889, allocations: 156 kB / 0.5135 GB, free: 20.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.892e-05/0.3889, allocations: 38.92 kB / 0.5135 GB, free: 20.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003823/0.3893, allocations: 62.34 kB / 0.5136 GB, free: 20.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-05/0.3893, allocations: 46.72 kB / 0.5136 GB, free: 20.86 MB / 382.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.0003558/0.3897, allocations: 270.4 kB / 0.5139 GB, free: 20.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008201/0.3905, allocations: 0.536 MB / 0.5144 GB, free: 20.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.3915, allocations: 0.6075 MB / 0.515 GB, free: 20.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/0.3915, allocations: 11.25 kB / 0.515 GB, free: 20.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.3916, allocations: 2.531 kB / 0.515 GB, free: 20.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.3916, allocations: 6.891 kB / 0.515 GB, free: 20.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003904/0.392, allocations: 388.4 kB / 0.5154 GB, free: 20.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-05/0.392, allocations: 6.547 kB / 0.5154 GB, free: 20.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000398/0.3924, allocations: 117.5 kB / 0.5155 GB, free: 20.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.3924, allocations: 4.469 kB / 0.5155 GB, free: 20.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.077e-05/0.3924, allocations: 27.66 kB / 0.5156 GB, free: 20.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.3924, allocations: 4.281 kB / 0.5156 GB, free: 20.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.3924, allocations: 1.812 kB / 0.5156 GB, free: 20.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009104/0.3933, allocations: 0.6735 MB / 0.5162 GB, free: 20.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.187e-05/0.3934, allocations: 50.05 kB / 0.5163 GB, free: 20.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.46e-05/0.3934, allocations: 18.09 kB / 0.5163 GB, free: 20.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.3936, allocations: 23.47 kB / 0.5163 GB, free: 20.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.539e-05/0.3937, allocations: 12.59 kB / 0.5163 GB, free: 20.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.31e-05/0.3937, allocations: 30.81 kB / 0.5163 GB, free: 20.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.444e-05/0.3938, allocations: 124.8 kB / 0.5165 GB, free: 20.24 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3938, allocations: 0 / 0.5165 GB, free: 20.24 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006044/0.3944, allocations: 122.9 kB / 0.5166 GB, free: 20.23 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.001984/0.3964, allocations: 1.677 MB / 0.5182 GB, free: 19.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000818/0.3972, allocations: 0.513 MB / 0.5187 GB, free: 19.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3972, allocations: 0 / 0.5187 GB, free: 19.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.44e-05/0.3972, allocations: 25.95 kB / 0.5187 GB, free: 19.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/0.3986, allocations: 1.245 MB / 0.52 GB, free: 18.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005722/0.4043, allocations: 4.229 MB / 0.5241 GB, free: 15.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004395/0.4048, allocations: 0.8671 MB / 0.5249 GB, free: 15.19 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001969/0.405, allocations: 44.34 kB / 0.525 GB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002265/0.4052, allocations: 117.9 kB / 0.5251 GB, free: 15.11 MB / 382.1 MB Notification: Performance of SimCode: time 9.21e-07/0.4052, allocations: 1 kB / 0.5251 GB, free: 15.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04657/0.4517, allocations: 10.54 MB / 0.5354 GB, free: 12.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.39/13.85, allocations: 11.64 kB / 0.5354 GB, free: 12.7 MB / 382.1 MB " [Timeout remaining time 646] (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: 16.722888005897403] Failed to read output from testmodel.py, exit status != 0: 13.962766330922022 13.985573111 13.832624404 Calling exit ...