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.002714/0.002714, allocations: 329.3 kB / 15.44 MB, free: 436 kB / 14.72 MB Notification: Performance of FrontEnd - loaded program: time 0.0002874/0.0002874, allocations: 11.92 kB / 22.2 MB, free: 1.086 MB / 14.72 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0001557/0.0004565, allocations: 97.73 kB / 22.3 MB, free: 0.9922 MB / 14.72 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.00117/0.001634, allocations: 443.9 kB / 22.73 MB, free: 0.5586 MB / 14.72 MB Notification: Performance of NFInst.instExpressions: time 0.0006143/0.002259, allocations: 348.3 kB / 23.07 MB, free: 224 kB / 14.72 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.237e-05/0.002283, allocations: 0 / 23.07 MB, free: 224 kB / 14.72 MB Notification: Performance of NFTyping.typeComponents: time 2.045e-05/0.002317, allocations: 0 / 23.07 MB, free: 224 kB / 14.72 MB Notification: Performance of NFTyping.typeBindings: time 2.424e-05/0.002346, allocations: 0 / 23.07 MB, free: 224 kB / 14.72 MB Notification: Performance of NFTyping.typeClassSections: time 0.000317/0.002668, allocations: 103.8 kB / 23.17 MB, free: 120 kB / 14.72 MB Notification: Performance of NFFlatten.flatten: time 2.976e-05/0.002707, allocations: 0 / 23.17 MB, free: 120 kB / 14.72 MB Notification: Performance of NFFlatten.resolveConnections: time 4.652e-05/0.002758, allocations: 0 / 23.17 MB, free: 120 kB / 14.72 MB Notification: Performance of NFEvalConstants.evaluate: time 1.36e-05/0.002778, allocations: 7.984 kB / 23.18 MB, free: 112 kB / 14.72 MB Notification: Performance of NFSimplifyModel.simplify: time 1.155e-05/0.002794, allocations: 0 / 23.18 MB, free: 112 kB / 14.72 MB Notification: Performance of NFPackage.collectConstants: time 4.468e-06/0.002802, allocations: 0 / 23.18 MB, free: 112 kB / 14.72 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004148/0.006954, allocations: 136.2 kB / 23.31 MB, free: 5.32 MB / 14.72 MB Notification: Performance of NFScalarize.scalarize: time 1.015e-05/0.006982, allocations: 0 / 23.31 MB, free: 5.32 MB / 14.72 MB Notification: Performance of NFVerifyModel.verify: time 1.738e-05/0.007005, allocations: 2.844 kB / 23.31 MB, free: 5.32 MB / 14.72 MB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.007188, allocations: 116.7 kB / 23.43 MB, free: 5.32 MB / 14.72 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.0072, allocations: 0.8438 kB / 23.43 MB, free: 5.32 MB / 14.72 MB Notification: Performance of FrontEnd: time 6.72e-07/0.007206, allocations: 0 / 23.43 MB, free: 5.32 MB / 14.72 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.007213, allocations: 0 / 23.43 MB, free: 5.32 MB / 14.72 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.0002374/0.007454, allocations: 379.1 kB / 23.8 MB, free: 4.922 MB / 14.72 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.0075, allocations: 11.94 kB / 23.81 MB, free: 4.922 MB / 14.72 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/0.007537, allocations: 3.828 kB / 23.81 MB, free: 4.922 MB / 14.72 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.212e-05/0.007596, allocations: 167.7 kB / 23.98 MB, free: 4.727 MB / 14.72 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.007613, allocations: 384 / 23.98 MB, free: 4.727 MB / 14.72 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.344e-06/0.007625, allocations: 3.875 kB / 23.98 MB, free: 4.727 MB / 14.72 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.54e-05/0.007705, allocations: 27.53 kB / 24.01 MB, free: 4.695 MB / 14.72 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.007718, allocations: 192 / 24.01 MB, free: 4.695 MB / 14.72 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.00773, allocations: 3.938 kB / 24.01 MB, free: 4.691 MB / 14.72 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.00774, allocations: 0 / 24.01 MB, free: 4.691 MB / 14.72 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.642e-05/0.00776, allocations: 1.469 kB / 24.01 MB, free: 4.691 MB / 14.72 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000214/0.00798, allocations: 383.1 kB / 24.39 MB, free: 4.281 MB / 14.72 MB Notification: Performance of preOpt comSubExp (simulation): time 4.394e-05/0.008033, allocations: 171.2 kB / 24.56 MB, free: 4.105 MB / 14.72 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.688e-05/0.008056, allocations: 84.8 kB / 24.64 MB, free: 4.023 MB / 14.72 MB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.008077, allocations: 78.19 kB / 24.71 MB, free: 3.949 MB / 14.72 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.008103, allocations: 112.8 kB / 24.82 MB, free: 3.836 MB / 14.72 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.008108, allocations: 0 / 24.82 MB, free: 3.836 MB / 14.72 MB Notification: Performance of matching and sorting (n=0): time 7.083e-05/0.008184, allocations: 27.64 kB / 24.85 MB, free: 3.805 MB / 14.72 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.00822, allocations: 132.2 kB / 24.98 MB, free: 3.664 MB / 14.72 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.46e-05/0.00828, allocations: 91.48 kB / 25.07 MB, free: 3.566 MB / 14.72 MB Notification: Performance of collectPreVariables (initialization): time 6.252e-06/0.008293, allocations: 28.89 kB / 25.1 MB, free: 3.535 MB / 14.72 MB Notification: Performance of collectInitialEqns (initialization): time 2.57e-05/0.008323, allocations: 89.86 kB / 25.19 MB, free: 3.453 MB / 14.72 MB Notification: Performance of collectInitialBindings (initialization): time 2.254e-06/0.00833, allocations: 0 / 25.19 MB, free: 3.453 MB / 14.72 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-05/0.008358, allocations: 13.72 kB / 25.2 MB, free: 3.438 MB / 14.72 MB Notification: Performance of setup shared object (initialization): time 4.462e-05/0.008408, allocations: 311 kB / 25.5 MB, free: 3.125 MB / 14.72 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.328e-06/0.008424, allocations: 7.75 kB / 25.51 MB, free: 3.121 MB / 14.72 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.86e-05/0.008448, allocations: 14 kB / 25.52 MB, free: 3.105 MB / 14.72 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.86e-05/0.008471, allocations: 10.2 kB / 25.53 MB, free: 3.094 MB / 14.72 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.008478, allocations: 1.531 kB / 25.54 MB, free: 3.094 MB / 14.72 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.151e-05/0.008563, allocations: 36.7 kB / 25.57 MB, free: 3.059 MB / 14.72 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.008584, allocations: 5.719 kB / 25.58 MB, free: 3.059 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.008593, allocations: 1.25 kB / 25.58 MB, free: 3.059 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.00861, allocations: 4.125 kB / 25.58 MB, free: 3.055 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.872e-05/0.008663, allocations: 2.859 kB / 25.59 MB, free: 3.055 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.008672, allocations: 0 / 25.59 MB, free: 3.055 MB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.367e-05/0.00869, allocations: 1.531 kB / 25.59 MB, free: 3.055 MB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-06/0.008701, allocations: 1.875 kB / 25.59 MB, free: 3.055 MB / 14.72 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.13e-05/0.008757, allocations: 190.2 kB / 25.77 MB, free: 2.863 MB / 14.72 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.945e-05/0.008802, allocations: 108 kB / 25.88 MB, free: 2.758 MB / 14.72 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.927e-05/0.008837, allocations: 110.6 kB / 25.99 MB, free: 2.637 MB / 14.72 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.526e-05/0.008868, allocations: 181.6 kB / 26.17 MB, free: 2.457 MB / 14.72 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.543e-05/0.008898, allocations: 179 kB / 26.34 MB, free: 2.277 MB / 14.72 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-05/0.008929, allocations: 182.5 kB / 26.52 MB, free: 2.098 MB / 14.72 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.009058, allocations: 403.7 kB / 26.91 MB, free: 1.652 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.63e-05/0.00908, allocations: 106.2 kB / 27.02 MB, free: 1.547 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.48e-05/0.009101, allocations: 114.2 kB / 27.13 MB, free: 1.438 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.489e-05/0.00913, allocations: 178.1 kB / 27.3 MB, free: 1.258 MB / 14.72 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/0.009165, allocations: 182.2 kB / 27.48 MB, free: 1.078 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.442e-05/0.009194, allocations: 178.9 kB / 27.65 MB, free: 0.8984 MB / 14.72 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-05/0.009225, allocations: 185.5 kB / 27.84 MB, free: 0.7148 MB / 14.72 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.93e-05/0.009298, allocations: 313.3 kB / 28.14 MB, free: 408 kB / 14.72 MB Notification: Performance of postOpt removeConstants (simulation): time 2.924e-05/0.009334, allocations: 182.3 kB / 28.32 MB, free: 204 kB / 14.72 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.009372, allocations: 186.7 kB / 28.5 MB, free: 16 kB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.955e-05/0.009467, allocations: 103.1 kB / 28.6 MB, free: 4.859 MB / 19.67 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/0.009532, allocations: 181.1 kB / 28.78 MB, free: 4.68 MB / 19.67 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.278e-05/0.009572, allocations: 105.6 kB / 28.88 MB, free: 4.57 MB / 19.67 MB Notification: Performance of sorting global known variables: time 3.443e-05/0.009611, allocations: 77.91 kB / 28.96 MB, free: 4.496 MB / 19.67 MB Notification: Performance of sort global known variables: time 1.1e-07/0.009616, allocations: 0 / 28.96 MB, free: 4.496 MB / 19.67 MB Notification: Performance of remove unused functions: time 0.0002985/0.00992, allocations: 45.58 kB / 29 MB, free: 4.488 MB / 19.67 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.001266/0.01119, allocations: 0.5654 MB / 29.57 MB, free: 4.059 MB / 19.67 MB Notification: Performance of simCode: created initialization part: time 6.49e-05/0.01127, allocations: 10.34 kB / 29.58 MB, free: 4.055 MB / 19.67 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01128, allocations: 0 / 29.58 MB, free: 4.055 MB / 19.67 MB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.01128, allocations: 0 / 29.58 MB, free: 4.055 MB / 19.67 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.01166, allocations: 0.5274 MB / 30.11 MB, free: 3.527 MB / 19.67 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001824/0.01185, allocations: 156 kB / 30.26 MB, free: 3.352 MB / 19.67 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/0.01208, allocations: 0.6693 MB / 30.93 MB, free: 2.656 MB / 19.67 MB Notification: Performance of simCode: alias equations: time 1.414e-05/0.0121, allocations: 8.844 kB / 30.94 MB, free: 2.652 MB / 19.67 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.129e-05/0.01212, allocations: 7.438 kB / 30.94 MB, free: 2.645 MB / 19.67 MB Notification: Performance of SimCode: time 3.9e-07/0.01212, allocations: 0 / 30.94 MB, free: 2.645 MB / 19.67 MB Notification: Performance of Templates: time 0.004066/0.01619, allocations: 1.643 MB / 32.59 MB, free: 1.457 MB / 19.67 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)