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.001237/0.001237, allocations: 104 kB / 16.45 MB, free: 6.449 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.00138/0.00138, allocations: 192.1 kB / 17.39 MB, free: 5.668 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.374/1.374, allocations: 222.9 MB / 241.1 MB, free: 15.07 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.05969/0.05969, allocations: 12.05 MB / 303.3 MB, free: 3.07 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 59.91 kB / 419.6 MB, free: 17.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1223, allocations: 52.33 MB / 471.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager): time 0.005704/0.1281, allocations: 2.877 MB / 474.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002119/0.1302, allocations: 1.079 MB / 475.8 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003544/0.1306, allocations: 11.94 kB / 475.9 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003674/0.131, allocations: 63.28 kB / 475.9 MB, free: 9.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003354/0.1314, allocations: 47.53 kB / 476 MB, free: 9.223 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.00111/0.1325, allocations: 298.1 kB / 476.3 MB, free: 8.934 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005109/0.133, allocations: 403.7 kB / 476.7 MB, free: 8.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003425/0.1334, allocations: 218.6 kB / 476.9 MB, free: 8.316 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002506/0.1336, allocations: 187.4 kB / 477 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000304/0.1339, allocations: 223 kB / 477.3 MB, free: 7.914 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.73e-05/0.134, allocations: 44 kB / 477.3 MB, free: 7.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002367/0.1343, allocations: 127.9 kB / 477.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000166/0.1344, allocations: 139.6 kB / 477.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002317/0.1347, allocations: 194.9 kB / 477.8 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006978/0.1354, allocations: 0.5712 MB / 478.3 MB, free: 6.848 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1354, allocations: 0 / 478.3 MB, free: 6.848 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1354, allocations: 3.938 kB / 478.3 MB, free: 6.844 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.573e-05/0.1354, allocations: 0 / 478.3 MB, free: 6.844 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.002205/0.1376, allocations: 1.216 MB / 479.6 MB, free: 5.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.1377, allocations: 8.031 kB / 479.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001207/0.1378, allocations: 78.72 kB / 479.6 MB, free: 5.426 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.138, allocations: 44.41 kB / 479.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004189/0.1384, allocations: 321.4 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 0.0001128/0.1385, allocations: 63.2 kB / 480.1 MB, free: 4.961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.764e-05/0.1386, allocations: 40.38 kB / 480.1 MB, free: 4.922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001823/0.1404, allocations: 1.234 MB / 481.3 MB, free: 3.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.1404, allocations: 0 / 481.3 MB, free: 3.668 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.947e-05/0.1405, allocations: 19.98 kB / 481.3 MB, free: 3.648 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.1405, allocations: 12 kB / 481.4 MB, free: 3.637 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004556/0.141, allocations: 250.4 kB / 481.6 MB, free: 3.391 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009203/0.1419, allocations: 0.8249 MB / 482.4 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.1431, allocations: 0.9932 MB / 483.4 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005905/0.1437, allocations: 435.6 kB / 483.8 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/0.1438, allocations: 28.64 kB / 483.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001263/0.144, allocations: 99.58 kB / 484 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of pre-optimization done (n=84): time 3.586e-06/0.144, allocations: 0 / 484 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of matching and sorting (n=84): time 0.001362/0.1453, allocations: 0.7865 MB / 484.8 MB, free: 24 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001592/0.1455, allocations: 212.7 kB / 485 MB, free: 15.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.1457, allocations: 199.8 kB / 485.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.1458, allocations: 45.69 kB / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.533e-05/0.1458, allocations: 133.8 kB / 485.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.64e-05/0.1459, allocations: 51.67 kB / 485.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.1461, allocations: 138.7 kB / 485.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.1462, allocations: 346.8 kB / 485.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.1464, allocations: 113.9 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004767/0.1468, allocations: 0.6143 MB / 486.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007657/0.1476, allocations: 0.7756 MB / 487.4 MB, free: 12.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.295e-05/0.1476, allocations: 4 kB / 487.4 MB, free: 12.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0009433/0.1486, allocations: 0.6736 MB / 488 MB, free: 12.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.1486, allocations: 12.19 kB / 488.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.015e-05/0.1486, allocations: 20 kB / 488.1 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.73e-05/0.1487, allocations: 24 kB / 488.1 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003989/0.1491, allocations: 163.6 kB / 488.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.934e-05/0.1491, allocations: 35.86 kB / 488.3 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003126/0.1494, allocations: 67.52 kB / 488.4 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.181e-05/0.1495, allocations: 44 kB / 488.4 MB, free: 11.79 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.0002681/0.1498, allocations: 265.4 kB / 488.7 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000849/0.1506, allocations: 0.5436 MB / 489.2 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009783/0.1516, allocations: 0.5995 MB / 489.8 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.1516, allocations: 19.92 kB / 489.8 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1517, allocations: 0 / 489.8 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.1517, allocations: 3.984 kB / 489.8 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003461/0.152, allocations: 416.8 kB / 490.2 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.622e-05/0.152, allocations: 4 kB / 490.2 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003972/0.1524, allocations: 119.8 kB / 490.4 MB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.827e-06/0.1525, allocations: 8 kB / 490.4 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.644e-05/0.1525, allocations: 23.98 kB / 490.4 MB, free: 9.738 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.456e-06/0.1525, allocations: 15.81 kB / 490.4 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1525, allocations: 0 / 490.4 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009966/0.1535, allocations: 0.6574 MB / 491.1 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.09e-05/0.1536, allocations: 128.4 kB / 491.2 MB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.61e-05/0.1537, allocations: 16 kB / 491.2 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.1538, allocations: 23.94 kB / 491.2 MB, free: 8.848 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.353e-05/0.1539, allocations: 15.92 kB / 491.2 MB, free: 8.832 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.812e-05/0.154, allocations: 27.98 kB / 491.3 MB, free: 8.805 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.858e-05/0.1541, allocations: 124.3 kB / 491.4 MB, free: 8.684 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1541, allocations: 4 kB / 491.4 MB, free: 8.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006264/0.1547, allocations: 127.9 kB / 491.5 MB, free: 8.555 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.002089/0.1568, allocations: 1.674 MB / 493.2 MB, free: 6.859 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008087/0.1576, allocations: 0.526 MB / 493.7 MB, free: 6.332 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.1576, allocations: 448 / 493.7 MB, free: 6.332 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.4e-05/0.1577, allocations: 31.86 kB / 493.7 MB, free: 6.301 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001623/0.1593, allocations: 1.269 MB / 495 MB, free: 4.992 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004733/0.1641, allocations: 4.225 MB / 499.2 MB, free: 164 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004234/0.1645, allocations: 0.8559 MB / 0.4884 GB, free: 15.28 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001309/0.1647, allocations: 40.28 kB / 0.4884 GB, free: 15.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.1649, allocations: 131.3 kB / 0.4885 GB, free: 15.11 MB / 382.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1649, allocations: 0 / 0.4885 GB, free: 15.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03261/0.1975, allocations: 9.802 MB / 0.4981 GB, free: 5.504 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.879/8.076, allocations: 14.16 kB / 0.4981 GB, free: 5.496 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager.fmu > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager.pipe 2>&1)