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.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.2.0/package.mo): time 0.001349/0.001349, allocations: 246.6 kB / 20.34 MB, free: 4.203 MB / 18.57 MB " [Timeout remaining time 180] Using package MessagePack with version 0.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.2.0/package.mo) Running command: translateModel(MessagePack.Examples.TestCreateAndReadFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="MessagePack_MessagePack.Examples.TestCreateAndReadFile") translateModel(MessagePack.Examples.TestCreateAndReadFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="MessagePack_MessagePack.Examples.TestCreateAndReadFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 31.49 MB, free: 2.98 MB / 18.57 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.154e-05/1.308e-05, allocations: 2.312 kB / 31.5 MB, free: 2.977 MB / 18.57 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.0007098/0.0007229, allocations: 381.6 kB / 31.87 MB, free: 2.605 MB / 18.57 MB Notification: Performance of NFInst.instExpressions: time 0.0003991/0.001122, allocations: 349.6 kB / 32.21 MB, free: 2.266 MB / 18.57 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.183e-05/0.001144, allocations: 4 kB / 32.21 MB, free: 2.262 MB / 18.57 MB Notification: Performance of NFTyping.typeComponents: time 1.508e-05/0.001159, allocations: 0 / 32.21 MB, free: 2.262 MB / 18.57 MB Notification: Performance of NFTyping.typeBindings: time 2.484e-05/0.001184, allocations: 0 / 32.21 MB, free: 2.262 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.2.0/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.2.0/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.2.0/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.000299/0.001483, allocations: 107.4 kB / 32.32 MB, free: 2.156 MB / 18.57 MB Notification: Performance of NFFlatten.flatten: time 3.667e-05/0.001519, allocations: 384 / 32.32 MB, free: 2.156 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 3.467e-05/0.001554, allocations: 4.125 kB / 32.32 MB, free: 2.152 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 2.184e-05/0.001576, allocations: 0 / 32.32 MB, free: 2.152 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 1.778e-05/0.001594, allocations: 4 kB / 32.33 MB, free: 2.148 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 5.641e-06/0.001599, allocations: 0 / 32.33 MB, free: 2.148 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.001744, allocations: 143.6 kB / 32.47 MB, free: 2.008 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 6.081e-06/0.00175, allocations: 0 / 32.47 MB, free: 2.008 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 1.265e-05/0.001763, allocations: 128 / 32.47 MB, free: 2.008 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.0019, allocations: 131.6 kB / 32.6 MB, free: 1.879 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.001902, allocations: 0 / 32.6 MB, free: 1.879 MB / 18.57 MB Notification: Performance of FrontEnd: time 5.01e-07/0.001902, allocations: 0 / 32.6 MB, free: 1.879 MB / 18.57 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.001907, allocations: 0 / 32.6 MB, free: 1.879 MB / 18.57 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.000208/0.002115, allocations: 409.9 kB / 33 MB, free: 1.434 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.00215, allocations: 16.38 kB / 33.01 MB, free: 1.418 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.106e-05/0.002181, allocations: 9.047 kB / 33.02 MB, free: 1.41 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.778e-05/0.002218, allocations: 104.6 kB / 33.12 MB, free: 1.281 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.002229, allocations: 384 / 33.12 MB, free: 1.281 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.747e-06/0.002238, allocations: 4.375 kB / 33.13 MB, free: 1.277 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.218e-05/0.0023, allocations: 26.27 kB / 33.15 MB, free: 1.246 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.641e-06/0.002305, allocations: 192 / 33.15 MB, free: 1.246 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.002313, allocations: 384 / 33.15 MB, free: 1.246 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.002319, allocations: 384 / 33.15 MB, free: 1.246 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.302e-05/0.002332, allocations: 7.938 kB / 33.16 MB, free: 1.238 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001935/0.002526, allocations: 478.7 kB / 33.63 MB, free: 0.7344 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 3.98e-05/0.002566, allocations: 265.4 kB / 33.89 MB, free: 472 kB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.414e-05/0.00258, allocations: 126.9 kB / 34.01 MB, free: 340 kB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.002589, allocations: 127.2 kB / 34.14 MB, free: 212 kB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.002607, allocations: 152.6 kB / 34.29 MB, free: 48 kB / 18.57 MB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.002608, allocations: 0 / 34.29 MB, free: 48 kB / 18.57 MB Notification: Performance of matching and sorting (n=0): time 4.737e-05/0.002655, allocations: 33.75 kB / 34.32 MB, free: 8 kB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00271/0.005365, allocations: 170.6 kB / 34.49 MB, free: 7.777 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.222e-05/0.005418, allocations: 152.4 kB / 34.63 MB, free: 7.613 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 4.989e-06/0.005423, allocations: 26.41 kB / 34.66 MB, free: 7.582 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 2.451e-05/0.005447, allocations: 131.2 kB / 34.79 MB, free: 7.453 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 2.374e-06/0.00545, allocations: 2.094 kB / 34.79 MB, free: 7.453 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.089e-05/0.00547, allocations: 22.33 kB / 34.81 MB, free: 7.43 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 2.61e-05/0.005497, allocations: 496.9 kB / 35.3 MB, free: 6.938 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.805e-06/0.005504, allocations: 1 kB / 35.3 MB, free: 6.938 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.06e-05/0.005525, allocations: 44.08 kB / 35.34 MB, free: 6.883 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.778e-05/0.005543, allocations: 13.41 kB / 35.35 MB, free: 6.871 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.005544, allocations: 0.5 kB / 35.36 MB, free: 6.871 MB / 18.57 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.227e-05/0.005616, allocations: 35.3 kB / 35.39 MB, free: 6.84 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.00563, allocations: 5.562 kB / 35.4 MB, free: 6.84 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.005634, allocations: 7.031 kB / 35.4 MB, free: 6.84 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.005645, allocations: 4.281 kB / 35.41 MB, free: 6.84 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.366e-05/0.005689, allocations: 4.922 kB / 35.41 MB, free: 6.84 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.005695, allocations: 1.219 kB / 35.41 MB, free: 6.84 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.288e-06/0.005704, allocations: 2.562 kB / 35.41 MB, free: 6.84 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/0.005708, allocations: 1.156 kB / 35.42 MB, free: 6.84 MB / 18.57 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 3.084e-05/0.005739, allocations: 273.7 kB / 35.68 MB, free: 6.562 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.841e-05/0.005757, allocations: 148.8 kB / 35.83 MB, free: 6.414 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.087e-05/0.005778, allocations: 158.3 kB / 35.98 MB, free: 6.258 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/0.005791, allocations: 274.2 kB / 36.25 MB, free: 5.992 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/0.005806, allocations: 266.3 kB / 36.51 MB, free: 5.727 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.005818, allocations: 270.8 kB / 36.78 MB, free: 5.461 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.913e-05/0.005878, allocations: 494.8 kB / 37.26 MB, free: 4.941 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.005888, allocations: 153.6 kB / 37.41 MB, free: 4.793 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.494e-06/0.005896, allocations: 150.1 kB / 37.56 MB, free: 4.645 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.094e-05/0.005907, allocations: 265.5 kB / 37.81 MB, free: 4.379 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.005921, allocations: 270.5 kB / 38.08 MB, free: 4.113 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.13e-05/0.005932, allocations: 272.8 kB / 38.35 MB, free: 3.844 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.128e-05/0.005943, allocations: 272.6 kB / 38.61 MB, free: 3.574 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.67e-05/0.00598, allocations: 439.5 kB / 39.04 MB, free: 3.125 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 1.456e-05/0.005995, allocations: 154.9 kB / 39.19 MB, free: 2.973 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.006013, allocations: 265.5 kB / 39.45 MB, free: 2.707 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.679e-05/0.006039, allocations: 164.8 kB / 39.61 MB, free: 2.551 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.576e-05/0.006055, allocations: 265.3 kB / 39.87 MB, free: 2.285 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/0.006063, allocations: 149.4 kB / 40.02 MB, free: 2.137 MB / 18.57 MB Notification: Performance of sorting global known variables: time 1.048e-05/0.006073, allocations: 124.6 kB / 40.14 MB, free: 2.016 MB / 18.57 MB Notification: Performance of sort global known variables: time 5e-08/0.006073, allocations: 3.781 kB / 40.14 MB, free: 2.016 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0001673/0.00624, allocations: 44.72 kB / 40.19 MB, free: 2.016 MB / 18.57 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.0008381/0.007078, allocations: 0.6698 MB / 40.86 MB, free: 1.516 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 6.102e-05/0.00714, allocations: 7.812 kB / 40.86 MB, free: 1.504 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.007141, allocations: 3.812 kB / 40.87 MB, free: 1.504 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.007142, allocations: 0 / 40.87 MB, free: 1.504 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/0.007296, allocations: 0.7056 MB / 41.57 MB, free: 0.7969 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001405/0.007437, allocations: 208.1 kB / 41.78 MB, free: 0.5625 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.686e-05/0.007454, allocations: 55.59 kB / 41.83 MB, free: 500 kB / 18.57 MB Notification: Performance of simCode: alias equations: time 1.543e-05/0.007469, allocations: 1.781 kB / 41.83 MB, free: 500 kB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.012e-05/0.007479, allocations: 8.5 kB / 41.84 MB, free: 492 kB / 18.57 MB Notification: Performance of SimCode: time 3.91e-07/0.00748, allocations: 0 / 41.84 MB, free: 492 kB / 18.57 MB Notification: Performance of Templates: time 0.005052/0.01253, allocations: 1.718 MB / 43.56 MB, free: 6.715 MB / 18.57 MB " [Timeout remaining time 660] make -j1 -f MessagePack_MessagePack.Examples.TestCreateAndReadFile.makefile [Timeout 660] (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 & ./MessagePack_MessagePack.Examples.TestCreateAndReadFile -abortSlowSimulation -alarm=240 -lv LOG_STATS > MessagePack_MessagePack.Examples.TestCreateAndReadFile.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 1.4050138390157372]