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.001496/0.001497, allocations: 307.8 kB / 12.86 MB, free: 2.461 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.306e-05/1.308e-05, allocations: 0 / 17.91 MB, free: 4.336 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0002269/0.0002615, allocations: 98.02 kB / 18.01 MB, free: 4.25 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.004015/0.004293, allocations: 3.355 MB / 21.36 MB, free: 0.9102 MB / 13.93 MB Notification: Performance of FrontEnd - mkProgramGraph: time 8.252e-05/0.0044, allocations: 47.98 kB / 21.41 MB, free: 0.8633 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 0.01632/0.02074, allocations: 2.218 MB / 23.63 MB, free: 4.621 MB / 13.93 MB Notification: Performance of FrontEnd: time 1.643e-06/0.02079, allocations: 0 / 23.63 MB, free: 4.621 MB / 13.93 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.02081, allocations: 1.531 kB / 23.63 MB, free: 4.621 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.0002677/0.02108, allocations: 382.6 kB / 24 MB, free: 4.223 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.02115, allocations: 9.094 kB / 24.01 MB, free: 4.223 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.0212, allocations: 1.891 kB / 24.01 MB, free: 4.223 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.269e-05/0.02127, allocations: 165.4 kB / 24.17 MB, free: 4.027 MB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.0213, allocations: 9.938 kB / 24.18 MB, free: 4.02 MB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.739e-06/0.02132, allocations: 352 / 24.18 MB, free: 4.02 MB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.065e-05/0.02141, allocations: 29.97 kB / 24.21 MB, free: 3.988 MB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.02144, allocations: 3.422 kB / 24.22 MB, free: 3.988 MB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.02146, allocations: 352 / 24.22 MB, free: 3.988 MB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.02147, allocations: 3.953 kB / 24.22 MB, free: 3.984 MB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.093e-05/0.0215, allocations: 0 / 24.22 MB, free: 3.984 MB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002601/0.02177, allocations: 386.2 kB / 24.6 MB, free: 3.57 MB / 13.93 MB Notification: Performance of preOpt comSubExp (simulation): time 7.064e-05/0.02186, allocations: 170.8 kB / 24.77 MB, free: 3.398 MB / 13.93 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.702e-05/0.02189, allocations: 80.14 kB / 24.84 MB, free: 3.316 MB / 13.93 MB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.02191, allocations: 75.28 kB / 24.92 MB, free: 3.242 MB / 13.93 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.02195, allocations: 117.4 kB / 25.03 MB, free: 3.121 MB / 13.93 MB Notification: Performance of pre-optimization done (n=0): time 1.543e-06/0.02196, allocations: 4 kB / 25.04 MB, free: 3.117 MB / 13.93 MB Notification: Performance of matching and sorting (n=0): time 7.833e-05/0.02205, allocations: 33.23 kB / 25.07 MB, free: 3.082 MB / 13.93 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.02209, allocations: 130.1 kB / 25.2 MB, free: 2.945 MB / 13.93 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.842e-05/0.02216, allocations: 89 kB / 25.28 MB, free: 2.855 MB / 13.93 MB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.02219, allocations: 25.7 kB / 25.31 MB, free: 2.824 MB / 13.93 MB Notification: Performance of collectInitialEqns (initialization): time 3.057e-05/0.02223, allocations: 85.8 kB / 25.39 MB, free: 2.738 MB / 13.93 MB Notification: Performance of collectInitialBindings (initialization): time 3.105e-06/0.02224, allocations: 0 / 25.39 MB, free: 2.738 MB / 13.93 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-06/0.02225, allocations: 0 / 25.39 MB, free: 2.738 MB / 13.93 MB Notification: Performance of setup shared object (initialization): time 5.016e-05/0.02231, allocations: 315 kB / 25.7 MB, free: 2.422 MB / 13.93 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.025e-05/0.02234, allocations: 3.938 kB / 25.7 MB, free: 2.422 MB / 13.93 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.155e-05/0.02237, allocations: 12.78 kB / 25.72 MB, free: 2.406 MB / 13.93 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.837e-05/0.02239, allocations: 0 / 25.72 MB, free: 2.406 MB / 13.93 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.02241, allocations: 3.75 kB / 25.72 MB, free: 2.406 MB / 13.93 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.93e-05/0.0225, allocations: 35.59 kB / 25.75 MB, free: 2.371 MB / 13.93 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.02253, allocations: 3.719 kB / 25.76 MB, free: 2.371 MB / 13.93 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.02255, allocations: 4.125 kB / 25.76 MB, free: 2.367 MB / 13.93 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.02257, allocations: 7.672 kB / 25.77 MB, free: 2.363 MB / 13.93 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.644e-05/0.02262, allocations: 3.984 kB / 25.77 MB, free: 2.359 MB / 13.93 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.02264, allocations: 0 / 25.77 MB, free: 2.359 MB / 13.93 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.607e-05/0.02267, allocations: 0.7812 kB / 25.77 MB, free: 2.359 MB / 13.93 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.02268, allocations: 5.062 kB / 25.78 MB, free: 2.359 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 () * 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 5.015e-05/0.02274, allocations: 176.6 kB / 25.95 MB, free: 2.18 MB / 13.93 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.223e-05/0.0228, allocations: 104.5 kB / 26.05 MB, free: 2.074 MB / 13.93 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.921e-05/0.02284, allocations: 119.7 kB / 26.17 MB, free: 1.949 MB / 13.93 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.61e-05/0.02288, allocations: 180.2 kB / 26.35 MB, free: 1.766 MB / 13.93 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-05/0.02292, allocations: 180.6 kB / 26.52 MB, free: 1.582 MB / 13.93 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.753e-05/0.02295, allocations: 180.3 kB / 26.7 MB, free: 1.398 MB / 13.93 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.02313, allocations: 407.2 kB / 27.1 MB, free: 0.9531 MB / 13.93 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.665e-05/0.02316, allocations: 105 kB / 27.2 MB, free: 0.8438 MB / 13.93 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.871e-05/0.02318, allocations: 103 kB / 27.3 MB, free: 0.7383 MB / 13.93 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.74e-05/0.02322, allocations: 184 kB / 27.48 MB, free: 0.5547 MB / 13.93 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/0.02326, allocations: 178.1 kB / 27.65 MB, free: 384 kB / 13.93 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.651e-05/0.02329, allocations: 182.2 kB / 27.83 MB, free: 196 kB / 13.93 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.388e-05/0.02333, allocations: 182 kB / 28.01 MB, free: 8 kB / 13.93 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009658/0.033, allocations: 308.1 kB / 28.31 MB, free: 3.477 MB / 13.93 MB Notification: Performance of postOpt removeConstants (simulation): time 4.458e-05/0.03306, allocations: 188.3 kB / 28.49 MB, free: 3.277 MB / 13.93 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.717e-05/0.03311, allocations: 176.3 kB / 28.66 MB, free: 3.098 MB / 13.93 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.759e-05/0.0332, allocations: 101.5 kB / 28.76 MB, free: 2.992 MB / 13.93 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.03325, allocations: 185.5 kB / 28.95 MB, free: 2.812 MB / 13.93 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.03328, allocations: 109.5 kB / 29.05 MB, free: 2.707 MB / 13.93 MB Notification: Performance of sorting global known variables: time 3.022e-05/0.03332, allocations: 80.5 kB / 29.13 MB, free: 2.633 MB / 13.93 MB Notification: Performance of sort global known variables: time 2.1e-07/0.03333, allocations: 0.8125 kB / 29.13 MB, free: 2.633 MB / 13.93 MB Notification: Performance of remove unused functions: time 0.0005263/0.03386, allocations: 55.73 kB / 29.19 MB, free: 2.633 MB / 13.93 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 () * 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.001218/0.0351, allocations: 0.5668 MB / 29.75 MB, free: 2.25 MB / 13.93 MB Notification: Performance of simCode: created initialization part: time 7.897e-05/0.03519, allocations: 5.812 kB / 29.76 MB, free: 2.25 MB / 13.93 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.0352, allocations: 1.062 kB / 29.76 MB, free: 2.25 MB / 13.93 MB Notification: Performance of simCode: created simulation system equations: time 2.344e-06/0.03522, allocations: 0 / 29.76 MB, free: 2.25 MB / 13.93 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.03548, allocations: 0.5231 MB / 30.28 MB, free: 1.727 MB / 13.93 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001777/0.03567, allocations: 130.8 kB / 30.41 MB, free: 1.586 MB / 13.93 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.03579, allocations: 0.674 MB / 31.08 MB, free: 0.8906 MB / 13.93 MB Notification: Performance of simCode: alias equations: time 1.637e-05/0.03582, allocations: 0.6562 kB / 31.09 MB, free: 0.8906 MB / 13.93 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.676e-06/0.03584, allocations: 7.438 kB / 31.09 MB, free: 0.8828 MB / 13.93 MB Notification: Performance of SimCode: time 3.11e-07/0.03585, allocations: 0 / 31.09 MB, free: 0.8828 MB / 13.93 MB Notification: Performance of Templates: time 0.005782/0.04163, allocations: 1.638 MB / 32.73 MB, free: 52 kB / 13.93 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)