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.001916/0.001916, allocations: 93.91 kB / 20.52 MB, free: 1.328 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.001695/0.001695, allocations: 216.9 kB / 23.82 MB, free: 4.48 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.607/1.607, allocations: 230.6 MB / 257.6 MB, free: 7.797 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.08818/0.08818, allocations: 12.22 MB / 326.2 MB, free: 7.051 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.001999/0.001999, allocations: 67.91 kB / 454.1 MB, free: 8.836 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1227, allocations: 56.4 MB / 0.4985 GB, free: 348 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager): time 0.005918/0.1286, allocations: 2.935 MB / 0.5014 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002296/0.1309, allocations: 1.063 MB / 0.5024 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002523/0.1312, allocations: 15.88 kB / 0.5024 GB, free: 12.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003361/0.1315, allocations: 63.33 kB / 0.5025 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003191/0.1318, allocations: 55.47 kB / 0.5026 GB, free: 12.19 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.00124/0.1331, allocations: 293.8 kB / 0.5028 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006644/0.1337, allocations: 407.6 kB / 0.5032 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003216/0.1341, allocations: 127.5 kB / 0.5033 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003194/0.1344, allocations: 187.4 kB / 0.5035 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003993/0.1348, allocations: 227 kB / 0.5037 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.1349, allocations: 44 kB / 0.5038 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003422/0.1352, allocations: 143.9 kB / 0.5039 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002164/0.1354, allocations: 139.6 kB / 0.504 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002167/0.1357, allocations: 159.2 kB / 0.5042 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008803/0.1365, allocations: 0.5718 MB / 0.5048 GB, free: 9.914 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1366, allocations: 0 / 0.5048 GB, free: 9.914 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.607e-06/0.1366, allocations: 4 kB / 0.5048 GB, free: 9.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.815e-05/0.1366, allocations: 0 / 0.5048 GB, free: 9.91 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.00224/0.1388, allocations: 1.151 MB / 0.5059 GB, free: 8.672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.1389, allocations: 8.031 kB / 0.5059 GB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.526e-05/0.1389, allocations: 9.188 kB / 0.5059 GB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001126/0.139, allocations: 78.72 kB / 0.506 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.1391, allocations: 44.69 kB / 0.506 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004647/0.1396, allocations: 263.7 kB / 0.5063 GB, free: 8.238 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.000104/0.1397, allocations: 59.27 kB / 0.5063 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.525e-05/0.1398, allocations: 48.11 kB / 0.5064 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002076/0.1418, allocations: 1.277 MB / 0.5076 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.1418, allocations: 0 / 0.5076 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.306e-05/0.1419, allocations: 19.98 kB / 0.5076 GB, free: 6.793 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.1419, allocations: 8 kB / 0.5076 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004902/0.1424, allocations: 258.3 kB / 0.5079 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.1434, allocations: 0.7305 MB / 0.5086 GB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/0.1446, allocations: 0.7163 MB / 0.5093 GB, free: 4.988 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000645/0.1453, allocations: 384.2 kB / 0.5097 GB, free: 4.602 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.953e-05/0.1454, allocations: 28.64 kB / 0.5097 GB, free: 4.574 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.1455, allocations: 111.4 kB / 0.5098 GB, free: 4.441 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 3.026e-06/0.1455, allocations: 0 / 0.5098 GB, free: 4.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=84): time 0.001507/0.147, allocations: 0.7868 MB / 0.5106 GB, free: 3.648 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001909/0.1472, allocations: 216.7 kB / 0.5108 GB, free: 3.398 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.1475, allocations: 203.1 kB / 0.511 GB, free: 3.188 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.092e-05/0.1475, allocations: 41.7 kB / 0.511 GB, free: 3.141 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.1476, allocations: 133.9 kB / 0.5111 GB, free: 3.004 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.903e-05/0.1477, allocations: 59.81 kB / 0.5112 GB, free: 2.945 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001636/0.1478, allocations: 138.7 kB / 0.5113 GB, free: 2.805 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.148, allocations: 346.8 kB / 0.5117 GB, free: 2.457 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.1482, allocations: 109.9 kB / 0.5118 GB, free: 2.348 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005995/0.1488, allocations: 0.6065 MB / 0.5124 GB, free: 1.484 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009068/0.1497, allocations: 0.7872 MB / 0.5131 GB, free: 452 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/0.1497, allocations: 4 kB / 0.5131 GB, free: 448 kB / 382.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.2224/0.3721, allocations: 0.6577 MB / 0.5138 GB, free: 21.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.68e-05/0.3721, allocations: 13.09 kB / 0.5138 GB, free: 21.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.594e-05/0.3722, allocations: 22.59 kB / 0.5138 GB, free: 21.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.836e-05/0.3722, allocations: 24.25 kB / 0.5138 GB, free: 21.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004241/0.3726, allocations: 161.8 kB / 0.514 GB, free: 21.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.687e-05/0.3727, allocations: 36.8 kB / 0.514 GB, free: 21.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004455/0.3731, allocations: 62.44 kB / 0.5141 GB, free: 21.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-05/0.3731, allocations: 45.47 kB / 0.5141 GB, free: 21.05 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.0003798/0.3735, allocations: 278.5 kB / 0.5144 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008726/0.3744, allocations: 0.5294 MB / 0.5149 GB, free: 20.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.3754, allocations: 0.6071 MB / 0.5155 GB, free: 20.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.3754, allocations: 12 kB / 0.5155 GB, free: 20.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.3754, allocations: 2.578 kB / 0.5155 GB, free: 20.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.3754, allocations: 3.609 kB / 0.5155 GB, free: 20.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/0.3757, allocations: 318.5 kB / 0.5158 GB, free: 20.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.485e-05/0.3758, allocations: 5.062 kB / 0.5158 GB, free: 20.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003935/0.3762, allocations: 121.4 kB / 0.5159 GB, free: 20.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.3762, allocations: 4.438 kB / 0.5159 GB, free: 20.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/0.3762, allocations: 16.7 kB / 0.516 GB, free: 20.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.215e-06/0.3762, allocations: 5.969 kB / 0.516 GB, free: 20.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.3762, allocations: 5.438 kB / 0.516 GB, free: 20.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009062/0.3771, allocations: 0.6807 MB / 0.5166 GB, free: 20.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.915e-05/0.3772, allocations: 50.56 kB / 0.5167 GB, free: 20.51 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.739e-05/0.3772, allocations: 24.41 kB / 0.5167 GB, free: 20.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.3774, allocations: 17.31 kB / 0.5167 GB, free: 20.51 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.252e-05/0.3774, allocations: 8.453 kB / 0.5167 GB, free: 20.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.706e-05/0.3775, allocations: 35.41 kB / 0.5168 GB, free: 20.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.415e-05/0.3776, allocations: 127.9 kB / 0.5169 GB, free: 20.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3776, allocations: 3.844 kB / 0.5169 GB, free: 20.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006647/0.3782, allocations: 122.9 kB / 0.517 GB, free: 20.42 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.002055/0.3803, allocations: 1.678 MB / 0.5186 GB, free: 19.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009173/0.3812, allocations: 0.5111 MB / 0.5191 GB, free: 19.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.3812, allocations: 0 / 0.5191 GB, free: 19.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.535e-05/0.3813, allocations: 26.47 kB / 0.5192 GB, free: 19.65 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/0.3827, allocations: 1.24 MB / 0.5204 GB, free: 18.81 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004655/0.3874, allocations: 4.228 MB / 0.5245 GB, free: 16.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.3877, allocations: 263.9 kB / 0.5248 GB, free: 15.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001597/0.3878, allocations: 42.36 kB / 0.5248 GB, free: 15.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/0.388, allocations: 121.1 kB / 0.5249 GB, free: 15.82 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.388, allocations: 0 / 0.5249 GB, free: 15.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04208/0.4301, allocations: 10.63 MB / 0.5353 GB, free: 13.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.34, allocations: 7.75 kB / 0.5353 GB, free: 13.36 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.33316211903002] Failed to read output from testmodel.py, exit status != 0: 13.505603412981145 13.516658478 13.377824389 Calling exit ...