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.001142/0.001142, allocations: 103.2 kB / 16.31 MB, free: 6.359 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.001195/0.001195, allocations: 186.6 kB / 17.24 MB, free: 5.879 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.369/1.369, allocations: 222.9 MB / 240.9 MB, free: 15.18 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.0603/0.0603, allocations: 12.04 MB / 303.1 MB, free: 3.168 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 63.89 kB / 366.6 MB, free: 3.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2589, allocations: 52.33 MB / 418.9 MB, free: 21.22 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager): time 0.005695/0.2646, allocations: 2.877 MB / 421.8 MB, free: 18.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00258/0.2673, allocations: 1.071 MB / 422.8 MB, free: 17.26 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002469/0.2675, allocations: 7.938 kB / 422.9 MB, free: 17.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003007/0.2679, allocations: 75.28 kB / 422.9 MB, free: 17.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002127/0.2681, allocations: 43.53 kB / 423 MB, free: 17.13 MB / 302.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.001042/0.2692, allocations: 291.2 kB / 423.3 MB, free: 16.85 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004491/0.2697, allocations: 399.8 kB / 423.6 MB, free: 16.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003602/0.27, allocations: 218.7 kB / 423.9 MB, free: 16.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001875/0.2702, allocations: 191.3 kB / 424 MB, free: 16.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002495/0.2705, allocations: 215 kB / 424.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.944e-05/0.2706, allocations: 44 kB / 424.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002256/0.2708, allocations: 127.9 kB / 424.4 MB, free: 15.67 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.271, allocations: 143.6 kB / 424.6 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001759/0.2711, allocations: 198.9 kB / 424.8 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005735/0.2717, allocations: 0.5476 MB / 425.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2717, allocations: 4 kB / 425.3 MB, free: 14.78 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.2718, allocations: 0 / 425.3 MB, free: 14.78 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.2718, allocations: 0 / 425.3 MB, free: 14.78 MB / 302.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.001571/0.2734, allocations: 1.196 MB / 426.5 MB, free: 13.48 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.2734, allocations: 12.03 kB / 426.5 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.035e-05/0.2735, allocations: 78.72 kB / 426.6 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.228e-05/0.2736, allocations: 40.47 kB / 426.6 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.2738, allocations: 329.2 kB / 427 MB, free: 12.98 MB / 302.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 6.771e-05/0.2739, allocations: 59.27 kB / 427 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.72e-05/0.274, allocations: 36.38 kB / 427 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/0.2753, allocations: 1.231 MB / 428.3 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.2754, allocations: 4 kB / 428.3 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.152e-05/0.2754, allocations: 12 kB / 428.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.2754, allocations: 12 kB / 428.3 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003588/0.2758, allocations: 246.4 kB / 428.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007469/0.2765, allocations: 0.8325 MB / 429.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009569/0.2775, allocations: 0.9958 MB / 430.4 MB, free: 9.375 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000463/0.278, allocations: 435.7 kB / 430.8 MB, free: 8.934 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.2781, allocations: 28.64 kB / 430.8 MB, free: 8.906 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.272e-05/0.2782, allocations: 103.4 kB / 430.9 MB, free: 8.777 MB / 302.1 MB Notification: Performance of pre-optimization done (n=84): time 2.665e-06/0.2782, allocations: 0 / 430.9 MB, free: 8.777 MB / 302.1 MB Notification: Performance of matching and sorting (n=84): time 0.001161/0.2794, allocations: 0.7864 MB / 431.7 MB, free: 7.988 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.2795, allocations: 213.1 kB / 431.9 MB, free: 7.738 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.2797, allocations: 210.7 kB / 432.1 MB, free: 7.523 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/0.2797, allocations: 41.64 kB / 432.2 MB, free: 7.477 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.764e-05/0.2798, allocations: 129.9 kB / 432.3 MB, free: 7.348 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.496e-05/0.2798, allocations: 59.61 kB / 432.4 MB, free: 7.289 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.28, allocations: 134.7 kB / 432.5 MB, free: 7.148 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.2801, allocations: 346.8 kB / 432.8 MB, free: 6.801 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.2802, allocations: 109.9 kB / 432.9 MB, free: 6.695 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004031/0.2806, allocations: 0.6104 MB / 433.5 MB, free: 5.828 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007106/0.2814, allocations: 0.7872 MB / 434.3 MB, free: 4.785 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.727e-06/0.2814, allocations: 4 kB / 434.3 MB, free: 4.781 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.000852/0.2822, allocations: 0.669 MB / 435 MB, free: 4.105 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.2823, allocations: 12.97 kB / 435 MB, free: 4.094 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.524e-05/0.2823, allocations: 23.98 kB / 435 MB, free: 4.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.044e-05/0.2824, allocations: 24 kB / 435.1 MB, free: 4.047 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004435/0.2828, allocations: 159.6 kB / 435.2 MB, free: 3.891 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-05/0.2829, allocations: 35.86 kB / 435.3 MB, free: 3.855 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003159/0.2832, allocations: 67.52 kB / 435.3 MB, free: 3.789 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.553e-05/0.2832, allocations: 44 kB / 435.4 MB, free: 3.746 MB / 302.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.0003449/0.2836, allocations: 257.4 kB / 435.6 MB, free: 3.484 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008106/0.2844, allocations: 0.5359 MB / 436.2 MB, free: 2.941 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009199/0.2853, allocations: 0.6104 MB / 436.8 MB, free: 2.332 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.2854, allocations: 15.94 kB / 436.8 MB, free: 2.316 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.2854, allocations: 3.984 kB / 436.8 MB, free: 2.312 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.729e-06/0.2854, allocations: 3.984 kB / 436.8 MB, free: 2.309 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003319/0.2857, allocations: 412.8 kB / 437.2 MB, free: 1.855 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.658e-05/0.2858, allocations: 8 kB / 437.2 MB, free: 1.848 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000364/0.2861, allocations: 119.8 kB / 437.3 MB, free: 1.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.2861, allocations: 4 kB / 437.3 MB, free: 1.727 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.474e-05/0.2862, allocations: 27.98 kB / 437.3 MB, free: 1.699 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/0.2862, allocations: 7.938 kB / 437.4 MB, free: 1.691 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2862, allocations: 0 / 437.4 MB, free: 1.691 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008042/0.287, allocations: 0.6612 MB / 438 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.992e-05/0.2871, allocations: 132.4 kB / 438.1 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.404e-05/0.2871, allocations: 16 kB / 438.2 MB, free: 0.832 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.2873, allocations: 23.94 kB / 438.2 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.612e-05/0.2873, allocations: 11.98 kB / 438.2 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.25e-05/0.2874, allocations: 27.98 kB / 438.2 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.675e-05/0.2875, allocations: 133.2 kB / 438.3 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2875, allocations: 3.938 kB / 438.4 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006231/0.2881, allocations: 115.9 kB / 438.5 MB, free: 0.5234 MB / 302.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.002465/0.2906, allocations: 1.689 MB / 440.2 MB, free: 14.82 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001476/0.2921, allocations: 0.6933 MB / 440.8 MB, free: 14.12 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.2921, allocations: 1 kB / 440.8 MB, free: 14.12 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.373e-05/0.2922, allocations: 32.12 kB / 440.9 MB, free: 14.09 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/0.2938, allocations: 1.264 MB / 442.1 MB, free: 12.78 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003799/0.2976, allocations: 2.386 MB / 444.5 MB, free: 10.08 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005725/0.2982, allocations: 0.852 MB / 445.4 MB, free: 9.195 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002258/0.2985, allocations: 52.25 kB / 445.4 MB, free: 9.145 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002529/0.2987, allocations: 123.4 kB / 445.6 MB, free: 9.023 MB / 318.1 MB Notification: Performance of SimCode: time 7.31e-07/0.2988, allocations: 3.938 kB / 445.6 MB, free: 9.02 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04308/0.3418, allocations: 9.591 MB / 455.1 MB, free: 15.61 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.711/8.053, allocations: 14.59 kB / 455.2 MB, free: 15.59 MB / 334.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)