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.001736/0.001736, allocations: 102.1 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.001841/0.001841, allocations: 189.8 kB / 17.24 MB, free: 5.875 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.352/1.352, allocations: 222.9 MB / 240.9 MB, free: 15.2 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.05952/0.05952, allocations: 12.05 MB / 303.1 MB, free: 3.18 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002453/0.002453, allocations: 59.89 kB / 366.6 MB, free: 3.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2552, allocations: 52.34 MB / 418.9 MB, free: 21.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager): time 0.004403/0.2597, allocations: 2.883 MB / 421.8 MB, free: 18.19 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001911/0.2616, allocations: 1.07 MB / 422.9 MB, free: 17.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003541/0.262, allocations: 7.938 kB / 422.9 MB, free: 17.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003641/0.2624, allocations: 71.27 kB / 422.9 MB, free: 17.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000312/0.2627, allocations: 47.53 kB / 423 MB, free: 16.99 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.001103/0.2639, allocations: 299.2 kB / 423.3 MB, free: 16.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004213/0.2643, allocations: 391.8 kB / 423.7 MB, free: 16.31 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002891/0.2646, allocations: 217.8 kB / 423.9 MB, free: 16.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/0.2648, allocations: 195.3 kB / 424.1 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002244/0.265, allocations: 219 kB / 424.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.209e-05/0.2651, allocations: 44 kB / 424.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001946/0.2653, allocations: 123.9 kB / 424.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.2654, allocations: 147.5 kB / 424.6 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.2656, allocations: 190.9 kB / 424.8 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005414/0.2661, allocations: 0.5475 MB / 425.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2661, allocations: 0 / 425.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2662, allocations: 4 kB / 425.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.537e-05/0.2662, allocations: 0 / 425.3 MB, free: 14.64 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.00171/0.2679, allocations: 1.199 MB / 426.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.2679, allocations: 8.031 kB / 426.5 MB, free: 13.33 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.461e-05/0.268, allocations: 78.72 kB / 426.6 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.135e-05/0.2681, allocations: 40.47 kB / 426.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.2684, allocations: 329.3 kB / 427 MB, free: 12.84 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 8.808e-05/0.2685, allocations: 59.25 kB / 427 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.688e-05/0.2686, allocations: 40.38 kB / 427.1 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.2701, allocations: 1.227 MB / 428.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.2702, allocations: 4 kB / 428.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.506e-05/0.2702, allocations: 12 kB / 428.3 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.2702, allocations: 8 kB / 428.3 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004131/0.2706, allocations: 254.4 kB / 428.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008232/0.2715, allocations: 0.8325 MB / 429.4 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009785/0.2725, allocations: 0.9879 MB / 430.4 MB, free: 9.238 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000488/0.273, allocations: 435.7 kB / 430.8 MB, free: 8.797 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.68e-05/0.2731, allocations: 36.64 kB / 430.8 MB, free: 8.762 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001006/0.2732, allocations: 103.4 kB / 430.9 MB, free: 8.633 MB / 302.1 MB Notification: Performance of pre-optimization done (n=84): time 3.136e-06/0.2732, allocations: 0 / 430.9 MB, free: 8.633 MB / 302.1 MB Notification: Performance of matching and sorting (n=84): time 0.001127/0.2743, allocations: 0.7866 MB / 431.7 MB, free: 7.844 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.711e-05/0.2744, allocations: 212.7 kB / 431.9 MB, free: 7.594 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.2746, allocations: 210.6 kB / 432.1 MB, free: 7.379 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.2746, allocations: 37.7 kB / 432.2 MB, free: 7.336 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.132e-05/0.2746, allocations: 138.2 kB / 432.3 MB, free: 7.199 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.392e-05/0.2747, allocations: 55.61 kB / 432.4 MB, free: 7.145 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.2748, allocations: 134.7 kB / 432.5 MB, free: 7.004 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.867e-05/0.2749, allocations: 350.8 kB / 432.8 MB, free: 6.652 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.275, allocations: 105.9 kB / 432.9 MB, free: 6.551 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002886/0.2753, allocations: 0.6104 MB / 433.6 MB, free: 5.684 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005739/0.2759, allocations: 0.7833 MB / 434.3 MB, free: 4.645 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.374e-05/0.2759, allocations: 8 kB / 434.3 MB, free: 4.637 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.000863/0.2768, allocations: 0.6693 MB / 435 MB, free: 3.961 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.2768, allocations: 12 kB / 435 MB, free: 3.949 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.2768, allocations: 16 kB / 435 MB, free: 3.934 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.732e-05/0.2769, allocations: 24 kB / 435.1 MB, free: 3.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003525/0.2772, allocations: 159.6 kB / 435.2 MB, free: 3.754 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.026e-05/0.2773, allocations: 35.86 kB / 435.3 MB, free: 3.719 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002942/0.2776, allocations: 63.95 kB / 435.3 MB, free: 3.656 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/0.2776, allocations: 56 kB / 435.4 MB, free: 3.602 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.0002017/0.2778, allocations: 261.4 kB / 435.6 MB, free: 3.336 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007017/0.2785, allocations: 0.532 MB / 436.2 MB, free: 2.797 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008259/0.2793, allocations: 0.6032 MB / 436.8 MB, free: 2.195 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.2794, allocations: 15.94 kB / 436.8 MB, free: 2.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.2794, allocations: 4 kB / 436.8 MB, free: 2.176 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.2794, allocations: 3.984 kB / 436.8 MB, free: 2.172 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002482/0.2797, allocations: 412.8 kB / 437.2 MB, free: 1.719 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.481e-05/0.2797, allocations: 8 kB / 437.2 MB, free: 1.711 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003492/0.28, allocations: 119.8 kB / 437.3 MB, free: 1.594 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.28, allocations: 4 kB / 437.3 MB, free: 1.59 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.499e-05/0.2801, allocations: 23.98 kB / 437.3 MB, free: 1.566 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.2801, allocations: 7.938 kB / 437.3 MB, free: 1.559 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.2801, allocations: 0 / 437.3 MB, free: 1.559 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007913/0.2809, allocations: 0.669 MB / 438 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.279e-05/0.281, allocations: 128.5 kB / 438.1 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.436e-05/0.281, allocations: 16 kB / 438.2 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.2812, allocations: 23.92 kB / 438.2 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.622e-05/0.2812, allocations: 15.98 kB / 438.2 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.893e-05/0.2813, allocations: 24 kB / 438.2 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.043e-05/0.2813, allocations: 137.1 kB / 438.4 MB, free: 0.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2814, allocations: 0 / 438.4 MB, free: 0.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005707/0.2819, allocations: 115.9 kB / 438.5 MB, free: 396 kB / 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.002001/0.2839, allocations: 1.68 MB / 440.1 MB, free: 14.68 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001379/0.2853, allocations: 0.6929 MB / 440.8 MB, free: 13.99 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.2853, allocations: 0 / 440.8 MB, free: 13.99 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.582e-05/0.2854, allocations: 31.91 kB / 440.9 MB, free: 13.96 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/0.287, allocations: 1.276 MB / 442.1 MB, free: 12.64 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003202/0.2902, allocations: 2.378 MB / 444.5 MB, free: 9.941 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.2906, allocations: 0.8559 MB / 445.4 MB, free: 9.055 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001376/0.2907, allocations: 40.27 kB / 445.4 MB, free: 9.016 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.2909, allocations: 127.3 kB / 445.5 MB, free: 8.891 MB / 318.1 MB Notification: Performance of SimCode: time 1.493e-06/0.2909, allocations: 4 kB / 445.5 MB, free: 8.887 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02731/0.3182, allocations: 9.61 MB / 455.2 MB, free: 15.46 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.445/7.763, allocations: 6.531 kB / 455.2 MB, free: 15.45 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 & /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)