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.001122/0.001126, allocations: 107.1 kB / 16.45 MB, free: 6.441 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.001044/0.001044, allocations: 186.4 kB / 17.38 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.359/1.359, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.05642/0.05642, allocations: 12.05 MB / 303.3 MB, free: 3.09 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 59.91 kB / 419.6 MB, free: 17.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1114, allocations: 52.32 MB / 471.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager): time 0.005609/0.117, allocations: 2.885 MB / 474.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003054/0.1201, allocations: 1.067 MB / 475.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004996/0.1207, allocations: 7.938 kB / 475.9 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000556/0.1213, allocations: 79.27 kB / 475.9 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004198/0.1218, allocations: 47.53 kB / 476 MB, free: 9.234 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.001251/0.123, allocations: 302.7 kB / 476.3 MB, free: 8.941 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005846/0.1236, allocations: 399.7 kB / 476.7 MB, free: 8.551 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003664/0.124, allocations: 211 kB / 476.9 MB, free: 8.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002211/0.1242, allocations: 191.3 kB / 477.1 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002749/0.1245, allocations: 219 kB / 477.3 MB, free: 7.934 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.665e-05/0.1246, allocations: 44 kB / 477.3 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002467/0.1248, allocations: 128 kB / 477.4 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001662/0.125, allocations: 147.5 kB / 477.6 MB, free: 7.621 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001879/0.1252, allocations: 198.9 kB / 477.8 MB, free: 7.426 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007214/0.1259, allocations: 0.5679 MB / 478.3 MB, free: 6.855 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.126, allocations: 0 / 478.3 MB, free: 6.855 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.126, allocations: 0 / 478.3 MB, free: 6.855 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.577e-05/0.126, allocations: 0 / 478.3 MB, free: 6.855 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.001978/0.128, allocations: 1.234 MB / 479.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.128, allocations: 12.03 kB / 479.6 MB, free: 5.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.95e-05/0.1281, allocations: 86.7 kB / 479.7 MB, free: 5.406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.769e-05/0.1282, allocations: 44.66 kB / 479.7 MB, free: 5.363 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004105/0.1286, allocations: 325.5 kB / 480 MB, free: 5.004 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 8.862e-05/0.1287, allocations: 57.3 kB / 480.1 MB, free: 4.945 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.388e-05/0.1288, allocations: 44.38 kB / 480.1 MB, free: 4.902 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/0.1305, allocations: 1.23 MB / 481.4 MB, free: 3.652 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.1306, allocations: 0 / 481.4 MB, free: 3.652 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4e-05/0.1306, allocations: 19.98 kB / 481.4 MB, free: 3.633 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.1306, allocations: 8 kB / 481.4 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004525/0.1311, allocations: 250.4 kB / 481.6 MB, free: 3.379 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009641/0.1321, allocations: 0.8289 MB / 482.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/0.1333, allocations: 0.9964 MB / 483.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006158/0.134, allocations: 435.7 kB / 483.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001192/0.1341, allocations: 24.64 kB / 483.9 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001498/0.1342, allocations: 103.4 kB / 484 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of pre-optimization done (n=84): time 3.957e-06/0.1343, allocations: 0 / 484 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of matching and sorting (n=84): time 0.00145/0.1357, allocations: 0.7864 MB / 484.8 MB, free: 4 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002026/0.1359, allocations: 208.8 kB / 485 MB, free: 15.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.1362, allocations: 200.3 kB / 485.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.168e-05/0.1362, allocations: 45.7 kB / 485.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.1363, allocations: 141.8 kB / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.582e-05/0.1364, allocations: 51.86 kB / 485.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001776/0.1366, allocations: 138.7 kB / 485.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.1368, allocations: 346.8 kB / 485.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/0.137, allocations: 109.9 kB / 486 MB, free: 14.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005044/0.1375, allocations: 0.6065 MB / 486.6 MB, free: 13.85 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009182/0.1384, allocations: 0.7872 MB / 487.4 MB, free: 12.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-05/0.1384, allocations: 4 kB / 487.4 MB, free: 12.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0009958/0.1394, allocations: 0.6692 MB / 488.1 MB, free: 12.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/0.1395, allocations: 12 kB / 488.1 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-05/0.1395, allocations: 16 kB / 488.1 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.666e-05/0.1395, allocations: 27.98 kB / 488.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004172/0.14, allocations: 160.3 kB / 488.3 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.29e-05/0.14, allocations: 35.86 kB / 488.3 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003388/0.1404, allocations: 63.67 kB / 488.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.937e-05/0.1404, allocations: 52 kB / 488.4 MB, free: 11.77 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.0003934/0.1408, allocations: 269.6 kB / 488.7 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001332/0.1422, allocations: 0.5361 MB / 489.2 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001469/0.1437, allocations: 0.6036 MB / 489.8 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.995e-05/0.1437, allocations: 15.88 kB / 489.9 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.1437, allocations: 4 kB / 489.9 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.1437, allocations: 3.984 kB / 489.9 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005604/0.1443, allocations: 416.9 kB / 490.3 MB, free: 9.867 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.742e-05/0.1443, allocations: 4 kB / 490.3 MB, free: 9.863 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005967/0.1449, allocations: 119.8 kB / 490.4 MB, free: 9.746 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.961e-05/0.145, allocations: 4 kB / 490.4 MB, free: 9.742 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.078e-05/0.1451, allocations: 20 kB / 490.4 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.256e-05/0.1451, allocations: 11.88 kB / 490.4 MB, free: 9.711 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.1451, allocations: 7.938 kB / 490.4 MB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001463/0.1466, allocations: 0.6653 MB / 491.1 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.1467, allocations: 124.7 kB / 491.2 MB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.246e-05/0.1468, allocations: 19.98 kB / 491.2 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.1471, allocations: 27.94 kB / 491.3 MB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.373e-05/0.1471, allocations: 7.984 kB / 491.3 MB, free: 8.809 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.353e-05/0.1472, allocations: 31.98 kB / 491.3 MB, free: 8.777 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001491/0.1474, allocations: 124.3 kB / 491.4 MB, free: 8.656 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1474, allocations: 3.938 kB / 491.4 MB, free: 8.652 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001033/0.1484, allocations: 127.8 kB / 491.6 MB, free: 8.527 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.003161/0.1516, allocations: 1.684 MB / 493.2 MB, free: 6.824 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001406/0.153, allocations: 0.5185 MB / 493.8 MB, free: 6.305 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.1531, allocations: 4 kB / 493.8 MB, free: 6.301 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.026e-05/0.1531, allocations: 27.86 kB / 493.8 MB, free: 6.273 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002104/0.1553, allocations: 1.264 MB / 495.1 MB, free: 4.961 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007263/0.1625, allocations: 4.236 MB / 499.3 MB, free: 120 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005784/0.1632, allocations: 0.8598 MB / 0.4884 GB, free: 15.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001912/0.1634, allocations: 48.53 kB / 0.4885 GB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002493/0.1636, allocations: 119.4 kB / 0.4886 GB, free: 15.07 MB / 382.1 MB Notification: Performance of SimCode: time 8.22e-07/0.1636, allocations: 0 / 0.4886 GB, free: 15.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04039/0.204, allocations: 9.808 MB / 0.4982 GB, free: 5.453 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.124/8.328, allocations: 10.91 kB / 0.4982 GB, free: 5.449 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)