Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer.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.000966/0.000966, allocations: 72.27 kB / 9.858 MB, free: 0.8398 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001355/0.002321, allocations: 447.7 kB / 10.3 MB, free: 412 kB / 10.45 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.001076/0.001076, allocations: 157.2 kB / 11.19 MB, free: 2.992 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00137/0.002446, allocations: 471.5 kB / 11.65 MB, free: 2.527 MB / 13.93 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.8556/0.8556, allocations: 177.1 MB / 189.5 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06576/0.9213, allocations: 53.67 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/package.mo): time 0.03572/0.03572, allocations: 9.168 MB / 253.1 MB, free: 6.102 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-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 NFInstanceAPI.mkTop(): time 0.004596/0.04032, allocations: 3.443 MB / 256.5 MB, free: 2.656 MB / 250.7 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServer",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServer",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 257.8 MB, free: 1.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.803e-06/8.095e-06, allocations: 6.312 kB / 257.8 MB, free: 1.414 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer): time 0.002892/0.0029, allocations: 3.393 MB / 261.2 MB, free: 14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000952/0.003852, allocations: 0.9375 MB / 262.1 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.00396, allocations: 23.81 kB / 262.1 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001679/0.004128, allocations: 107 kB / 262.2 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.541e-05/0.004203, allocations: 43.53 kB / 262.3 MB, free: 12.89 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Blocks/Communication.mo:1308:7-1320:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readPTCPIPServer' contains a call to impure function 'Modelica_DeviceDrivers.Communication.TCPIPServer_.readP'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-master/Blocks/Packaging/SerialPackager.mo:171:5-182:15:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getPos' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getPos'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Blocks/Communication.mo:1322:7-1334:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.sendPTCPIPServer' contains a call to impure function 'Modelica_DeviceDrivers.Communication.TCPIPServer_.sendP'. Notification: Performance of NFTyping.typeClassSections: time 0.000484/0.004687, allocations: 306.9 kB / 262.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002912/0.004978, allocations: 391.4 kB / 263 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.005146, allocations: 144.6 kB / 263.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.005341, allocations: 268.4 kB / 263.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/0.005516, allocations: 159.5 kB / 263.5 MB, free: 11.63 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.537e-05/0.005562, allocations: 40 kB / 263.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001744/0.005736, allocations: 163.8 kB / 263.7 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.205e-05/0.005818, allocations: 99.64 kB / 263.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.659e-05/0.005895, allocations: 95.75 kB / 263.9 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003605/0.006255, allocations: 434.2 kB / 264.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/0.006263, allocations: 0 / 264.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.006264, allocations: 0 / 264.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.006274, allocations: 0 / 264.3 MB, free: 10.82 MB / 266.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addInteger.pkgOut[1].pkg = tCPIPSend.pkgIn.pkg packager.pkgOut.pkg = addInteger.pkgIn.pkg tCPIPReceive.pkgOut.pkg = getInteger.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0008242/0.007098, allocations: 0.7751 MB / 265.1 MB, free: 9.988 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.818e-05/0.007126, allocations: 16.62 kB / 265.1 MB, free: 9.973 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.779e-05/0.007174, allocations: 78.66 kB / 265.2 MB, free: 9.887 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.151e-05/0.007235, allocations: 56.89 kB / 265.3 MB, free: 9.832 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.007454, allocations: 248.5 kB / 265.5 MB, free: 9.562 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.007479, allocations: 29.36 kB / 265.5 MB, free: 9.535 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.236e-05/0.007511, allocations: 40.38 kB / 265.6 MB, free: 9.496 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002862/0.007798, allocations: 316.3 kB / 265.9 MB, free: 9.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.007808, allocations: 8.125 kB / 265.9 MB, free: 9.152 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.007829, allocations: 16.36 kB / 265.9 MB, free: 9.137 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.007838, allocations: 12.12 kB / 265.9 MB, free: 9.125 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.007953, allocations: 98.92 kB / 266 MB, free: 9.031 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007736/0.008726, allocations: 1.019 MB / 267 MB, free: 7.961 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.008938, allocations: 218.4 kB / 267.2 MB, free: 7.711 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.362e-05/0.009001, allocations: 67.39 kB / 267.3 MB, free: 7.633 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.00903, allocations: 8 kB / 267.3 MB, free: 7.625 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/0.009197, allocations: 202.4 kB / 267.5 MB, free: 7.398 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 1.513e-06/0.009199, allocations: 0 / 267.5 MB, free: 7.398 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.0002736/0.009472, allocations: 236.2 kB / 267.7 MB, free: 7.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.009531, allocations: 156.4 kB / 267.9 MB, free: 6.977 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.009658, allocations: 248.8 kB / 268.1 MB, free: 6.719 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.009685, allocations: 41.7 kB / 268.2 MB, free: 6.672 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.194e-05/0.009757, allocations: 185.3 kB / 268.4 MB, free: 6.488 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.37e-05/0.009811, allocations: 107.2 kB / 268.5 MB, free: 6.383 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.991e-05/0.009901, allocations: 114.1 kB / 268.6 MB, free: 6.266 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.943e-05/0.00998, allocations: 350.8 kB / 268.9 MB, free: 5.914 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.415e-05/0.01005, allocations: 104.5 kB / 269 MB, free: 5.801 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.01018, allocations: 260.1 kB / 269.3 MB, free: 5.473 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002879/0.01047, allocations: 476.1 kB / 269.7 MB, free: 4.914 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.01048, allocations: 4 kB / 269.7 MB, free: 4.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0002978/0.01077, allocations: 407.7 kB / 270.1 MB, free: 4.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.702e-05/0.01081, allocations: 67.39 kB / 270.2 MB, free: 4.402 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.01082, allocations: 8.562 kB / 270.2 MB, free: 4.395 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.01084, allocations: 15.94 kB / 270.2 MB, free: 4.379 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.01098, allocations: 87.84 kB / 270.3 MB, free: 4.293 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.01099, allocations: 11.98 kB / 270.3 MB, free: 4.281 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.23e-05/0.01108, allocations: 43.73 kB / 270.4 MB, free: 4.238 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.0111, allocations: 20.44 kB / 270.4 MB, free: 4.219 MB / 266.7 MB Warning: Assuming fixed start value for the following 5 variables: process.y[1]:DISCRETE(flow=false fixed = true ) type: Integer [3] process.y[2]:DISCRETE(flow=false fixed = true ) type: Integer [3] process.y[3]:DISCRETE(flow=false fixed = true ) type: Integer [3] tCPIPSend.dataSent:DISCRETE(fixed = true ) type: Integer tCPIPReceive.nReceivedBytes:DISCRETE(flow=false fixed = true ) \"Number of received bytes\" type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.process.y[1],process.y[1],$PRE.process.y[2],process.y[2],$PRE.process.y[3],process.y[3],tCPIPSend.dummy1,$PRE.tCPIPSend.dummy1,tCPIPSend.pkgSize,$PRE.tCPIPSend.pkgSize,$PRE.tCPIPSend.dataSent,tCPIPSend.dataSent,tCPIPSend.dummy2,$PRE.tCPIPSend.dummy2,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[3],$PRE.getInteger.y[3],getInteger.y[2],$PRE.getInteger.y[2],getInteger.y[1],$PRE.getInteger.y[1],tCPIPReceive.pkgOut.dummy,$PRE.tCPIPReceive.pkgOut.dummy,$PRE.tCPIPSend.block_,$PRE.tCPIPSend.accepted,$PRE.tCPIPReceive.block_,$PRE.tCPIPReceive.accepted,$PRE.tCPIPReceive.nReceivedBytes,tCPIPSend.block_,tCPIPSend.accepted,addInteger.pkgOut[1].backwardTrigger,addInteger.pkgOut[1].trigger,tCPIPReceive.block_,tCPIPReceive.accepted,tCPIPReceive.recvTrigger,tCPIPReceive.nReceivedBytes,tCPIPReceive.conditionalInternalTrigger,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tCPIPSend.internalTrigger,getInteger.pkgIn.backwardTrigger,getInteger.pkgIn.userPkgBitSize,tCPIPSend.bufferSize,tCPIPSend.pkgIn.autoPkgBitSize,tCPIPSend.pkgIn.userPkgBitSize,addInteger.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,getInteger.pkgIn.autoPkgBitSize,tCPIPReceive.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 1 * 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.0001439/0.01124, allocations: 198.7 kB / 270.6 MB, free: 4.016 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.01128, allocations: 27.97 kB / 270.6 MB, free: 3.988 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.63e-05/0.01131, allocations: 26.95 kB / 270.6 MB, free: 3.961 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/0.01132, allocations: 7.938 kB / 270.6 MB, free: 3.953 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.01132, allocations: 4 kB / 270.6 MB, free: 3.949 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.01132, allocations: 0 / 270.6 MB, free: 3.949 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004401/0.01176, allocations: 0.5327 MB / 271.2 MB, free: 3.379 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.01177, allocations: 3.984 kB / 271.2 MB, free: 3.375 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.005e-05/0.01179, allocations: 11.94 kB / 271.2 MB, free: 3.363 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.01179, allocations: 8 kB / 271.2 MB, free: 3.355 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.0118, allocations: 11.98 kB / 271.2 MB, free: 3.344 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.01181, allocations: 0 / 271.2 MB, free: 3.344 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.01181, allocations: 0 / 271.2 MB, free: 3.344 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.01201, allocations: 353.3 kB / 271.6 MB, free: 2.973 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.061e-05/0.01203, allocations: 35.67 kB / 271.6 MB, free: 2.938 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.01205, allocations: 8 kB / 271.6 MB, free: 2.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.856e-05/0.01211, allocations: 7.984 kB / 271.6 MB, free: 2.922 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.985e-05/0.01214, allocations: 19.97 kB / 271.6 MB, free: 2.902 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/0.01217, allocations: 15.98 kB / 271.6 MB, free: 2.887 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.449e-05/0.01221, allocations: 70.78 kB / 271.7 MB, free: 2.812 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01221, allocations: 4 kB / 271.7 MB, free: 2.809 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002719/0.01248, allocations: 143.6 kB / 271.9 MB, free: 2.668 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 36 (tCPIPSend.internalTrigger,packager.backwardPropagatedBufferSize,packager.bufferSize,addInteger.pkgIn.autoPkgBitSize,tCPIPSend.pkgIn.userPkgBitSize,tCPIPSend.pkgIn.autoPkgBitSize,addInteger.pkgOut[1].trigger,tCPIPReceive.recvTrigger,tCPIPReceive.conditionalInternalTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,tCPIPReceive.pkgOut.dummy,tCPIPReceive.nReceivedBytes,tCPIPReceive.accepted,tCPIPReceive.bufferSize,tCPIPReceive.block_,getInteger.pkgIn.autoPkgBitSize,getInteger.y[1],getInteger.y[2],getInteger.y[3],getInteger.dummy,packager.pkgOut.dummy,addInteger.pkgOut[1].dummy,addInteger.pkgOut[1].backwardTrigger,tCPIPSend.dataSent,tCPIPSend.accepted,tCPIPSend.bufferSize,tCPIPSend.dummy1,tCPIPSend.dummy2,tCPIPSend.pkgSize,tCPIPSend.block_,process.y[1],process.y[2],process.y[3]) * Number of discrete states: 2 (tCPIPReceive.block_,tCPIPSend.block_) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001175/0.01366, allocations: 1.29 MB / 273.1 MB, free: 1.523 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002906/0.01395, allocations: 410.7 kB / 273.5 MB, free: 1.078 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.01395, allocations: 4.062 kB / 273.6 MB, free: 1.074 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.566e-05/0.01404, allocations: 114.4 kB / 273.7 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/0.01423, allocations: 44.45 kB / 273.7 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08184/0.09607, allocations: 2.036 MB / 275.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.926e-05/0.09613, allocations: 113.1 kB / 275.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.723e-05/0.0962, allocations: 34.59 kB / 275.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.09636, allocations: 191.8 kB / 276.1 MB, free: 10.53 MB / 266.7 MB Notification: Performance of SimCode: time 7.71e-07/0.09636, allocations: 0 / 276.1 MB, free: 10.53 MB / 266.7 MB Notification: Performance of FMU documentation: time 0.02606/0.1224, allocations: 10.58 MB / 286.7 MB, free: 7.512 MB / 266.7 MB Notification: FMU-only work: backend 0.0002647, simCode 0.08114, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05799/0.1804, allocations: 1.782 MB / 288.4 MB, free: 5.539 MB / 266.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 2.188/2.368, allocations: 20.31 kB / 288.5 MB, free: 5.523 MB / 266.7 MB " [Timeout remaining time 658] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServer_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServer.fmu) > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer.pipe 2>&1) [Timeout 252.0] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServer_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServer_OMSimulator-cs-cvode.fmu) > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer_OMSimulator-cs-euler.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServer_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServer_OMSimulator-cs-euler.fmu) > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer_fmpy.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer_fmpy.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer_fmpy_res.csv --start-time 0 --stop-time 10 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ../Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServer.fmu) > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer_fmpy.pipe 2>&1) [Timeout 252.0] fmpy timed out simulating the FMU (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer_fmpy-fmi3-cs-cvode_res.csv --start-time 0 --stop-time 10 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 0.004 ../Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServer_fmpy-fmi3-cs-cvode.fmu) > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] [Calling sys.exit(0), Time elapsed: 38.19033961556852]