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.001378/0.001378, allocations: 108.3 kB / 19.75 MB, free: 1.879 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.001723/0.001723, allocations: 217.6 kB / 23.03 MB, free: 5.016 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.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.06881/0.06881, allocations: 12.23 MB / 325.4 MB, free: 7.098 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="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.002994/0.002994, allocations: 63.91 kB / 453.3 MB, free: 8.875 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1325, allocations: 56.4 MB / 0.4977 GB, free: 400 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager): time 0.005029/0.1375, allocations: 2.947 MB / 0.5006 GB, free: 13.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002109/0.1396, allocations: 1.067 MB / 0.5017 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.1398, allocations: 15.81 kB / 0.5017 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002445/0.14, allocations: 71.33 kB / 0.5017 GB, free: 12.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001806/0.1402, allocations: 47.53 kB / 0.5018 GB, free: 12.23 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.000946/0.1411, allocations: 287.3 kB / 0.5021 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004828/0.1416, allocations: 403.6 kB / 0.5025 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002836/0.1419, allocations: 135.4 kB / 0.5026 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002176/0.1421, allocations: 187.4 kB / 0.5028 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002715/0.1424, allocations: 199 kB / 0.5029 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.178e-05/0.1425, allocations: 40 kB / 0.503 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002267/0.1427, allocations: 139.9 kB / 0.5031 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.1428, allocations: 147.6 kB / 0.5033 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.143, allocations: 155.2 kB / 0.5034 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006802/0.1437, allocations: 0.5719 MB / 0.504 GB, free: 9.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1437, allocations: 0 / 0.504 GB, free: 9.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1437, allocations: 0 / 0.504 GB, free: 9.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.1437, allocations: 3.984 kB / 0.504 GB, free: 9.977 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.001811/0.1455, allocations: 1.131 MB / 0.5051 GB, free: 8.758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.1456, allocations: 11.97 kB / 0.5051 GB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001048/0.1457, allocations: 86.72 kB / 0.5052 GB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.849e-05/0.1458, allocations: 44.69 kB / 0.5052 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004259/0.1462, allocations: 263.6 kB / 0.5055 GB, free: 8.324 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.607e-05/0.1463, allocations: 63.19 kB / 0.5055 GB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.929e-05/0.1464, allocations: 40.38 kB / 0.5056 GB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00199/0.1484, allocations: 1.277 MB / 0.5068 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1484, allocations: 0 / 0.5068 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.893e-05/0.1484, allocations: 16 kB / 0.5068 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.1484, allocations: 12 kB / 0.5068 GB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004918/0.1489, allocations: 258.4 kB / 0.5071 GB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000996/0.1499, allocations: 0.7343 MB / 0.5078 GB, free: 5.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/0.1511, allocations: 0.7101 MB / 0.5085 GB, free: 5.074 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000639/0.1517, allocations: 396.2 kB / 0.5089 GB, free: 4.676 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001137/0.1518, allocations: 28.64 kB / 0.5089 GB, free: 4.648 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001569/0.152, allocations: 107.4 kB / 0.509 GB, free: 4.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 2.535e-06/0.152, allocations: 4 kB / 0.509 GB, free: 4.516 MB / 382.1 MB Notification: Performance of matching and sorting (n=84): time 0.001507/0.1535, allocations: 0.7826 MB / 0.5098 GB, free: 3.727 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000194/0.1537, allocations: 208.7 kB / 0.51 GB, free: 3.484 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.1539, allocations: 199.1 kB / 0.5102 GB, free: 3.277 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.267e-05/0.154, allocations: 41.7 kB / 0.5102 GB, free: 3.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.1541, allocations: 137.9 kB / 0.5103 GB, free: 3.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.854e-05/0.1542, allocations: 55.75 kB / 0.5104 GB, free: 3.035 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/0.1543, allocations: 142.6 kB / 0.5105 GB, free: 2.891 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.1545, allocations: 347.2 kB / 0.5109 GB, free: 2.543 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.1547, allocations: 117.9 kB / 0.511 GB, free: 2.426 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006785/0.1554, allocations: 0.6104 MB / 0.5116 GB, free: 1.562 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009067/0.1563, allocations: 0.7717 MB / 0.5123 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/0.1563, allocations: 8 kB / 0.5123 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.2482/0.4045, allocations: 0.6636 MB / 0.513 GB, free: 21.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.124e-05/0.4046, allocations: 13.84 kB / 0.513 GB, free: 21.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.8e-05/0.4046, allocations: 19.83 kB / 0.513 GB, free: 21.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.662e-05/0.4047, allocations: 23.34 kB / 0.513 GB, free: 21.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004708/0.4051, allocations: 160.2 kB / 0.5132 GB, free: 21.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.555e-05/0.4052, allocations: 33.62 kB / 0.5132 GB, free: 21.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003961/0.4056, allocations: 69.05 kB / 0.5133 GB, free: 21.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.581e-05/0.4056, allocations: 46.67 kB / 0.5133 GB, free: 21.09 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.0003695/0.406, allocations: 273.2 kB / 0.5136 GB, free: 20.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008906/0.4069, allocations: 0.54 MB / 0.5141 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000986/0.4079, allocations: 0.5967 MB / 0.5147 GB, free: 20.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/0.4079, allocations: 10.19 kB / 0.5147 GB, free: 20.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.4079, allocations: 1.5 kB / 0.5147 GB, free: 20.87 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.4079, allocations: 11.41 kB / 0.5147 GB, free: 20.87 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003279/0.4082, allocations: 320.7 kB / 0.515 GB, free: 20.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.504e-05/0.4082, allocations: 4.125 kB / 0.515 GB, free: 20.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000375/0.4086, allocations: 119.3 kB / 0.5151 GB, free: 20.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.4086, allocations: 6.25 kB / 0.5151 GB, free: 20.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.788e-05/0.4087, allocations: 22 kB / 0.5152 GB, free: 20.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.4087, allocations: 5.156 kB / 0.5152 GB, free: 20.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4087, allocations: 0 / 0.5152 GB, free: 20.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008992/0.4096, allocations: 0.6768 MB / 0.5158 GB, free: 20.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.772e-05/0.4096, allocations: 53.72 kB / 0.5159 GB, free: 20.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.863e-05/0.4097, allocations: 17.69 kB / 0.5159 GB, free: 20.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.4098, allocations: 21.88 kB / 0.5159 GB, free: 20.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.565e-05/0.4099, allocations: 13.39 kB / 0.5159 GB, free: 20.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-05/0.4099, allocations: 27.47 kB / 0.516 GB, free: 20.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.642e-05/0.41, allocations: 129.9 kB / 0.5161 GB, free: 20.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.41, allocations: 0 / 0.5161 GB, free: 20.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006913/0.4107, allocations: 121.7 kB / 0.5162 GB, free: 20.45 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.002132/0.4128, allocations: 1.691 MB / 0.5178 GB, free: 19.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008236/0.4137, allocations: 0.5162 MB / 0.5184 GB, free: 19.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.4137, allocations: 0 / 0.5184 GB, free: 19.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.368e-05/0.4137, allocations: 24.98 kB / 0.5184 GB, free: 19.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/0.4151, allocations: 1.236 MB / 0.5196 GB, free: 18.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004438/0.4195, allocations: 4.225 MB / 0.5237 GB, free: 15.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.4199, allocations: 260.3 kB / 0.524 GB, free: 15.9 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002015/0.4201, allocations: 46.11 kB / 0.524 GB, free: 15.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002069/0.4203, allocations: 123.7 kB / 0.5241 GB, free: 15.8 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4203, allocations: 0 / 0.5241 GB, free: 15.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04628/0.4665, allocations: 10.88 MB / 0.5347 GB, free: 13.05 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/13.11, allocations: 12.02 kB / 0.5348 GB, free: 13.04 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.007433243095875] Failed to read output from testmodel.py, exit status != 0: 13.226187725085765 13.245649189 13.098289655 Calling exit ...