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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 116.6 kB / 17.17 MB, free: 5.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001888/0.001888, allocations: 195.7 kB / 20.12 MB, free: 2.809 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.553/1.553, allocations: 225.6 MB / 248.5 MB, free: 3.594 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06288/0.06288, allocations: 12.17 MB / 315.6 MB, free: 256 kB / 238.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002762/0.002762, allocations: 63.89 kB / 439.5 MB, free: 6.625 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3253, allocations: 55.18 MB / 494.7 MB, free: 23.77 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager): time 0.004649/0.3299, allocations: 2.898 MB / 497.6 MB, free: 21.53 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001895/0.3318, allocations: 1.084 MB / 498.7 MB, free: 20.67 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002974/0.3321, allocations: 9.969 kB / 498.7 MB, free: 20.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003312/0.3324, allocations: 76.67 kB / 498.8 MB, free: 20.6 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000291/0.3327, allocations: 49.31 kB / 498.8 MB, free: 20.55 MB / 366.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.001007/0.3337, allocations: 290.8 kB / 499.1 MB, free: 20.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000594/0.3343, allocations: 398.1 kB / 499.5 MB, free: 20.11 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00032/0.3346, allocations: 156.1 kB / 499.6 MB, free: 20.01 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002852/0.3349, allocations: 183.9 kB / 499.8 MB, free: 19.89 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000357/0.3353, allocations: 233.4 kB / 0.4883 GB, free: 19.72 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.3354, allocations: 44.47 kB / 0.4884 GB, free: 19.72 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003285/0.3357, allocations: 133.8 kB / 0.4885 GB, free: 19.67 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001908/0.3359, allocations: 141.7 kB / 0.4886 GB, free: 19.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002226/0.3362, allocations: 189.9 kB / 0.4888 GB, free: 19.42 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008388/0.337, allocations: 0.5776 MB / 0.4894 GB, free: 18.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.337, allocations: 0 / 0.4894 GB, free: 18.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.337, allocations: 0 / 0.4894 GB, free: 18.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.017e-05/0.337, allocations: 0 / 0.4894 GB, free: 18.98 MB / 366.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.002252/0.3393, allocations: 1.229 MB / 0.4906 GB, free: 17.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.3393, allocations: 9.156 kB / 0.4906 GB, free: 17.89 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001208/0.3395, allocations: 85 kB / 0.4907 GB, free: 17.81 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001646/0.3396, allocations: 54.12 kB / 0.4907 GB, free: 17.78 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004843/0.3401, allocations: 319.4 kB / 0.491 GB, free: 17.47 MB / 366.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.0001084/0.3402, allocations: 58.86 kB / 0.4911 GB, free: 17.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.573e-05/0.3403, allocations: 37.81 kB / 0.4911 GB, free: 17.42 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002208/0.3425, allocations: 1.236 MB / 0.4923 GB, free: 16.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/0.3425, allocations: 5.062 kB / 0.4923 GB, free: 16.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.913e-05/0.3426, allocations: 15.53 kB / 0.4923 GB, free: 16.64 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.3426, allocations: 7.906 kB / 0.4923 GB, free: 16.64 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005165/0.3431, allocations: 249.4 kB / 0.4926 GB, free: 16.53 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009864/0.3441, allocations: 0.8371 MB / 0.4934 GB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/0.3453, allocations: 0.943 MB / 0.4943 GB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006255/0.3459, allocations: 392.7 kB / 0.4947 GB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001292/0.3461, allocations: 24.86 kB / 0.4947 GB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001221/0.3462, allocations: 104.4 kB / 0.4948 GB, free: 14.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 6.433e-06/0.3462, allocations: 0 / 0.4948 GB, free: 14.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.001519/0.3477, allocations: 0.7847 MB / 0.4956 GB, free: 14.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/0.3478, allocations: 211.6 kB / 0.4958 GB, free: 14.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.348, allocations: 208.5 kB / 0.496 GB, free: 13.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.519e-05/0.3481, allocations: 42.23 kB / 0.496 GB, free: 13.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.791e-05/0.3482, allocations: 130.7 kB / 0.4962 GB, free: 13.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.634e-05/0.3483, allocations: 58.3 kB / 0.4962 GB, free: 13.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/0.3485, allocations: 136 kB / 0.4963 GB, free: 13.63 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.3486, allocations: 347.3 kB / 0.4967 GB, free: 13.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.3488, allocations: 108.4 kB / 0.4968 GB, free: 13.24 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003848/0.3492, allocations: 0.6082 MB / 0.4974 GB, free: 12.47 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007386/0.3499, allocations: 0.7855 MB / 0.4981 GB, free: 11.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.193e-05/0.3499, allocations: 6.375 kB / 0.4981 GB, free: 11.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001188/0.3511, allocations: 0.6712 MB / 0.4988 GB, free: 11.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.816e-05/0.3512, allocations: 13.53 kB / 0.4988 GB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.702e-05/0.3512, allocations: 19.12 kB / 0.4988 GB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.069e-05/0.3512, allocations: 22.84 kB / 0.4988 GB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004326/0.3517, allocations: 167.1 kB / 0.499 GB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.595e-05/0.3517, allocations: 35.23 kB / 0.499 GB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004788/0.3522, allocations: 61.78 kB / 0.4991 GB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.555e-05/0.3522, allocations: 47.88 kB / 0.4991 GB, free: 11.12 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.0003327/0.3526, allocations: 270 kB / 0.4994 GB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009599/0.3535, allocations: 0.5424 MB / 0.4999 GB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.3546, allocations: 0.6022 MB / 0.5005 GB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-05/0.3546, allocations: 12.62 kB / 0.5005 GB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/0.3546, allocations: 1.906 kB / 0.5005 GB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.3546, allocations: 4.984 kB / 0.5005 GB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003685/0.355, allocations: 419.7 kB / 0.5009 GB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.962e-05/0.355, allocations: 3.5 kB / 0.5009 GB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004209/0.3554, allocations: 121.2 kB / 0.5011 GB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-05/0.3555, allocations: 3.156 kB / 0.5011 GB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.402e-05/0.3555, allocations: 23.83 kB / 0.5011 GB, free: 9.875 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.338e-06/0.3555, allocations: 11.59 kB / 0.5011 GB, free: 9.867 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.3555, allocations: 1.438 kB / 0.5011 GB, free: 9.867 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.3566, allocations: 0.6697 MB / 0.5018 GB, free: 9.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.3567, allocations: 122.1 kB / 0.5019 GB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.686e-05/0.3568, allocations: 22.66 kB / 0.5019 GB, free: 9.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.357, allocations: 26.55 kB / 0.5019 GB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.127e-05/0.3571, allocations: 4.094 kB / 0.5019 GB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.695e-05/0.3571, allocations: 31.45 kB / 0.5019 GB, free: 9.309 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.926e-05/0.3572, allocations: 122.4 kB / 0.5021 GB, free: 9.215 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3572, allocations: 0 / 0.5021 GB, free: 9.215 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007854/0.358, allocations: 124.7 kB / 0.5022 GB, free: 9.172 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.002341/0.3604, allocations: 1.69 MB / 0.5038 GB, free: 8.004 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008776/0.3612, allocations: 0.5038 MB / 0.5043 GB, free: 7.781 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.3612, allocations: 0 / 0.5043 GB, free: 7.781 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.905e-05/0.3613, allocations: 31.03 kB / 0.5044 GB, free: 7.766 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/0.3627, allocations: 1.25 MB / 0.5056 GB, free: 6.719 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004027/0.3667, allocations: 4.246 MB / 0.5097 GB, free: 2.164 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.367, allocations: 0.8598 MB / 0.5106 GB, free: 1.277 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001326/0.3671, allocations: 40.56 kB / 0.5106 GB, free: 1.238 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.3672, allocations: 115.4 kB / 0.5107 GB, free: 1.129 MB / 366.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3672, allocations: 4 kB / 0.5107 GB, free: 1.125 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04039/0.4076, allocations: 9.869 MB / 0.5204 GB, free: 7.449 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.94/9.348, allocations: 5.062 kB / 0.5204 GB, free: 7.445 MB / 382.1 MB " [Timeout remaining time 651] (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 --stepSize=0.002 --timeout=50 --tolerance=1e-06 Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager.fmu > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.118117879144847] Failed to read output from testmodel.py, exit status != 0: 9.440439687110484 9.465715008 9.123653791 Calling exit ...