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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack master/package.mo): time 0.003325/0.003325, allocations: 329.7 kB / 19.17 MB, free: 2.441 MB / 14.72 MB " [Timeout remaining time 180] Using package MessagePack with version 0.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 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.0005028/0.0005028, allocations: 14.53 kB / 29.68 MB, free: 3.449 MB / 14.72 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0001197/0.0006225, allocations: 91.56 kB / 29.77 MB, free: 3.402 MB / 14.72 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.001207/0.001829, allocations: 380.2 kB / 30.14 MB, free: 3.223 MB / 14.72 MB Notification: Performance of NFInst.instExpressions: time 0.0006053/0.002435, allocations: 341.9 kB / 30.48 MB, free: 2.988 MB / 14.72 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.415e-05/0.002459, allocations: 4 kB / 30.48 MB, free: 2.984 MB / 14.72 MB Notification: Performance of NFTyping.typeComponents: time 1.542e-05/0.002474, allocations: 0 / 30.48 MB, free: 2.984 MB / 14.72 MB Notification: Performance of NFTyping.typeBindings: time 2.609e-05/0.0025, allocations: 0 / 30.48 MB, free: 2.984 MB / 14.72 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 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 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 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.0004627/0.002963, allocations: 107.8 kB / 30.59 MB, free: 2.898 MB / 14.72 MB Notification: Performance of NFFlatten.flatten: time 3.311e-05/0.002996, allocations: 4 kB / 30.59 MB, free: 2.895 MB / 14.72 MB Notification: Performance of NFFlatten.resolveConnections: time 4.079e-05/0.003037, allocations: 3.984 kB / 30.6 MB, free: 2.891 MB / 14.72 MB Notification: Performance of NFEvalConstants.evaluate: time 1.32e-05/0.00305, allocations: 0 / 30.6 MB, free: 2.891 MB / 14.72 MB Notification: Performance of NFSimplifyModel.simplify: time 1.682e-05/0.003067, allocations: 3.984 kB / 30.6 MB, free: 2.887 MB / 14.72 MB Notification: Performance of NFPackage.collectConstants: time 4.809e-06/0.003072, allocations: 0 / 30.6 MB, free: 2.887 MB / 14.72 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000207/0.003279, allocations: 136.8 kB / 30.73 MB, free: 2.781 MB / 14.72 MB Notification: Performance of NFScalarize.scalarize: time 9.088e-06/0.003288, allocations: 3.938 kB / 30.74 MB, free: 2.777 MB / 14.72 MB Notification: Performance of NFVerifyModel.verify: time 1.589e-05/0.003304, allocations: 4 kB / 30.74 MB, free: 2.773 MB / 14.72 MB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.003484, allocations: 113.2 kB / 30.85 MB, free: 2.68 MB / 14.72 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.003486, allocations: 0 / 30.85 MB, free: 2.68 MB / 14.72 MB Notification: Performance of FrontEnd: time 8.12e-07/0.003487, allocations: 3.938 kB / 30.86 MB, free: 2.676 MB / 14.72 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.003493, allocations: 0 / 30.86 MB, free: 2.676 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.0002554/0.003748, allocations: 307.3 kB / 31.16 MB, free: 2.336 MB / 14.72 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.003793, allocations: 12.39 kB / 31.17 MB, free: 2.324 MB / 14.72 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.654e-05/0.00382, allocations: 30.75 kB / 31.2 MB, free: 2.285 MB / 14.72 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.326e-05/0.003843, allocations: 1.109 kB / 31.2 MB, free: 2.285 MB / 14.72 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.851e-05/0.003902, allocations: 110.5 kB / 31.31 MB, free: 2.152 MB / 14.72 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.003914, allocations: 3.875 kB / 31.31 MB, free: 2.152 MB / 14.72 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/0.003922, allocations: 8.375 kB / 31.32 MB, free: 2.145 MB / 14.72 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.69e-05/0.003999, allocations: 26.27 kB / 31.34 MB, free: 2.113 MB / 14.72 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.00401, allocations: 7.922 kB / 31.35 MB, free: 2.105 MB / 14.72 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.004017, allocations: 3.938 kB / 31.36 MB, free: 2.102 MB / 14.72 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.004021, allocations: 0 / 31.36 MB, free: 2.102 MB / 14.72 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.624e-05/0.004037, allocations: 4 kB / 31.36 MB, free: 2.098 MB / 14.72 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002248/0.004262, allocations: 350.7 kB / 31.7 MB, free: 1.715 MB / 14.72 MB Notification: Performance of preOpt comSubExp (simulation): time 5.508e-05/0.004317, allocations: 177 kB / 31.87 MB, free: 1.531 MB / 14.72 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.736e-05/0.004335, allocations: 80.14 kB / 31.95 MB, free: 1.449 MB / 14.72 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.004349, allocations: 75.28 kB / 32.03 MB, free: 1.375 MB / 14.72 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.004372, allocations: 121.1 kB / 32.14 MB, free: 1.25 MB / 14.72 MB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.004373, allocations: 0 / 32.14 MB, free: 1.25 MB / 14.72 MB Notification: Performance of matching and sorting (n=0): time 6.402e-05/0.004437, allocations: 25.88 kB / 32.17 MB, free: 1.219 MB / 14.72 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.004472, allocations: 130.6 kB / 32.3 MB, free: 1.078 MB / 14.72 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.557e-05/0.004527, allocations: 94.2 kB / 32.39 MB, free: 0.9766 MB / 14.72 MB Notification: Performance of collectPreVariables (initialization): time 6.542e-06/0.004534, allocations: 25.7 kB / 32.41 MB, free: 0.9453 MB / 14.72 MB Notification: Performance of collectInitialEqns (initialization): time 2.994e-05/0.004564, allocations: 85.41 kB / 32.5 MB, free: 0.8633 MB / 14.72 MB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.004566, allocations: 0 / 32.5 MB, free: 0.8633 MB / 14.72 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.483e-05/0.004591, allocations: 13.89 kB / 32.51 MB, free: 0.8438 MB / 14.72 MB Notification: Performance of setup shared object (initialization): time 4.892e-05/0.00464, allocations: 315 kB / 32.82 MB, free: 0.5273 MB / 14.72 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.205e-06/0.004648, allocations: 4 kB / 32.82 MB, free: 0.5234 MB / 14.72 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.25e-05/0.004671, allocations: 39.42 kB / 32.86 MB, free: 484 kB / 14.72 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.967e-05/0.00469, allocations: 12.23 kB / 32.87 MB, free: 472 kB / 14.72 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.004693, allocations: 3.938 kB / 32.88 MB, free: 468 kB / 14.72 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.609e-05/0.004779, allocations: 34.16 kB / 32.91 MB, free: 428 kB / 14.72 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.004792, allocations: 4 kB / 32.91 MB, free: 424 kB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.004797, allocations: 0 / 32.91 MB, free: 424 kB / 14.72 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.004811, allocations: 4 kB / 32.92 MB, free: 420 kB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.985e-05/0.00486, allocations: 128 / 32.92 MB, free: 420 kB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.004865, allocations: 4 kB / 32.92 MB, free: 416 kB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.407e-05/0.004879, allocations: 3.984 kB / 32.93 MB, free: 412 kB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.004884, allocations: 3.984 kB / 32.93 MB, free: 408 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 5.534e-05/0.00494, allocations: 189.7 kB / 33.12 MB, free: 208 kB / 14.72 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.802e-05/0.004978, allocations: 108.4 kB / 33.22 MB, free: 96 kB / 14.72 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.469e-05/0.005033, allocations: 112.3 kB / 33.33 MB, free: 4.902 MB / 19.65 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.25e-05/0.005115, allocations: 176.3 kB / 33.5 MB, free: 4.723 MB / 19.65 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.24e-05/0.005207, allocations: 184.2 kB / 33.68 MB, free: 4.535 MB / 19.65 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001049/0.005312, allocations: 180.3 kB / 33.86 MB, free: 4.352 MB / 19.65 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002891/0.005601, allocations: 376.6 kB / 34.23 MB, free: 3.938 MB / 19.65 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.114e-05/0.005653, allocations: 112.9 kB / 34.34 MB, free: 3.82 MB / 19.65 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.114e-05/0.005714, allocations: 109 kB / 34.44 MB, free: 3.707 MB / 19.65 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001022/0.005816, allocations: 180.2 kB / 34.62 MB, free: 3.523 MB / 19.65 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/0.005922, allocations: 176.3 kB / 34.79 MB, free: 3.344 MB / 19.65 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.309e-05/0.006015, allocations: 183.7 kB / 34.97 MB, free: 3.16 MB / 19.65 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.465e-05/0.00611, allocations: 184.2 kB / 35.15 MB, free: 2.973 MB / 19.65 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/0.006297, allocations: 314.5 kB / 35.46 MB, free: 2.645 MB / 19.65 MB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.006353, allocations: 105 kB / 35.56 MB, free: 2.535 MB / 19.65 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.993e-05/0.006453, allocations: 176.3 kB / 35.73 MB, free: 2.355 MB / 19.65 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.006555, allocations: 108.9 kB / 35.84 MB, free: 2.242 MB / 19.65 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.356e-05/0.006648, allocations: 191.2 kB / 36.03 MB, free: 2.051 MB / 19.65 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.997e-05/0.006708, allocations: 104.9 kB / 36.13 MB, free: 1.941 MB / 19.65 MB Notification: Performance of sorting global known variables: time 4.262e-05/0.006751, allocations: 75.28 kB / 36.2 MB, free: 1.867 MB / 19.65 MB Notification: Performance of sort global known variables: time 1.2e-07/0.006751, allocations: 4 kB / 36.21 MB, free: 1.863 MB / 19.65 MB Notification: Performance of remove unused functions: time 0.0003047/0.007056, allocations: 40.61 kB / 36.25 MB, free: 1.832 MB / 19.65 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.002161/0.009216, allocations: 1.224 MB / 37.47 MB, free: 0.5859 MB / 19.65 MB Notification: Performance of simCode: created initialization part: time 8.009e-05/0.009297, allocations: 10.25 kB / 37.48 MB, free: 0.5781 MB / 19.65 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.009299, allocations: 0 / 37.48 MB, free: 0.5781 MB / 19.65 MB Notification: Performance of simCode: created simulation system equations: time 1.893e-06/0.009301, allocations: 4.062 kB / 37.48 MB, free: 0.5742 MB / 19.65 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004262/0.009727, allocations: 455.7 kB / 37.93 MB, free: 128 kB / 19.65 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00689/0.01662, allocations: 201.6 kB / 38.12 MB, free: 7.816 MB / 19.65 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.643e-05/0.01665, allocations: 54.23 kB / 38.18 MB, free: 7.746 MB / 19.65 MB Notification: Performance of simCode: alias equations: time 1.83e-05/0.01667, allocations: 3.25 kB / 38.18 MB, free: 7.746 MB / 19.65 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.533e-05/0.01669, allocations: 7.438 kB / 38.19 MB, free: 7.738 MB / 19.65 MB Notification: Performance of SimCode: time 4.11e-07/0.01669, allocations: 1.375 kB / 38.19 MB, free: 7.738 MB / 19.65 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03187/0.04856, allocations: 3.052 MB / 41.24 MB, free: 5.527 MB / 19.65 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/10.82, allocations: 8.266 kB / 41.25 MB, free: 5.523 MB / 19.65 MB " [Timeout remaining time 649] (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: 11.339746057987213] Failed to read output from testmodel.py, exit status != 0: 10.920676954090595 10.942255836 10.936372844 Calling exit ...