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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 103.6 kB / 16.45 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001858/0.001858, allocations: 192 kB / 17.39 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.612/1.612, allocations: 222.9 MB / 241.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06313/0.06313, allocations: 12.05 MB / 303.3 MB, free: 3.09 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 67.45 kB / 419.6 MB, free: 17.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1154, allocations: 52.32 MB / 471.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager): time 0.005046/0.1205, allocations: 2.893 MB / 474.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002121/0.1226, allocations: 1.071 MB / 475.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001635/0.1228, allocations: 7.938 kB / 475.9 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002829/0.1231, allocations: 71.28 kB / 475.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001797/0.1233, allocations: 43.53 kB / 476 MB, free: 9.242 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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.000921/0.1242, allocations: 306.6 kB / 476.3 MB, free: 8.945 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004926/0.1247, allocations: 395.7 kB / 476.7 MB, free: 8.559 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003649/0.1251, allocations: 223 kB / 476.9 MB, free: 8.332 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002283/0.1254, allocations: 183.4 kB / 477.1 MB, free: 8.152 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003016/0.1257, allocations: 219 kB / 477.3 MB, free: 7.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.287e-05/0.1257, allocations: 44 kB / 477.3 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002482/0.126, allocations: 135.9 kB / 477.4 MB, free: 7.762 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001782/0.1262, allocations: 139.6 kB / 477.6 MB, free: 7.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002068/0.1264, allocations: 191 kB / 477.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007209/0.1271, allocations: 0.5718 MB / 478.3 MB, free: 6.863 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1271, allocations: 0 / 478.3 MB, free: 6.863 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1272, allocations: 0 / 478.3 MB, free: 6.863 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1272, allocations: 4 kB / 478.3 MB, free: 6.859 MB / 350.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.001923/0.1291, allocations: 1.226 MB / 479.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.1292, allocations: 12.03 kB / 479.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.568e-05/0.1293, allocations: 82.66 kB / 479.7 MB, free: 5.422 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.1294, allocations: 48.64 kB / 479.7 MB, free: 5.375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004058/0.1298, allocations: 313.5 kB / 480 MB, free: 5.027 MB / 350.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 9.545e-05/0.1299, allocations: 73.06 kB / 480.1 MB, free: 4.953 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.676e-05/0.13, allocations: 40.36 kB / 480.1 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/0.1319, allocations: 1.227 MB / 481.3 MB, free: 3.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.132, allocations: 4 kB / 481.4 MB, free: 3.664 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.911e-05/0.132, allocations: 19.94 kB / 481.4 MB, free: 3.645 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.132, allocations: 8 kB / 481.4 MB, free: 3.637 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004997/0.1325, allocations: 250.4 kB / 481.6 MB, free: 3.391 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.1336, allocations: 0.8367 MB / 482.5 MB, free: 2.488 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/0.135, allocations: 0.9846 MB / 483.4 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006612/0.1356, allocations: 431.6 kB / 483.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/0.1358, allocations: 36.7 kB / 483.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001404/0.1359, allocations: 103.4 kB / 484 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of pre-optimization done (n=84): time 5.12e-06/0.1359, allocations: 3.984 kB / 484 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of matching and sorting (n=84): time 0.001497/0.1374, allocations: 0.7865 MB / 484.8 MB, free: 8 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002055/0.1377, allocations: 208.8 kB / 485 MB, free: 15.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.1379, allocations: 203.8 kB / 485.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.48e-05/0.1379, allocations: 37.7 kB / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.138, allocations: 141.8 kB / 485.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.874e-05/0.1381, allocations: 52.23 kB / 485.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.1383, allocations: 138.7 kB / 485.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.1385, allocations: 346.8 kB / 485.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/0.1387, allocations: 105.9 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000655/0.1393, allocations: 0.6182 MB / 486.6 MB, free: 13.85 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009184/0.1403, allocations: 0.7756 MB / 487.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-06/0.1403, allocations: 4 kB / 487.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001069/0.1413, allocations: 0.6776 MB / 488.1 MB, free: 12.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.1414, allocations: 12 kB / 488.1 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-05/0.1414, allocations: 20 kB / 488.1 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.689e-05/0.1415, allocations: 24 kB / 488.1 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004546/0.1419, allocations: 159.6 kB / 488.3 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.579e-05/0.142, allocations: 35.86 kB / 488.3 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003323/0.1423, allocations: 63.67 kB / 488.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.307e-05/0.1424, allocations: 44 kB / 488.4 MB, free: 11.78 MB / 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.0003595/0.1427, allocations: 273.7 kB / 488.7 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001053/0.1438, allocations: 0.54 MB / 489.2 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001109/0.1449, allocations: 0.6031 MB / 489.8 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.1449, allocations: 11.94 kB / 489.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.145, allocations: 0 / 489.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.145, allocations: 7.984 kB / 489.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004402/0.1454, allocations: 413 kB / 490.3 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.628e-05/0.1454, allocations: 4 kB / 490.3 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000419/0.1459, allocations: 115.8 kB / 490.4 MB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.1459, allocations: 4 kB / 490.4 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.534e-05/0.1459, allocations: 27.98 kB / 490.4 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.117e-05/0.146, allocations: 15.81 kB / 490.4 MB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.146, allocations: 3.938 kB / 490.4 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.1471, allocations: 0.6692 MB / 491.1 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.1472, allocations: 124.7 kB / 491.2 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.198e-05/0.1473, allocations: 16 kB / 491.2 MB, free: 8.855 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.1474, allocations: 27.92 kB / 491.3 MB, free: 8.828 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.975e-05/0.1475, allocations: 15.92 kB / 491.3 MB, free: 8.812 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.293e-05/0.1476, allocations: 24 kB / 491.3 MB, free: 8.789 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001312/0.1477, allocations: 140.3 kB / 491.4 MB, free: 8.652 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1477, allocations: 0 / 491.4 MB, free: 8.652 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006497/0.1484, allocations: 119.8 kB / 491.6 MB, free: 8.535 MB / 366.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.002392/0.1508, allocations: 1.679 MB / 493.2 MB, free: 6.836 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009147/0.1517, allocations: 0.526 MB / 493.8 MB, free: 6.309 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.1517, allocations: 0 / 493.8 MB, free: 6.309 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.504e-05/0.1518, allocations: 31.86 kB / 493.8 MB, free: 6.277 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/0.1535, allocations: 1.262 MB / 495.1 MB, free: 4.973 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005438/0.159, allocations: 4.25 MB / 499.3 MB, free: 120 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005626/0.1595, allocations: 0.852 MB / 0.4884 GB, free: 15.24 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001499/0.1597, allocations: 52.2 kB / 0.4885 GB, free: 15.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/0.1599, allocations: 123.4 kB / 0.4886 GB, free: 15.07 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1599, allocations: 0 / 0.4886 GB, free: 15.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03612/0.196, allocations: 9.803 MB / 0.4982 GB, free: 5.461 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.34/8.536, allocations: 7.844 kB / 0.4982 GB, free: 5.453 MB / 382.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager.fmu > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager.pipe 2>&1)