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.002071/0.002071, allocations: 321.3 kB / 7.785 MB, free: 1.27 MB / 5.871 MB Notification: Performance of FrontEnd - loaded program: time 1.772e-05/1.764e-05, allocations: 0 / 11.82 MB, free: 1.711 MB / 7.832 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0002884/0.0003307, allocations: 96.28 kB / 11.92 MB, free: 1.625 MB / 7.832 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.01003/0.01038, allocations: 2.694 MB / 14.61 MB, free: 2.48 MB / 7.832 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001134/0.01055, allocations: 44.8 kB / 14.66 MB, free: 2.477 MB / 7.832 MB Notification: Performance of FrontEnd - DAE generated: time 0.0082/0.01876, allocations: 2.256 MB / 16.91 MB, free: 0.625 MB / 7.832 MB Notification: Performance of FrontEnd: time 2.024e-06/0.01881, allocations: 0 / 16.91 MB, free: 0.625 MB / 7.832 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.01883, allocations: 0 / 16.91 MB, free: 0.625 MB / 7.832 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.00029/0.01913, allocations: 380.6 kB / 17.28 MB, free: 204 kB / 7.832 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.01919, allocations: 12.66 kB / 17.3 MB, free: 192 kB / 7.832 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.01925, allocations: 1.016 kB / 17.3 MB, free: 192 kB / 7.832 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006298/0.02556, allocations: 160.3 kB / 17.45 MB, free: 1.383 MB / 7.832 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.959e-05/0.02562, allocations: 6.203 kB / 17.46 MB, free: 1.383 MB / 7.832 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.02565, allocations: 352 / 17.46 MB, free: 1.383 MB / 7.832 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.038e-05/0.02572, allocations: 352 / 17.46 MB, free: 1.383 MB / 7.832 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.814e-05/0.02578, allocations: 26.97 kB / 17.49 MB, free: 1.352 MB / 7.832 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.0258, allocations: 0.8594 kB / 17.49 MB, free: 1.352 MB / 7.832 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.02582, allocations: 3.375 kB / 17.49 MB, free: 1.352 MB / 7.832 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.02584, allocations: 2.531 kB / 17.49 MB, free: 1.352 MB / 7.832 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003381/0.02618, allocations: 367.4 kB / 17.85 MB, free: 0.9688 MB / 7.832 MB Notification: Performance of preOpt comSubExp (simulation): time 7.451e-05/0.02628, allocations: 172 kB / 18.02 MB, free: 0.7969 MB / 7.832 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.623e-05/0.02631, allocations: 80.14 kB / 18.1 MB, free: 0.7148 MB / 7.832 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.02634, allocations: 77.91 kB / 18.17 MB, free: 0.6406 MB / 7.832 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.02639, allocations: 111.7 kB / 18.28 MB, free: 0.5273 MB / 7.832 MB Notification: Performance of pre-optimization done (n=0): time 1.763e-06/0.0264, allocations: 0 / 18.28 MB, free: 0.5273 MB / 7.832 MB Notification: Performance of matching and sorting (n=0): time 9.799e-05/0.02651, allocations: 29.67 kB / 18.31 MB, free: 0.4961 MB / 7.832 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.395e-05/0.02654, allocations: 51.41 kB / 18.36 MB, free: 444 kB / 7.832 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.772e-05/0.02662, allocations: 98.05 kB / 18.46 MB, free: 344 kB / 7.832 MB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.02663, allocations: 25.7 kB / 18.48 MB, free: 312 kB / 7.832 MB Notification: Performance of collectInitialEqns (initialization): time 3.215e-05/0.02667, allocations: 86.36 kB / 18.57 MB, free: 228 kB / 7.832 MB Notification: Performance of collectInitialBindings (initialization): time 1.543e-06/0.02668, allocations: 0 / 18.57 MB, free: 228 kB / 7.832 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.02669, allocations: 0 / 18.57 MB, free: 228 kB / 7.832 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.02684, allocations: 312.6 kB / 18.87 MB, free: 2.562 MB / 10.48 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.474e-06/0.02685, allocations: 0 / 18.87 MB, free: 2.562 MB / 10.48 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.06e-05/0.02688, allocations: 18.81 kB / 18.89 MB, free: 2.543 MB / 10.48 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.682e-05/0.02691, allocations: 3.844 kB / 18.89 MB, free: 2.543 MB / 10.48 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.02691, allocations: 0 / 18.89 MB, free: 2.543 MB / 10.48 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.285e-05/0.02701, allocations: 31.45 kB / 18.93 MB, free: 2.512 MB / 10.48 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.02704, allocations: 7.812 kB / 18.93 MB, free: 2.512 MB / 10.48 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.02705, allocations: 2.953 kB / 18.94 MB, free: 2.512 MB / 10.48 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.02707, allocations: 0 / 18.94 MB, free: 2.512 MB / 10.48 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.86e-05/0.02713, allocations: 0 / 18.94 MB, free: 2.512 MB / 10.48 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.02714, allocations: 0.8594 kB / 18.94 MB, free: 2.512 MB / 10.48 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.647e-05/0.02716, allocations: 9.125 kB / 18.95 MB, free: 2.508 MB / 10.48 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.02718, allocations: 3.953 kB / 18.95 MB, free: 2.504 MB / 10.48 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 0.0001141/0.0273, allocations: 179.6 kB / 19.13 MB, free: 2.324 MB / 10.48 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.102e-05/0.02739, allocations: 107 kB / 19.23 MB, free: 2.219 MB / 10.48 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.836e-05/0.02749, allocations: 111.9 kB / 19.34 MB, free: 2.102 MB / 10.48 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.917e-05/0.0276, allocations: 177.8 kB / 19.51 MB, free: 1.922 MB / 10.48 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.59e-05/0.02771, allocations: 184.6 kB / 19.69 MB, free: 1.738 MB / 10.48 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001103/0.02783, allocations: 182.6 kB / 19.87 MB, free: 1.559 MB / 10.48 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003092/0.02815, allocations: 388.5 kB / 20.25 MB, free: 1.141 MB / 10.48 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-05/0.02822, allocations: 101 kB / 20.35 MB, free: 1.035 MB / 10.48 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.229e-05/0.02828, allocations: 101 kB / 20.45 MB, free: 0.9297 MB / 10.48 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.637e-05/0.02839, allocations: 188.4 kB / 20.63 MB, free: 0.7461 MB / 10.48 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001139/0.02852, allocations: 180.3 kB / 20.81 MB, free: 0.5625 MB / 10.48 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.602e-05/0.02863, allocations: 176.8 kB / 20.98 MB, free: 392 kB / 10.48 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.924e-05/0.02873, allocations: 184.8 kB / 21.16 MB, free: 200 kB / 10.48 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006515/0.03526, allocations: 308.6 kB / 21.46 MB, free: 3.395 MB / 10.48 MB Notification: Performance of postOpt removeConstants (simulation): time 4.042e-05/0.03533, allocations: 183.5 kB / 21.64 MB, free: 3.195 MB / 10.48 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.712e-05/0.03538, allocations: 179.5 kB / 21.82 MB, free: 3.016 MB / 10.48 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.934e-05/0.03549, allocations: 103.5 kB / 21.92 MB, free: 2.91 MB / 10.48 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.208e-05/0.03553, allocations: 179.1 kB / 22.09 MB, free: 2.73 MB / 10.48 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.03556, allocations: 110.2 kB / 22.2 MB, free: 2.625 MB / 10.48 MB Notification: Performance of sorting global known variables: time 2.76e-05/0.0356, allocations: 75.28 kB / 22.27 MB, free: 2.551 MB / 10.48 MB Notification: Performance of sort global known variables: time 6.11e-07/0.03561, allocations: 0 / 22.27 MB, free: 2.551 MB / 10.48 MB Notification: Performance of remove unused functions: time 0.0005066/0.03612, allocations: 61.64 kB / 22.33 MB, free: 2.551 MB / 10.48 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.001124/0.03726, allocations: 0.5654 MB / 22.9 MB, free: 2.164 MB / 10.48 MB Notification: Performance of simCode: created initialization part: time 5.54e-05/0.03733, allocations: 2.625 kB / 22.9 MB, free: 2.164 MB / 10.48 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.03734, allocations: 0.875 kB / 22.9 MB, free: 2.164 MB / 10.48 MB Notification: Performance of simCode: created simulation system equations: time 2.865e-06/0.03735, allocations: 5.656 kB / 22.91 MB, free: 2.16 MB / 10.48 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.03759, allocations: 0.5232 MB / 23.43 MB, free: 1.641 MB / 10.48 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001183/0.03772, allocations: 122.5 kB / 23.55 MB, free: 1.5 MB / 10.48 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.03785, allocations: 0.6765 MB / 24.23 MB, free: 0.8047 MB / 10.48 MB Notification: Performance of simCode: alias equations: time 1.536e-05/0.03787, allocations: 0 / 24.23 MB, free: 0.8047 MB / 10.48 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.695e-06/0.03789, allocations: 15.38 kB / 24.24 MB, free: 0.7891 MB / 10.48 MB Notification: Performance of SimCode: time 3.2e-07/0.0379, allocations: 0 / 24.24 MB, free: 0.7891 MB / 10.48 MB Notification: Performance of Templates: time 0.01209/0.05, allocations: 1.629 MB / 25.87 MB, free: 2.879 MB / 10.48 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)