Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MessagePack_MessagePack.Examples.TestCreateAndReadFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.1.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.1.1-master/package.mo): time 0.004374/0.004374, allocations: 336.5 kB / 16.67 MB, free: 6.355 MB / 14.72 MB " [Timeout remaining time 180] Using package MessagePack with version 0.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.1.1-master/package.mo) Running command: "" <> buildModelFMU(MessagePack.Examples.TestCreateAndReadFile,fileNamePrefix="MessagePack_MessagePack_Examples_TestCreateAndReadFile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MessagePack.Examples.TestCreateAndReadFile,fileNamePrefix="MessagePack_MessagePack_Examples_TestCreateAndReadFile",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0007197/0.0007197, allocations: 9.25 kB / 26.2 MB, free: 3.68 MB / 14.72 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0003477/0.001067, allocations: 106.1 kB / 26.3 MB, free: 3.598 MB / 14.72 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.002828/0.003895, allocations: 373.1 kB / 26.66 MB, free: 3.254 MB / 14.72 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.004988, allocations: 358.3 kB / 27.01 MB, free: 2.906 MB / 14.72 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.391e-05/0.005032, allocations: 3.938 kB / 27.02 MB, free: 2.902 MB / 14.72 MB Notification: Performance of NFTyping.typeComponents: time 2.954e-05/0.005062, allocations: 0 / 27.02 MB, free: 2.902 MB / 14.72 MB Notification: Performance of NFTyping.typeBindings: time 4.938e-05/0.005111, allocations: 4 kB / 27.02 MB, free: 2.898 MB / 14.72 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.1.1-master/Examples.mo:7:3-25:17:writable] Warning: Pure function 'MessagePack.Examples.TestCreateAndReadFile.createFile' contains a call to impure function 'MessagePack.Pack.SimpleBuffer.SimpleBuffer.constructor'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.1.1-master/Examples.mo:27:3-48:15:writable] Warning: Pure function 'MessagePack.Examples.TestCreateAndReadFile.readFile' contains a call to impure function 'MessagePack.Unpack.Deserializer.constructor'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.1.1-master/Examples.mo:50:3-61:24:writable] Warning: Pure function 'MessagePack.Examples.TestCreateAndReadFile.createAndReadFile' contains a call to impure function 'MessagePack.Examples.TestCreateAndReadFile.createFile'. Notification: Performance of NFTyping.typeClassSections: time 0.0006958/0.005807, allocations: 107.6 kB / 27.13 MB, free: 2.793 MB / 14.72 MB Notification: Performance of NFFlatten.flatten: time 5.722e-05/0.005864, allocations: 4 kB / 27.13 MB, free: 2.789 MB / 14.72 MB Notification: Performance of NFFlatten.resolveConnections: time 7.178e-05/0.005936, allocations: 0 / 27.13 MB, free: 2.789 MB / 14.72 MB Notification: Performance of NFEvalConstants.evaluate: time 1.982e-05/0.005956, allocations: 3.938 kB / 27.13 MB, free: 2.785 MB / 14.72 MB Notification: Performance of NFSimplifyModel.simplify: time 3.65e-05/0.005992, allocations: 0 / 27.13 MB, free: 2.785 MB / 14.72 MB Notification: Performance of NFPackage.collectConstants: time 6.122e-06/0.005999, allocations: 0 / 27.13 MB, free: 2.785 MB / 14.72 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003472/0.006346, allocations: 147.8 kB / 27.28 MB, free: 2.641 MB / 14.72 MB Notification: Performance of NFScalarize.scalarize: time 1.008e-05/0.006356, allocations: 0 / 27.28 MB, free: 2.641 MB / 14.72 MB Notification: Performance of NFVerifyModel.verify: time 2.046e-05/0.006376, allocations: 0 / 27.28 MB, free: 2.641 MB / 14.72 MB Notification: Performance of NFConvertDAE.convert: time 0.00034/0.006716, allocations: 123.9 kB / 27.4 MB, free: 2.52 MB / 14.72 MB Notification: Performance of FrontEnd - DAE generated: time 8.896e-06/0.006725, allocations: 4 kB / 27.4 MB, free: 2.516 MB / 14.72 MB Notification: Performance of FrontEnd: time 2.364e-06/0.006728, allocations: 0 / 27.4 MB, free: 2.516 MB / 14.72 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.006737, allocations: 0 / 27.4 MB, free: 2.516 MB / 14.72 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004953/0.007232, allocations: 381 kB / 27.77 MB, free: 2.082 MB / 14.72 MB Notification: Performance of prepare preOptimizeDAE: time 6.846e-05/0.007301, allocations: 12.31 kB / 27.79 MB, free: 2.07 MB / 14.72 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.477e-05/0.007345, allocations: 34.75 kB / 27.82 MB, free: 2.027 MB / 14.72 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.58e-05/0.007391, allocations: 5.109 kB / 27.83 MB, free: 2.023 MB / 14.72 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.225e-05/0.007483, allocations: 164.3 kB / 27.99 MB, free: 1.824 MB / 14.72 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.007501, allocations: 384 / 27.99 MB, free: 1.824 MB / 14.72 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.007511, allocations: 4.375 kB / 27.99 MB, free: 1.82 MB / 14.72 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.007621, allocations: 26.27 kB / 28.02 MB, free: 1.789 MB / 14.72 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.007634, allocations: 3.938 kB / 28.02 MB, free: 1.785 MB / 14.72 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.007644, allocations: 4 kB / 28.02 MB, free: 1.781 MB / 14.72 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.00765, allocations: 3.984 kB / 28.03 MB, free: 1.777 MB / 14.72 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.834e-05/0.007679, allocations: 0 / 28.03 MB, free: 1.777 MB / 14.72 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003723/0.008051, allocations: 380 kB / 28.4 MB, free: 1.355 MB / 14.72 MB Notification: Performance of preOpt comSubExp (simulation): time 7.98e-05/0.008131, allocations: 177 kB / 28.57 MB, free: 1.172 MB / 14.72 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.97e-05/0.00816, allocations: 84.17 kB / 28.65 MB, free: 1.086 MB / 14.72 MB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.008188, allocations: 75.28 kB / 28.73 MB, free: 1.012 MB / 14.72 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.008228, allocations: 109.8 kB / 28.84 MB, free: 0.8945 MB / 14.72 MB Notification: Performance of pre-optimization done (n=0): time 1.372e-06/0.008229, allocations: 0 / 28.84 MB, free: 0.8945 MB / 14.72 MB Notification: Performance of matching and sorting (n=0): time 0.0001155/0.008345, allocations: 37.84 kB / 28.87 MB, free: 0.8516 MB / 14.72 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/0.008399, allocations: 130.7 kB / 29 MB, free: 0.7109 MB / 14.72 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.822e-05/0.008487, allocations: 90.03 kB / 29.09 MB, free: 0.6133 MB / 14.72 MB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.008498, allocations: 25.7 kB / 29.11 MB, free: 0.582 MB / 14.72 MB Notification: Performance of collectInitialEqns (initialization): time 3.795e-05/0.008535, allocations: 86.03 kB / 29.2 MB, free: 0.4961 MB / 14.72 MB Notification: Performance of collectInitialBindings (initialization): time 3.456e-06/0.008539, allocations: 0 / 29.2 MB, free: 0.4961 MB / 14.72 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.151e-05/0.00858, allocations: 13.89 kB / 29.21 MB, free: 488 kB / 14.72 MB Notification: Performance of setup shared object (initialization): time 6.994e-05/0.00865, allocations: 315 kB / 29.52 MB, free: 164 kB / 14.72 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.164e-05/0.008662, allocations: 4 kB / 29.52 MB, free: 160 kB / 14.72 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.681e-05/0.008689, allocations: 9.719 kB / 29.53 MB, free: 144 kB / 14.72 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.783e-05/0.008717, allocations: 16.78 kB / 29.55 MB, free: 124 kB / 14.72 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.00872, allocations: 3.938 kB / 29.55 MB, free: 120 kB / 14.72 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001254/0.008845, allocations: 33.81 kB / 29.58 MB, free: 80 kB / 14.72 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.008865, allocations: 4 kB / 29.59 MB, free: 76 kB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.008871, allocations: 4.062 kB / 29.59 MB, free: 72 kB / 14.72 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.00889, allocations: 8 kB / 29.6 MB, free: 64 kB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.916e-05/0.008949, allocations: 0 / 29.6 MB, free: 64 kB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.008959, allocations: 0 / 29.6 MB, free: 64 kB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.841e-05/0.008988, allocations: 4.281 kB / 29.6 MB, free: 60 kB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.008996, allocations: 4 kB / 29.61 MB, free: 56 kB / 14.72 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.00982/0.01882, allocations: 190.1 kB / 29.79 MB, free: 4.141 MB / 14.72 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.657e-05/0.0189, allocations: 107.9 kB / 29.9 MB, free: 4.035 MB / 14.72 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.47e-05/0.01895, allocations: 108 kB / 30 MB, free: 3.922 MB / 14.72 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.303e-05/0.01899, allocations: 179.9 kB / 30.18 MB, free: 3.742 MB / 14.72 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.47e-05/0.01903, allocations: 183.2 kB / 30.36 MB, free: 3.562 MB / 14.72 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.537e-05/0.01908, allocations: 183.3 kB / 30.54 MB, free: 3.383 MB / 14.72 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000243/0.01932, allocations: 397.7 kB / 30.93 MB, free: 2.941 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.688e-05/0.01935, allocations: 106.5 kB / 31.03 MB, free: 2.836 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.933e-05/0.01938, allocations: 113 kB / 31.14 MB, free: 2.73 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.267e-05/0.01942, allocations: 179.4 kB / 31.32 MB, free: 2.551 MB / 14.72 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.537e-05/0.01947, allocations: 180.3 kB / 31.49 MB, free: 2.371 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.89e-05/0.01951, allocations: 183.7 kB / 31.67 MB, free: 2.191 MB / 14.72 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.497e-05/0.01955, allocations: 180.3 kB / 31.85 MB, free: 2.012 MB / 14.72 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.01968, allocations: 313.8 kB / 32.15 MB, free: 1.703 MB / 14.72 MB Notification: Performance of postOpt removeConstants (simulation): time 5.827e-05/0.01973, allocations: 179.4 kB / 32.33 MB, free: 1.504 MB / 14.72 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.769e-05/0.01979, allocations: 179.7 kB / 32.51 MB, free: 1.324 MB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.292e-05/0.01989, allocations: 106.8 kB / 32.61 MB, free: 1.219 MB / 14.72 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.01994, allocations: 184.5 kB / 32.79 MB, free: 1.035 MB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/0.01996, allocations: 105.6 kB / 32.89 MB, free: 0.9297 MB / 14.72 MB Notification: Performance of sorting global known variables: time 4.915e-05/0.02001, allocations: 78.78 kB / 32.97 MB, free: 0.8555 MB / 14.72 MB Notification: Performance of sort global known variables: time 9e-08/0.02001, allocations: 0.5 kB / 32.97 MB, free: 0.8555 MB / 14.72 MB Notification: Performance of remove unused functions: time 0.0005867/0.0206, allocations: 44.06 kB / 33.01 MB, free: 0.8555 MB / 14.72 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.003007/0.0236, allocations: 1.201 MB / 34.21 MB, free: 4.773 MB / 19.67 MB Notification: Performance of simCode: created initialization part: time 0.0001146/0.02372, allocations: 3.844 kB / 34.22 MB, free: 4.773 MB / 19.67 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.02372, allocations: 5.188 kB / 34.22 MB, free: 4.77 MB / 19.67 MB Notification: Performance of simCode: created simulation system equations: time 5.059e-06/0.02373, allocations: 2.156 kB / 34.22 MB, free: 4.77 MB / 19.67 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000612/0.02434, allocations: 461.8 kB / 34.68 MB, free: 4.32 MB / 19.67 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006025/0.02494, allocations: 210.7 kB / 34.88 MB, free: 4.102 MB / 19.67 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005336/0.02547, allocations: 0.6705 MB / 35.55 MB, free: 3.406 MB / 19.67 MB Notification: Performance of simCode: alias equations: time 2.625e-05/0.0255, allocations: 6 kB / 35.56 MB, free: 3.402 MB / 19.67 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.52e-05/0.02553, allocations: 8.469 kB / 35.57 MB, free: 3.395 MB / 19.67 MB Notification: Performance of SimCode: time 7.61e-07/0.02553, allocations: 0 / 35.57 MB, free: 3.395 MB / 19.67 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03308/0.05861, allocations: 2.543 MB / 38.11 MB, free: 1.438 MB / 19.67 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.53/8.589, allocations: 5.797 kB / 38.12 MB, free: 1.434 MB / 19.67 MB " [Timeout remaining time 651] (rm -f MessagePack_MessagePack.Examples.TestCreateAndReadFile.pipe ; mkfifo MessagePack_MessagePack.Examples.TestCreateAndReadFile.pipe ; head -c 1048576 < MessagePack_MessagePack.Examples.TestCreateAndReadFile.pipe >> ../files/MessagePack_MessagePack.Examples.TestCreateAndReadFile.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MessagePack_MessagePack_Examples_TestCreateAndReadFile_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 MessagePack_MessagePack_Examples_TestCreateAndReadFile.fmu > MessagePack_MessagePack.Examples.TestCreateAndReadFile.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.079654042143375] Failed to read output from testmodel.py, exit status != 0: 8.65979171032086 8.681289631 8.672405654 Calling exit ...