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) Using package MessagePack with version 0.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.1.1-master/package.mo) Running command: translateModel(MessagePack.Examples.TestCreateAndReadFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="MessagePack_MessagePack.Examples.TestCreateAndReadFile") translateModel(MessagePack.Examples.TestCreateAndReadFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="MessagePack_MessagePack.Examples.TestCreateAndReadFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.1.1-master/package.mo): time 0.005807/0.005806, allocations: 316.8 kB / 15.26 MB, free: 5.98 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.43e-05/1.435e-05, allocations: 0 / 21.88 MB, free: 136 kB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0001776/0.0002093, allocations: 91.61 kB / 21.97 MB, free: 44 kB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.008233/0.00845, allocations: 3.457 MB / 25.43 MB, free: 3.344 MB / 13.93 MB Notification: Performance of FrontEnd - mkProgramGraph: time 9.386e-05/0.008573, allocations: 43.98 kB / 25.47 MB, free: 3.301 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 0.004583/0.01317, allocations: 2.226 MB / 27.7 MB, free: 1.082 MB / 13.93 MB Notification: Performance of FrontEnd: time 2.124e-06/0.01319, allocations: 0 / 27.7 MB, free: 1.082 MB / 13.93 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.0132, allocations: 0 / 27.7 MB, free: 1.082 MB / 13.93 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.0002222/0.01343, allocations: 389.3 kB / 28.08 MB, free: 0.6445 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.01347, allocations: 16.3 kB / 28.1 MB, free: 0.6289 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.765e-05/0.0135, allocations: 1.016 kB / 28.1 MB, free: 0.6289 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.347e-05/0.01356, allocations: 164 kB / 28.26 MB, free: 444 kB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.01358, allocations: 352 / 28.26 MB, free: 444 kB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-06/0.0136, allocations: 4.281 kB / 28.26 MB, free: 440 kB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.308e-05/0.01368, allocations: 30.22 kB / 28.29 MB, free: 404 kB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.01369, allocations: 176 / 28.29 MB, free: 404 kB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-06/0.0137, allocations: 352 / 28.29 MB, free: 404 kB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.01371, allocations: 3.953 kB / 28.29 MB, free: 400 kB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.655e-05/0.01373, allocations: 0 / 28.29 MB, free: 400 kB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005216/0.01895, allocations: 387.9 kB / 28.67 MB, free: 3.613 MB / 13.93 MB Notification: Performance of preOpt comSubExp (simulation): time 5.9e-05/0.01904, allocations: 165.1 kB / 28.83 MB, free: 3.441 MB / 13.93 MB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.01906, allocations: 75.28 kB / 28.91 MB, free: 3.367 MB / 13.93 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.0191, allocations: 115.2 kB / 29.02 MB, free: 3.254 MB / 13.93 MB Notification: Performance of pre-optimization done (n=0): time 1.413e-06/0.0191, allocations: 1.188 kB / 29.02 MB, free: 3.254 MB / 13.93 MB Notification: Performance of matching and sorting (n=0): time 7.754e-05/0.01918, allocations: 36.08 kB / 29.06 MB, free: 3.223 MB / 13.93 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.01922, allocations: 127.9 kB / 29.18 MB, free: 3.086 MB / 13.93 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.615e-05/0.0193, allocations: 88.31 kB / 29.27 MB, free: 2.996 MB / 13.93 MB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/0.01931, allocations: 25.7 kB / 29.29 MB, free: 2.965 MB / 13.93 MB Notification: Performance of collectInitialEqns (initialization): time 3.759e-05/0.01935, allocations: 86.02 kB / 29.38 MB, free: 2.883 MB / 13.93 MB Notification: Performance of collectInitialBindings (initialization): time 3.958e-06/0.01936, allocations: 1.219 kB / 29.38 MB, free: 2.883 MB / 13.93 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.823e-06/0.01937, allocations: 0.6875 kB / 29.38 MB, free: 2.883 MB / 13.93 MB Notification: Performance of setup shared object (initialization): time 5.646e-05/0.01943, allocations: 315.1 kB / 29.69 MB, free: 2.57 MB / 13.93 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.516e-06/0.01945, allocations: 4.969 kB / 29.69 MB, free: 2.57 MB / 13.93 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.311e-05/0.01947, allocations: 11.72 kB / 29.7 MB, free: 2.555 MB / 13.93 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.254e-05/0.0195, allocations: 4.75 kB / 29.71 MB, free: 2.555 MB / 13.93 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.01951, allocations: 1.781 kB / 29.71 MB, free: 2.555 MB / 13.93 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.119e-05/0.0196, allocations: 34.7 kB / 29.74 MB, free: 2.523 MB / 13.93 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.01963, allocations: 6.203 kB / 29.75 MB, free: 2.523 MB / 13.93 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.01964, allocations: 1.188 kB / 29.75 MB, free: 2.523 MB / 13.93 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.01966, allocations: 2.484 kB / 29.75 MB, free: 2.523 MB / 13.93 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.383e-05/0.01972, allocations: 6.188 kB / 29.76 MB, free: 2.52 MB / 13.93 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.01973, allocations: 1.078 kB / 29.76 MB, free: 2.52 MB / 13.93 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.59e-05/0.01975, allocations: 3.969 kB / 29.76 MB, free: 2.52 MB / 13.93 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.01976, allocations: 0.875 kB / 29.76 MB, free: 2.52 MB / 13.93 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.289e-05/0.01983, allocations: 187.4 kB / 29.95 MB, free: 2.328 MB / 13.93 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.801e-05/0.01987, allocations: 101.9 kB / 30.05 MB, free: 2.223 MB / 13.93 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.888e-05/0.01991, allocations: 112.7 kB / 30.16 MB, free: 2.109 MB / 13.93 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.579e-05/0.01994, allocations: 182.3 kB / 30.34 MB, free: 1.926 MB / 13.93 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.39e-05/0.01998, allocations: 178.7 kB / 30.51 MB, free: 1.746 MB / 13.93 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.26e-05/0.02001, allocations: 180.6 kB / 30.69 MB, free: 1.566 MB / 13.93 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.02015, allocations: 405.9 kB / 31.08 MB, free: 1.121 MB / 13.93 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-05/0.02017, allocations: 102.8 kB / 31.18 MB, free: 1.016 MB / 13.93 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.714e-05/0.0202, allocations: 105.2 kB / 31.29 MB, free: 0.9102 MB / 13.93 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.8e-05/0.02023, allocations: 188 kB / 31.47 MB, free: 0.7227 MB / 13.93 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.131e-05/0.02027, allocations: 178.4 kB / 31.64 MB, free: 0.543 MB / 13.93 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.674e-05/0.0203, allocations: 184.7 kB / 31.82 MB, free: 368 kB / 13.93 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-05/0.02033, allocations: 182.7 kB / 32 MB, free: 180 kB / 13.93 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.02048, allocations: 309.6 kB / 32.3 MB, free: 4.531 MB / 18.6 MB Notification: Performance of postOpt removeConstants (simulation): time 9.735e-05/0.02058, allocations: 184 kB / 32.48 MB, free: 4.328 MB / 18.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.953e-05/0.02068, allocations: 185.9 kB / 32.67 MB, free: 4.145 MB / 18.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.852e-05/0.02076, allocations: 101.5 kB / 32.77 MB, free: 4.039 MB / 18.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.517e-05/0.02086, allocations: 178.7 kB / 32.94 MB, free: 3.859 MB / 18.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.474e-05/0.02092, allocations: 109.6 kB / 33.05 MB, free: 3.746 MB / 18.6 MB Notification: Performance of sorting global known variables: time 3.54e-05/0.02096, allocations: 76.78 kB / 33.12 MB, free: 3.672 MB / 18.6 MB Notification: Performance of sort global known variables: time 5.21e-07/0.02096, allocations: 0 / 33.12 MB, free: 3.672 MB / 18.6 MB Notification: Performance of remove unused functions: time 0.0004139/0.02138, allocations: 58.06 kB / 33.18 MB, free: 3.672 MB / 18.6 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001093/0.02249, allocations: 0.5879 MB / 33.77 MB, free: 3.246 MB / 18.6 MB Notification: Performance of simCode: created initialization part: time 7.537e-05/0.02257, allocations: 2.844 kB / 33.77 MB, free: 3.246 MB / 18.6 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.02258, allocations: 4.062 kB / 33.77 MB, free: 3.242 MB / 18.6 MB Notification: Performance of simCode: created simulation system equations: time 2.685e-06/0.02259, allocations: 3.156 kB / 33.78 MB, free: 3.242 MB / 18.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.02292, allocations: 0.5253 MB / 34.3 MB, free: 2.715 MB / 18.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001852/0.02311, allocations: 151.6 kB / 34.45 MB, free: 2.543 MB / 18.6 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.02337, allocations: 0.6747 MB / 35.12 MB, free: 1.848 MB / 18.6 MB Notification: Performance of simCode: alias equations: time 1.476e-05/0.02339, allocations: 4 kB / 35.13 MB, free: 1.844 MB / 18.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.047e-05/0.02341, allocations: 7.438 kB / 35.14 MB, free: 1.836 MB / 18.6 MB Notification: Performance of SimCode: time 2.1e-07/0.02341, allocations: 0 / 35.14 MB, free: 1.836 MB / 18.6 MB Notification: Performance of Templates: time 0.003639/0.02706, allocations: 1.63 MB / 36.77 MB, free: 1.457 MB / 18.6 MB make -j1 -f MessagePack_MessagePack.Examples.TestCreateAndReadFile.makefile (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=480 -lv LOG_STATS > MessagePack_MessagePack.Examples.TestCreateAndReadFile.pipe 2>&1)