Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP.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.001323/0.001323, allocations: 79.34 kB / 20.55 MB, free: 1.246 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.00154/0.00154, allocations: 164.5 kB / 23.81 MB, free: 4.43 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.491/1.491, allocations: 177.2 MB / 204.2 MB, free: 8.969 MB / 190.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.06504/0.06504, allocations: 9.164 MB / 269.7 MB, free: 7.875 MB / 254.1 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: translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003476/0.003476, allocations: 59.91 kB / 398 MB, free: 6.531 MB / 366.1 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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1442, allocations: 56.35 MB / 454.4 MB, free: 14.08 MB / 430.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP): time 0.007958/0.1521, allocations: 2.855 MB / 457.2 MB, free: 11.21 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00227/0.1544, allocations: 0.8367 MB / 458.1 MB, free: 10.37 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001757/0.1546, allocations: 11.88 kB / 458.1 MB, free: 10.36 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004078/0.155, allocations: 67.34 kB / 458.2 MB, free: 10.29 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002/0.1552, allocations: 51.58 kB / 458.2 MB, free: 10.24 MB / 430.1 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:30:7-39:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Communication.mo:1240:7-1249:26:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readTCPIPServer' contains a call to impure function 'Modelica_DeviceDrivers.Communication.TCPIPSocketClient_.read'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Communication.mo:1251:7-1260:28:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.sendToTCPIPServer' contains a call to impure function 'Modelica_DeviceDrivers.Communication.TCPIPSocketClient_.sendTo'. [/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:74:7-84:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getReal'. [/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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:41:7-50:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addRealAsFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addRealAsFloat'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:86:7-96:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getRealFromFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getRealFromFloat'. Notification: Performance of NFTyping.typeClassSections: time 0.0009136/0.1561, allocations: 287.1 kB / 458.5 MB, free: 9.957 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005121/0.1566, allocations: 366.9 kB / 458.9 MB, free: 9.598 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002847/0.1569, allocations: 131.4 kB / 459 MB, free: 9.465 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002231/0.1571, allocations: 187.4 kB / 459.2 MB, free: 9.281 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004018/0.1575, allocations: 191 kB / 459.3 MB, free: 9.094 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.691e-05/0.1576, allocations: 44 kB / 459.4 MB, free: 9.051 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004216/0.158, allocations: 195.8 kB / 459.6 MB, free: 8.859 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001806/0.1582, allocations: 143.6 kB / 459.7 MB, free: 8.719 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002032/0.1584, allocations: 159.1 kB / 459.9 MB, free: 8.562 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001/0.1594, allocations: 0.6342 MB / 460.5 MB, free: 7.926 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1594, allocations: 3.938 kB / 460.5 MB, free: 7.922 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1594, allocations: 3.938 kB / 460.5 MB, free: 7.918 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.567e-06/0.1594, allocations: 0 / 460.5 MB, free: 7.918 MB / 430.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: getFloat.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addFloat.pkgIn.pkg getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg addInteger.pkgOut[1].pkg = tcpipClient.pkgIn.pkg tcpipClient.pkgOut.pkg = getReal.pkgIn.pkg getInteger.pkgIn.pkg = getFloat.pkgOut[1].pkg getReal.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addFloat.pkgIn.pkg packager.pkgOut.pkg = addReal.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001766/0.1612, allocations: 1.025 MB / 461.5 MB, free: 6.809 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.1612, allocations: 8.031 kB / 461.6 MB, free: 6.801 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.1613, allocations: 40.7 kB / 461.6 MB, free: 6.762 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003736/0.1617, allocations: 249.9 kB / 461.8 MB, free: 6.492 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.01e-05/0.1617, allocations: 33.36 kB / 461.9 MB, free: 6.457 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.46e-05/0.1618, allocations: 40.31 kB / 461.9 MB, free: 6.418 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008017/0.1626, allocations: 456.2 kB / 462.4 MB, free: 5.953 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.1626, allocations: 192 / 462.4 MB, free: 5.953 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.309e-05/0.1627, allocations: 19.92 kB / 462.4 MB, free: 5.934 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.1627, allocations: 12 kB / 462.4 MB, free: 5.922 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004816/0.1631, allocations: 256.5 kB / 462.6 MB, free: 5.676 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001608/0.1648, allocations: 1.046 MB / 463.7 MB, free: 4.586 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005672/0.1653, allocations: 251.8 kB / 463.9 MB, free: 4.312 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.1655, allocations: 134.4 kB / 464.1 MB, free: 4.172 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.293e-05/0.1656, allocations: 7.938 kB / 464.1 MB, free: 4.164 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004107/0.166, allocations: 238.4 kB / 464.3 MB, free: 3.906 MB / 430.1 MB Notification: Performance of pre-optimization done (n=37): time 2.124e-06/0.166, allocations: 3.938 kB / 464.3 MB, free: 3.902 MB / 430.1 MB Notification: Performance of matching and sorting (n=37): time 0.001271/0.1673, allocations: 0.5439 MB / 464.8 MB, free: 3.355 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/0.1674, allocations: 130.8 kB / 465 MB, free: 3.203 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000284/0.1677, allocations: 215.6 kB / 465.2 MB, free: 2.984 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.209e-05/0.1677, allocations: 41.7 kB / 465.2 MB, free: 2.938 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000275/0.168, allocations: 212.7 kB / 465.4 MB, free: 2.723 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.58e-05/0.1681, allocations: 91.31 kB / 465.5 MB, free: 2.633 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/0.1683, allocations: 106.1 kB / 465.6 MB, free: 2.523 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.1685, allocations: 346.7 kB / 466 MB, free: 2.176 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.1687, allocations: 104.9 kB / 466.1 MB, free: 2.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000374/0.1691, allocations: 292.9 kB / 466.4 MB, free: 1.699 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007034/0.1698, allocations: 455.9 kB / 466.8 MB, free: 1.168 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.1698, allocations: 0 / 466.8 MB, free: 1.168 MB / 430.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008398/0.1706, allocations: 449 kB / 467.2 MB, free: 0.7227 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/0.1707, allocations: 8 kB / 467.2 MB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.1707, allocations: 12.72 kB / 467.3 MB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.999e-05/0.1707, allocations: 8 kB / 467.3 MB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002903/0.171, allocations: 71.84 kB / 467.3 MB, free: 0.625 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.924e-05/0.171, allocations: 15.98 kB / 467.4 MB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.1712, allocations: 35.67 kB / 467.4 MB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.378e-05/0.1712, allocations: 24 kB / 467.4 MB, free: 0.5508 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 50 (getFloat.dummy,$PRE.getFloat.dummy,getFloat.y[2],$PRE.getFloat.y[2],getFloat.y[1],$PRE.getFloat.y[1],getFloat.pkgOut[1].dummy,$PRE.getFloat.pkgOut[1].dummy,addFloat.pkgOut[1].dummy,$PRE.addFloat.pkgOut[1].dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[1],$PRE.getInteger.y[1],getReal.dummy,$PRE.getReal.dummy,getReal.y[3],$PRE.getReal.y[3],getReal.y[2],$PRE.getReal.y[2],getReal.y[1],$PRE.getReal.y[1],getReal.pkgOut[1].dummy,$PRE.getReal.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,tcpipClient.pkgOut.dummy,$PRE.tcpipClient.pkgOut.dummy,addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,getFloat.pkgOut[1].trigger,addFloat.pkgOut[1].trigger,$whenCondition1,$whenCondition2,addInteger.u[1],tcpipClient.isConnected,getFloat.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,addFloat.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,tcpipClient.pkgIn.autoPkgBitSize,tcpipClient.pkgIn.userPkgBitSize,addReal.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 (56): * Single equations (assignments): 56 * 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.0003131/0.1715, allocations: 230.8 kB / 467.6 MB, free: 324 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.241e-05/0.1716, allocations: 27.86 kB / 467.7 MB, free: 296 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007274/0.1723, allocations: 364.1 kB / 468 MB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/0.1723, allocations: 7.984 kB / 468 MB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1723, allocations: 3.938 kB / 468 MB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1723, allocations: 0 / 468 MB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.1736, allocations: 0.7633 MB / 468.8 MB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/0.1736, allocations: 7.984 kB / 468.8 MB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.343e-05/0.1737, allocations: 8 kB / 468.8 MB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.1737, allocations: 0 / 468.8 MB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/0.1737, allocations: 15.98 kB / 468.8 MB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1737, allocations: 4 kB / 468.8 MB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1737, allocations: 0 / 468.8 MB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008254/0.1745, allocations: 0.5672 MB / 469.4 MB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.293e-05/0.1746, allocations: 27.78 kB / 469.4 MB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/0.1746, allocations: 8 kB / 469.4 MB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.1747, allocations: 7.984 kB / 469.4 MB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.1748, allocations: 15.97 kB / 469.5 MB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.133e-05/0.1748, allocations: 15.98 kB / 469.5 MB, free: 14.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00013/0.1749, allocations: 136 kB / 469.6 MB, free: 14.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1749, allocations: 0 / 469.6 MB, free: 14.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006016/0.1755, allocations: 143.5 kB / 469.7 MB, free: 14.13 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 (getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,getFloat.pkgOut[1].trigger,addFloat.pkgOut[1].trigger,$whenCondition2,$whenCondition1,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,tcpipClient.pkgOut.dummy,tcpipClient.isConnected,addInteger.pkgOut[1].dummy,addInteger.u[1],getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,getInteger.y[1],getInteger.dummy,addFloat.pkgOut[1].dummy,getFloat.pkgOut[1].dummy,getFloat.y[1],getFloat.y[2],getFloat.dummy,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,tcpipClient.pkgIn.userPkgBitSize,tcpipClient.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addFloat.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 21 * 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.001022/0.1766, allocations: 354.8 kB / 470.1 MB, free: 13.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007008/0.1773, allocations: 330.5 kB / 470.4 MB, free: 13.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1773, allocations: 1.562 kB / 470.4 MB, free: 13.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002573/0.1775, allocations: 143.8 kB / 470.6 MB, free: 13.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005063/0.178, allocations: 69.34 kB / 470.6 MB, free: 13.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.1794, allocations: 0.6237 MB / 471.2 MB, free: 12.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.1796, allocations: 193.3 kB / 471.4 MB, free: 12.47 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001415/0.1798, allocations: 47.25 kB / 471.5 MB, free: 12.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.99e-05/0.1799, allocations: 28.48 kB / 471.5 MB, free: 12.39 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1799, allocations: 4 kB / 471.5 MB, free: 12.39 MB / 446.1 MB Notification: Performance of Templates: time 0.01208/0.1919, allocations: 5.039 MB / 476.6 MB, free: 7.41 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP.makefile [Timeout 660] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP.sim & ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIP.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.920938006020151] Failed to read output from testmodel.py, exit status != 0: 0.20377772895153612 0.403968537 0.24143589000000001 Calling exit ...