Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.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.000842/0.000842, allocations: 80.44 kB / 19.96 MB, free: 4.594 MB / 18.57 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.0009643/0.0009643, allocations: 173.2 kB / 23.25 MB, free: 1.305 MB / 18.57 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 0.9159/0.9159, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.03593/0.03593, allocations: 9.144 MB / 269.1 MB, free: 4.465 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.Blocks.Examples.TestSerialPackager,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.514e-06/2.514e-06, allocations: 0 / 397.1 MB, free: 1.254 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.861e-05/3.113e-05, allocations: 5.375 kB / 397.1 MB, free: 1.25 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager): time 0.003621/0.003653, allocations: 2.895 MB / 400 MB, free: 14.34 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.004965, allocations: 1.063 MB / 401 MB, free: 13.27 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.005095, allocations: 11.88 kB / 401 MB, free: 13.25 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002612/0.005357, allocations: 79.16 kB / 401.1 MB, free: 13.18 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000185/0.005542, allocations: 59.38 kB / 401.2 MB, free: 13.12 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:130:7-137:16:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/Blocks/Packaging/SerialPackager.mo:139:5-153:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/Blocks/Packaging/SerialPackager.mo:63:7-72:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/Blocks/Packaging/SerialPackager.mo:98:7-105:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/Blocks/Packaging/SerialPackager.mo:155:5-169:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/Blocks/Packaging/SerialPackager.mo:107:7-117:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getInteger'. Notification: Performance of NFTyping.typeClassSections: time 0.0006123/0.006154, allocations: 295 kB / 401.5 MB, free: 12.83 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003951/0.006549, allocations: 470.8 kB / 401.9 MB, free: 12.37 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002142/0.006763, allocations: 133.1 kB / 402 MB, free: 12.23 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003343/0.007097, allocations: 327.4 kB / 402.4 MB, free: 11.91 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002684/0.007366, allocations: 211.4 kB / 402.6 MB, free: 11.71 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.921e-05/0.007425, allocations: 52 kB / 402.6 MB, free: 11.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001887/0.007614, allocations: 143.8 kB / 402.8 MB, free: 11.52 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.007754, allocations: 187.5 kB / 402.9 MB, free: 11.33 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.007866, allocations: 159.6 kB / 403.1 MB, free: 11.18 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005714/0.008438, allocations: 0.7124 MB / 403.8 MB, free: 10.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.008442, allocations: 0 / 403.8 MB, free: 10.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.008443, allocations: 4 kB / 403.8 MB, free: 10.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.008451, allocations: 0 / 403.8 MB, free: 10.46 MB / 378.7 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001793/0.01024, allocations: 1.198 MB / 405 MB, free: 9.172 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.01029, allocations: 8.031 kB / 405 MB, free: 9.164 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.282e-05/0.01036, allocations: 86.7 kB / 405.1 MB, free: 9.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.243e-05/0.01043, allocations: 52.64 kB / 405.2 MB, free: 9.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/0.0107, allocations: 273.8 kB / 405.4 MB, free: 8.723 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.899e-05/0.01073, allocations: 37.36 kB / 405.5 MB, free: 8.688 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.778e-05/0.01077, allocations: 44.36 kB / 405.5 MB, free: 8.645 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005658/0.01133, allocations: 0.4987 MB / 406 MB, free: 8.129 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.01134, allocations: 4.188 kB / 406 MB, free: 8.125 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.918e-05/0.01137, allocations: 28.11 kB / 406 MB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.01138, allocations: 12 kB / 406.1 MB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003432/0.01172, allocations: 286.5 kB / 406.3 MB, free: 7.809 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.01286, allocations: 1.076 MB / 407.4 MB, free: 6.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000487/0.01335, allocations: 335.7 kB / 407.7 MB, free: 6.324 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.01349, allocations: 142.6 kB / 407.9 MB, free: 6.176 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.01351, allocations: 4 kB / 407.9 MB, free: 6.172 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002546/0.01377, allocations: 247.4 kB / 408.1 MB, free: 5.906 MB / 378.7 MB Notification: Performance of pre-optimization done (n=39): time 1.452e-06/0.01377, allocations: 0 / 408.1 MB, free: 5.906 MB / 378.7 MB Notification: Performance of matching and sorting (n=39): time 0.0006836/0.01445, allocations: 0.569 MB / 408.7 MB, free: 5.332 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.699e-05/0.01452, allocations: 127 kB / 408.8 MB, free: 5.184 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.01467, allocations: 227 kB / 409 MB, free: 4.949 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.01469, allocations: 49.62 kB / 409.1 MB, free: 4.895 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.0148, allocations: 225.3 kB / 409.3 MB, free: 4.672 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.524e-05/0.01486, allocations: 95.36 kB / 409.4 MB, free: 4.578 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.01496, allocations: 122.1 kB / 409.5 MB, free: 4.453 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.01506, allocations: 346.8 kB / 409.9 MB, free: 4.105 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.01519, allocations: 116.9 kB / 410 MB, free: 3.992 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/0.0154, allocations: 301 kB / 410.3 MB, free: 3.613 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003791/0.01578, allocations: 451.6 kB / 410.7 MB, free: 3.086 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.01579, allocations: 4 kB / 410.7 MB, free: 3.082 MB / 378.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0004555/0.01624, allocations: 468.7 kB / 411.2 MB, free: 2.617 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.01626, allocations: 8 kB / 411.2 MB, free: 2.609 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.01627, allocations: 8 kB / 411.2 MB, free: 2.602 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.01629, allocations: 8 kB / 411.2 MB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.01643, allocations: 76.52 kB / 411.3 MB, free: 2.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.01644, allocations: 11.94 kB / 411.3 MB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.01656, allocations: 51.72 kB / 411.3 MB, free: 2.457 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.01658, allocations: 24 kB / 411.3 MB, free: 2.434 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 60 (getBoolean.dummy,$PRE.getBoolean.dummy,addBoolean.pkgOut[1].dummy,$PRE.addBoolean.pkgOut[1].dummy,unpackInt1.dummy,$PRE.unpackInt1.dummy,unpackInt1.y,$PRE.unpackInt1.y,unpackInt1.pkgOut[1].dummy,$PRE.unpackInt1.pkgOut[1].dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[1],$PRE.getInteger.y[1],getInteger.pkgOut[1].dummy,$PRE.getInteger.pkgOut[1].dummy,unpackInt.dummy,$PRE.unpackInt.dummy,unpackInt.y,$PRE.unpackInt.y,unpackInt.pkgOut[1].dummy,$PRE.unpackInt.pkgOut[1].dummy,resetPointer.dummy,$PRE.resetPointer.dummy,resetPointer.pkgOut[1].dummy,$PRE.resetPointer.pkgOut[1].dummy,packInt1.pkgOut[1].dummy,$PRE.packInt1.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,packInt.pkgOut[1].dummy,$PRE.packInt.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,$whenCondition2,addBoolean.pkgOut[1].trigger,$whenCondition1,getBoolean.y_int[1],$PRE.getBoolean.y_int[1],getBoolean.y[1],booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,addBoolean.u_int[1],addBoolean.u[1],integerExpression.y,addInteger.u[1],integerExpression1.y,getBoolean.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,unpackInt.pkgIn.autoPkgBitSize,getBoolean.pkgIn.userPkgBitSize,getBoolean.pkgIn.backwardTrigger,addBoolean.pkgIn.autoPkgBitSize,resetPointer.pkgIn.autoPkgBitSize,packInt1.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,packInt.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * 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.0004033/0.01698, allocations: 242.3 kB / 411.6 MB, free: 2.188 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.146e-05/0.01701, allocations: 27.8 kB / 411.6 MB, free: 2.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.471e-05/0.01706, allocations: 26.64 kB / 411.6 MB, free: 2.133 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.01706, allocations: 4 kB / 411.6 MB, free: 2.129 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.01707, allocations: 4 kB / 411.6 MB, free: 2.125 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.01707, allocations: 0 / 411.6 MB, free: 2.125 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008202/0.0179, allocations: 0.8957 MB / 412.5 MB, free: 1.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.0179, allocations: 4 kB / 412.5 MB, free: 1.176 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.3e-05/0.01793, allocations: 8 kB / 412.6 MB, free: 1.168 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.01793, allocations: 0 / 412.6 MB, free: 1.168 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.01795, allocations: 15.92 kB / 412.6 MB, free: 1.152 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.01796, allocations: 7.984 kB / 412.6 MB, free: 1.145 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01796, allocations: 0 / 412.6 MB, free: 1.145 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004942/0.01845, allocations: 0.5745 MB / 413.2 MB, free: 0.5508 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.366e-05/0.01847, allocations: 27.8 kB / 413.2 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.0185, allocations: 7.984 kB / 413.2 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.868e-05/0.01858, allocations: 15.98 kB / 413.2 MB, free: 0.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.23e-05/0.01864, allocations: 23.95 kB / 413.2 MB, free: 488 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.01866, allocations: 15.98 kB / 413.2 MB, free: 472 kB / 378.7 MB Notification: Performance of sorting global known variables: time 6.95e-05/0.01873, allocations: 136.3 kB / 413.4 MB, free: 336 kB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01873, allocations: 0 / 413.4 MB, free: 336 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003514/0.01908, allocations: 139.5 kB / 413.5 MB, free: 196 kB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 39 (unpackInt.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,getBoolean.pkgIn.autoPkgBitSize,addBoolean.pkgOut[1].trigger,$whenCondition2,$whenCondition1,integerExpression.y,packager.pkgOut.dummy,packInt.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],integerExpression1.y,packInt1.pkgOut[1].dummy,resetPointer.pkgOut[1].dummy,resetPointer.dummy,unpackInt.pkgOut[1].dummy,unpackInt.y,unpackInt.dummy,getInteger.pkgOut[1].dummy,getInteger.y[1],getInteger.dummy,unpackInt1.pkgOut[1].dummy,unpackInt1.y,unpackInt1.dummy,addBoolean.pkgOut[1].dummy,addBoolean.u[1],addBoolean.u_int[1],getBoolean.y[1],getBoolean.y_int[1],getBoolean.dummy,booleanPulse.pulseStart,packager.backwardPropagatedBufferSize,packager.bufferSize,packInt.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,packInt1.pkgIn.autoPkgBitSize,resetPointer.pkgIn.autoPkgBitSize,addBoolean.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 26 * If-equations: 0 * 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.000964/0.02004, allocations: 1.23 MB / 414.7 MB, free: 14.94 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003853/0.02043, allocations: 324.8 kB / 415.1 MB, free: 14.62 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.02043, allocations: 3.938 kB / 415.1 MB, free: 14.62 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001611/0.02059, allocations: 143.8 kB / 415.2 MB, free: 14.48 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.02094, allocations: 79.81 kB / 415.3 MB, free: 14.4 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003053/0.02399, allocations: 3.264 MB / 418.5 MB, free: 10.88 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001658/0.02416, allocations: 215.3 kB / 418.8 MB, free: 10.65 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001115/0.02427, allocations: 42.95 kB / 418.8 MB, free: 10.61 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.02439, allocations: 112.5 kB / 418.9 MB, free: 10.5 MB / 394.7 MB Notification: Performance of SimCode: time 7.81e-07/0.02439, allocations: 0 / 418.9 MB, free: 10.5 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02359/0.04797, allocations: 8.89 MB / 427.8 MB, free: 1.785 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.011/7.059, allocations: 2.797 kB / 427.8 MB, free: 1.785 MB / 394.7 MB " [Timeout remaining time 653] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager.fmu > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.860402391292155] Failed to read output from testmodel.py, exit status != 0: 7.1449142917990685 7.154051054 7.143568717 Calling exit ...