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.001524/0.001524, allocations: 237.1 kB / 20.81 MB, free: 3.688 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 2.725e-06/2.725e-06, allocations: 0 / 32.28 MB, free: 2.117 MB / 18.57 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.926e-05/2.198e-05, allocations: 6.312 kB / 32.29 MB, free: 2.109 MB / 18.57 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.001182/0.001204, allocations: 374.8 kB / 32.66 MB, free: 1.746 MB / 18.57 MB Notification: Performance of NFInst.instExpressions: time 0.0006397/0.001844, allocations: 349.4 kB / 33 MB, free: 1.406 MB / 18.57 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.483e-05/0.001889, allocations: 0 / 33 MB, free: 1.406 MB / 18.57 MB Notification: Performance of NFTyping.typeComponents: time 2.653e-05/0.001915, allocations: 4 kB / 33 MB, free: 1.402 MB / 18.57 MB Notification: Performance of NFTyping.typeBindings: time 4.291e-05/0.001958, allocations: 0 / 33 MB, free: 1.402 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.0005271/0.002485, allocations: 107.4 kB / 33.11 MB, free: 1.297 MB / 18.57 MB Notification: Performance of NFFlatten.flatten: time 4.387e-05/0.002529, allocations: 8.312 kB / 33.11 MB, free: 1.289 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 5.093e-05/0.00258, allocations: 8.094 kB / 33.12 MB, free: 1.281 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 2.437e-05/0.002604, allocations: 0 / 33.12 MB, free: 1.281 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 2.363e-05/0.002628, allocations: 0 / 33.12 MB, free: 1.281 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 7.804e-06/0.002636, allocations: 0 / 33.12 MB, free: 1.281 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001905/0.002826, allocations: 131.7 kB / 33.25 MB, free: 1.152 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 8.426e-06/0.002835, allocations: 0 / 33.25 MB, free: 1.152 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 1.073e-05/0.002845, allocations: 128 / 33.25 MB, free: 1.152 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.003046, allocations: 135.5 kB / 33.38 MB, free: 1.02 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.003051, allocations: 0 / 33.38 MB, free: 1.02 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.203e-06/0.003052, allocations: 0 / 33.38 MB, free: 1.02 MB / 18.57 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.003059, allocations: 4 kB / 33.39 MB, free: 1.016 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.0002493/0.003308, allocations: 417.8 kB / 33.79 MB, free: 0.5625 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.003346, allocations: 8.391 kB / 33.8 MB, free: 0.5547 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.877e-05/0.003374, allocations: 1.109 kB / 33.8 MB, free: 0.5547 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.884e-05/0.003423, allocations: 108.6 kB / 33.91 MB, free: 432 kB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.003434, allocations: 384 / 33.91 MB, free: 432 kB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.38e-06/0.003439, allocations: 384 / 33.91 MB, free: 432 kB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.709e-05/0.003506, allocations: 42.19 kB / 33.95 MB, free: 384 kB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.003516, allocations: 4.188 kB / 33.96 MB, free: 380 kB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.731e-06/0.003522, allocations: 384 / 33.96 MB, free: 380 kB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.003527, allocations: 384 / 33.96 MB, free: 380 kB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.111e-05/0.003538, allocations: 3.938 kB / 33.96 MB, free: 376 kB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006443/0.009981, allocations: 455.3 kB / 34.41 MB, free: 7.324 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 7.708e-05/0.01006, allocations: 265.7 kB / 34.66 MB, free: 7.055 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.321e-05/0.01008, allocations: 126.9 kB / 34.79 MB, free: 6.926 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.0101, allocations: 120.4 kB / 34.91 MB, free: 6.809 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.01014, allocations: 153.7 kB / 35.06 MB, free: 6.648 MB / 18.57 MB Notification: Performance of pre-optimization done (n=0): time 1.283e-06/0.01014, allocations: 0 / 35.06 MB, free: 6.648 MB / 18.57 MB Notification: Performance of matching and sorting (n=0): time 8.339e-05/0.01023, allocations: 38.97 kB / 35.09 MB, free: 6.617 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.01028, allocations: 173.8 kB / 35.26 MB, free: 6.438 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.496e-05/0.01038, allocations: 152 kB / 35.41 MB, free: 6.273 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.01039, allocations: 26.2 kB / 35.44 MB, free: 6.242 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 6.417e-05/0.01046, allocations: 133.9 kB / 35.57 MB, free: 6.113 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 3.055e-06/0.01046, allocations: 0 / 35.57 MB, free: 6.113 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.0105, allocations: 19.62 kB / 35.59 MB, free: 6.09 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 5.282e-05/0.01055, allocations: 493.7 kB / 36.07 MB, free: 5.598 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.491e-06/0.01055, allocations: 3.906 kB / 36.07 MB, free: 5.598 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.411e-05/0.01058, allocations: 45.83 kB / 36.12 MB, free: 5.543 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.352e-05/0.0106, allocations: 13.66 kB / 36.13 MB, free: 5.531 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.0106, allocations: 2.375 kB / 36.13 MB, free: 5.531 MB / 18.57 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.864e-05/0.01068, allocations: 33.83 kB / 36.17 MB, free: 5.5 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.0107, allocations: 5.188 kB / 36.17 MB, free: 5.5 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.01071, allocations: 2.531 kB / 36.18 MB, free: 5.5 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.01072, allocations: 1.688 kB / 36.18 MB, free: 5.5 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.74e-05/0.01077, allocations: 4.266 kB / 36.18 MB, free: 5.5 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.01078, allocations: 5.344 kB / 36.19 MB, free: 5.5 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.864e-05/0.0108, allocations: 0 / 36.19 MB, free: 5.5 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-06/0.0108, allocations: 1.25 kB / 36.19 MB, free: 5.5 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 5.976e-05/0.01086, allocations: 276.9 kB / 36.46 MB, free: 5.219 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.359e-05/0.0109, allocations: 149 kB / 36.6 MB, free: 5.07 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.551e-05/0.01093, allocations: 152.6 kB / 36.75 MB, free: 4.918 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-05/0.01097, allocations: 269.4 kB / 37.02 MB, free: 4.652 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.625e-05/0.011, allocations: 272.6 kB / 37.28 MB, free: 4.387 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.612e-05/0.01104, allocations: 266.7 kB / 37.54 MB, free: 4.121 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.01117, allocations: 482.9 kB / 38.01 MB, free: 3.621 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.865e-05/0.01119, allocations: 155.1 kB / 38.17 MB, free: 3.473 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.87e-05/0.01121, allocations: 148 kB / 38.31 MB, free: 3.324 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.195e-05/0.01124, allocations: 266 kB / 38.57 MB, free: 3.059 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.437e-05/0.01127, allocations: 272.5 kB / 38.84 MB, free: 2.793 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.861e-05/0.0113, allocations: 268.8 kB / 39.1 MB, free: 2.527 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.248e-05/0.01133, allocations: 270 kB / 39.36 MB, free: 2.262 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.078e-05/0.01143, allocations: 444.2 kB / 39.8 MB, free: 1.809 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 2.81e-05/0.01145, allocations: 151.2 kB / 39.94 MB, free: 1.66 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.038e-05/0.01149, allocations: 273.2 kB / 40.21 MB, free: 1.395 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.926e-05/0.01153, allocations: 157 kB / 40.36 MB, free: 1.246 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.01157, allocations: 266.1 kB / 40.62 MB, free: 0.9805 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.17e-05/0.01159, allocations: 153.2 kB / 40.77 MB, free: 0.832 MB / 18.57 MB Notification: Performance of sorting global known variables: time 2.721e-05/0.01162, allocations: 121.2 kB / 40.89 MB, free: 0.7148 MB / 18.57 MB Notification: Performance of sort global known variables: time 5e-08/0.01162, allocations: 0 / 40.89 MB, free: 0.7148 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.000235/0.01185, allocations: 46.16 kB / 40.94 MB, free: 0.7148 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.0009904/0.01284, allocations: 0.6745 MB / 41.61 MB, free: 224 kB / 18.57 MB Notification: Performance of simCode: created initialization part: time 8.253e-05/0.01293, allocations: 12.66 kB / 41.62 MB, free: 212 kB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01293, allocations: 32 / 41.62 MB, free: 212 kB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 2.394e-06/0.01293, allocations: 4 kB / 41.63 MB, free: 208 kB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005711/0.01864, allocations: 0.7069 MB / 42.33 MB, free: 6.117 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001724/0.01882, allocations: 202.2 kB / 42.53 MB, free: 5.891 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.345e-05/0.01884, allocations: 54.67 kB / 42.58 MB, free: 5.82 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 2.281e-05/0.01886, allocations: 0.7188 kB / 42.59 MB, free: 5.82 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.976e-05/0.01889, allocations: 67.73 kB / 42.65 MB, free: 5.754 MB / 18.57 MB Notification: Performance of SimCode: time 8.72e-07/0.01889, allocations: 3.625 kB / 42.66 MB, free: 5.754 MB / 18.57 MB Notification: Performance of Templates: time 0.003492/0.02238, allocations: 1.944 MB / 44.6 MB, free: 4.418 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.4410048169083893]