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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 101 kB / 20.52 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002232/0.002232, allocations: 214.6 kB / 23.84 MB, free: 4.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.594/1.594, allocations: 230.6 MB / 257.6 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo): time 0.06394/0.06394, allocations: 12.22 MB / 326.2 MB, free: 7.23 MB / 254.1 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 67.89 kB / 454.2 MB, free: 8.969 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1377, allocations: 56.39 MB / 0.4986 GB, free: 492 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager): time 0.005871/0.1436, allocations: 3.032 MB / 0.5016 GB, free: 13.44 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002494/0.1461, allocations: 1.129 MB / 0.5027 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002196/0.1463, allocations: 15.88 kB / 0.5027 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002911/0.1466, allocations: 67.28 kB / 0.5027 GB, free: 12.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002305/0.1468, allocations: 51.53 kB / 0.5028 GB, free: 12.17 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 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 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 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 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 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 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.00118/0.148, allocations: 294.4 kB / 0.5031 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005461/0.1486, allocations: 395.7 kB / 0.5034 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002922/0.1489, allocations: 131.5 kB / 0.5036 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002453/0.1491, allocations: 195.3 kB / 0.5038 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003331/0.1494, allocations: 231 kB / 0.504 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.064e-05/0.1495, allocations: 44 kB / 0.504 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002825/0.1498, allocations: 135.9 kB / 0.5041 GB, free: 10.76 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000182/0.15, allocations: 147.5 kB / 0.5043 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002032/0.1502, allocations: 194.9 kB / 0.5045 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007877/0.151, allocations: 0.5719 MB / 0.505 GB, free: 9.852 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.151, allocations: 0 / 0.505 GB, free: 9.852 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.151, allocations: 0 / 0.505 GB, free: 9.852 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.151, allocations: 0 / 0.505 GB, free: 9.852 MB / 382.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.002306/0.1533, allocations: 1.139 MB / 0.5061 GB, free: 8.625 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.1533, allocations: 12.03 kB / 0.5062 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.6e-05/0.1534, allocations: 13.19 kB / 0.5062 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001136/0.1535, allocations: 86.7 kB / 0.5062 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.1536, allocations: 40.7 kB / 0.5063 GB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003958/0.154, allocations: 255.7 kB / 0.5065 GB, free: 8.188 MB / 382.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 9.293e-05/0.1541, allocations: 59.27 kB / 0.5066 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.583e-05/0.1541, allocations: 48 kB / 0.5066 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001991/0.1561, allocations: 1.231 MB / 0.5078 GB, free: 6.824 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.1561, allocations: 0 / 0.5078 GB, free: 6.824 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.914e-05/0.1562, allocations: 16 kB / 0.5079 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.1562, allocations: 8 kB / 0.5079 GB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005163/0.1567, allocations: 254.4 kB / 0.5081 GB, free: 6.551 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.1579, allocations: 0.8083 MB / 0.5089 GB, free: 5.684 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/0.1591, allocations: 0.7193 MB / 0.5096 GB, free: 4.926 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006081/0.1597, allocations: 388.2 kB / 0.51 GB, free: 4.531 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000104/0.1598, allocations: 32.58 kB / 0.51 GB, free: 4.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/0.16, allocations: 107.4 kB / 0.5101 GB, free: 4.371 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 2.294e-06/0.16, allocations: 0 / 0.5101 GB, free: 4.371 MB / 382.1 MB Notification: Performance of matching and sorting (n=84): time 0.001488/0.1614, allocations: 0.7864 MB / 0.5109 GB, free: 3.578 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001819/0.1616, allocations: 209.2 kB / 0.5111 GB, free: 3.336 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.1618, allocations: 207.1 kB / 0.5113 GB, free: 3.121 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.883e-05/0.1619, allocations: 41.7 kB / 0.5113 GB, free: 3.074 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.162, allocations: 133.9 kB / 0.5114 GB, free: 2.938 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.78e-05/0.162, allocations: 59.75 kB / 0.5115 GB, free: 2.879 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/0.1622, allocations: 134.7 kB / 0.5116 GB, free: 2.742 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.1624, allocations: 350.8 kB / 0.5119 GB, free: 2.391 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.1626, allocations: 105.9 kB / 0.512 GB, free: 2.285 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006366/0.1632, allocations: 0.6065 MB / 0.5126 GB, free: 1.426 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009448/0.1641, allocations: 0.7833 MB / 0.5134 GB, free: 396 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.1642, allocations: 8 kB / 0.5134 GB, free: 388 kB / 382.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.2595/0.4237, allocations: 0.6683 MB / 0.5141 GB, free: 20.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.472e-05/0.4237, allocations: 13.19 kB / 0.5141 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.857e-05/0.4237, allocations: 17.53 kB / 0.5141 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.834e-05/0.4238, allocations: 29.97 kB / 0.5141 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004469/0.4242, allocations: 153.5 kB / 0.5143 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-05/0.4243, allocations: 35.03 kB / 0.5143 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000423/0.4247, allocations: 65.52 kB / 0.5144 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.211e-05/0.4248, allocations: 51.45 kB / 0.5144 GB, free: 20.93 MB / 382.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.0004511/0.4252, allocations: 269.3 kB / 0.5147 GB, free: 20.81 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009322/0.4261, allocations: 0.5364 MB / 0.5152 GB, free: 20.76 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/0.4271, allocations: 0.5986 MB / 0.5158 GB, free: 20.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/0.4272, allocations: 12.45 kB / 0.5158 GB, free: 20.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.4272, allocations: 2.188 kB / 0.5158 GB, free: 20.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.4272, allocations: 6.125 kB / 0.5158 GB, free: 20.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003613/0.4275, allocations: 389.6 kB / 0.5162 GB, free: 20.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.699e-05/0.4275, allocations: 4.344 kB / 0.5162 GB, free: 20.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00038/0.4279, allocations: 119.7 kB / 0.5163 GB, free: 20.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.4279, allocations: 5.031 kB / 0.5163 GB, free: 20.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.814e-05/0.428, allocations: 23.84 kB / 0.5163 GB, free: 20.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.428, allocations: 3.562 kB / 0.5163 GB, free: 20.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.428, allocations: 5.875 kB / 0.5163 GB, free: 20.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008829/0.4289, allocations: 0.6694 MB / 0.517 GB, free: 20.4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.221e-05/0.4289, allocations: 52.02 kB / 0.517 GB, free: 20.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.668e-05/0.429, allocations: 18.78 kB / 0.517 GB, free: 20.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.4291, allocations: 21.58 kB / 0.5171 GB, free: 20.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.376e-05/0.4292, allocations: 22.38 kB / 0.5171 GB, free: 20.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.64e-05/0.4292, allocations: 27.47 kB / 0.5171 GB, free: 20.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.98e-05/0.4293, allocations: 125.4 kB / 0.5172 GB, free: 20.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4293, allocations: 0 / 0.5172 GB, free: 20.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006203/0.43, allocations: 124.7 kB / 0.5174 GB, free: 20.29 MB / 382.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.002135/0.4321, allocations: 1.674 MB / 0.519 GB, free: 19.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008863/0.433, allocations: 0.5186 MB / 0.5195 GB, free: 19.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.433, allocations: 0 / 0.5195 GB, free: 19.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.408e-05/0.433, allocations: 22.94 kB / 0.5195 GB, free: 19.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/0.4344, allocations: 1.24 MB / 0.5207 GB, free: 18.78 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0047/0.4391, allocations: 4.238 MB / 0.5249 GB, free: 15.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.4395, allocations: 0.8579 MB / 0.5257 GB, free: 15.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001645/0.4397, allocations: 42.38 kB / 0.5257 GB, free: 15.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.4398, allocations: 122.7 kB / 0.5259 GB, free: 15.12 MB / 382.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4398, allocations: 0 / 0.5259 GB, free: 15.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03809/0.4779, allocations: 10.58 MB / 0.5362 GB, free: 12.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.2, allocations: 4.516 kB / 0.5362 GB, free: 12.66 MB / 382.1 MB " [Timeout remaining time 647] (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: 16.145455262972973] Failed to read output from testmodel.py, exit status != 0: 13.372426208981778 13.392758561 13.237953416 Calling exit ...