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.00403/0.004029, allocations: 323.3 kB / 16.11 MB, free: 5.633 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 0.0004163/0.0004166, allocations: 9.766 kB / 22.89 MB, free: 4.891 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0003358/0.0007879, allocations: 93.58 kB / 22.98 MB, free: 4.848 MB / 13.93 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.003099/0.003915, allocations: 446 kB / 23.42 MB, free: 4.602 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.005098, allocations: 352.1 kB / 23.76 MB, free: 4.328 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.984e-05/0.005134, allocations: 0 / 23.76 MB, free: 4.328 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 2.293e-05/0.00524, allocations: 0 / 23.76 MB, free: 4.328 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 4.194e-05/0.005291, allocations: 0 / 23.76 MB, free: 4.328 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005124/0.005812, allocations: 103.7 kB / 23.86 MB, free: 4.246 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 5.749e-05/0.005884, allocations: 4 kB / 23.86 MB, free: 4.242 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 7.616e-05/0.005969, allocations: 0 / 23.86 MB, free: 4.242 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 2.566e-05/0.006004, allocations: 0 / 23.86 MB, free: 4.242 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 2.253e-05/0.006035, allocations: 4 kB / 23.87 MB, free: 4.238 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 9.869e-06/0.006054, allocations: 0 / 23.87 MB, free: 4.238 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003263/0.006387, allocations: 139 kB / 24 MB, free: 4.137 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.006411, allocations: 0 / 24 MB, free: 4.137 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 3.18e-05/0.006451, allocations: 0 / 24 MB, free: 4.137 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.006748, allocations: 115.9 kB / 24.12 MB, free: 4.043 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.006767, allocations: 0 / 24.12 MB, free: 4.043 MB / 13.93 MB Notification: Performance of FrontEnd: time 6.11e-07/0.006776, allocations: 0 / 24.12 MB, free: 4.043 MB / 13.93 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.006789, allocations: 0 / 24.12 MB, free: 4.043 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.0004739/0.007273, allocations: 388.8 kB / 24.5 MB, free: 3.605 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 6.951e-05/0.007352, allocations: 12.31 kB / 24.51 MB, free: 3.594 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.42e-05/0.007426, allocations: 1.094 kB / 24.51 MB, free: 3.594 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.007538, allocations: 160.4 kB / 24.67 MB, free: 3.398 MB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.007564, allocations: 4.312 kB / 24.67 MB, free: 3.395 MB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.007585, allocations: 384 / 24.67 MB, free: 3.395 MB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.007709, allocations: 34.25 kB / 24.71 MB, free: 3.355 MB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.007731, allocations: 4.172 kB / 24.71 MB, free: 3.352 MB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.007753, allocations: 7.938 kB / 24.72 MB, free: 3.344 MB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.007768, allocations: 0 / 24.72 MB, free: 3.344 MB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.783e-05/0.007803, allocations: 3.438 kB / 24.72 MB, free: 3.344 MB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003328/0.008143, allocations: 375.4 kB / 25.09 MB, free: 2.93 MB / 13.93 MB Notification: Performance of preOpt comSubExp (simulation): time 7.734e-05/0.008233, allocations: 177 kB / 25.26 MB, free: 2.746 MB / 13.93 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.763e-05/0.008269, allocations: 84.14 kB / 25.34 MB, free: 2.66 MB / 13.93 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.008297, allocations: 75.28 kB / 25.42 MB, free: 2.586 MB / 13.93 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.00834, allocations: 109.9 kB / 25.52 MB, free: 2.469 MB / 13.93 MB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.00835, allocations: 0 / 25.52 MB, free: 2.469 MB / 13.93 MB Notification: Performance of matching and sorting (n=0): time 9.128e-05/0.008449, allocations: 29.8 kB / 25.55 MB, free: 2.434 MB / 13.93 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.0085, allocations: 134.1 kB / 25.68 MB, free: 2.293 MB / 13.93 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.585e-05/0.008622, allocations: 94.02 kB / 25.77 MB, free: 2.191 MB / 13.93 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.008643, allocations: 29.7 kB / 25.8 MB, free: 2.156 MB / 13.93 MB Notification: Performance of collectInitialEqns (initialization): time 3.744e-05/0.008689, allocations: 81.86 kB / 25.88 MB, free: 2.074 MB / 13.93 MB Notification: Performance of collectInitialBindings (initialization): time 3.697e-06/0.008703, allocations: 0 / 25.88 MB, free: 2.074 MB / 13.93 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.008743, allocations: 14.8 kB / 25.9 MB, free: 2.055 MB / 13.93 MB Notification: Performance of setup shared object (initialization): time 6.72e-05/0.00882, allocations: 318.3 kB / 26.21 MB, free: 1.738 MB / 13.93 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.19e-05/0.008841, allocations: 0 / 26.21 MB, free: 1.738 MB / 13.93 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.662e-05/0.008877, allocations: 13.84 kB / 26.22 MB, free: 1.719 MB / 13.93 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.709e-05/0.008912, allocations: 8.859 kB / 26.23 MB, free: 1.707 MB / 13.93 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.008922, allocations: 3.938 kB / 26.23 MB, free: 1.703 MB / 13.93 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001243/0.009055, allocations: 37.58 kB / 26.27 MB, free: 1.66 MB / 13.93 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.009085, allocations: 8 kB / 26.28 MB, free: 1.652 MB / 13.93 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.0091, allocations: 0 / 26.28 MB, free: 1.652 MB / 13.93 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.009125, allocations: 0 / 26.28 MB, free: 1.652 MB / 13.93 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.872e-05/0.009201, allocations: 3.984 kB / 26.28 MB, free: 1.648 MB / 13.93 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.477e-06/0.00922, allocations: 1.172 kB / 26.28 MB, free: 1.648 MB / 13.93 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.132e-05/0.00925, allocations: 6.5 kB / 26.29 MB, free: 1.645 MB / 13.93 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.009265, allocations: 4 kB / 26.29 MB, free: 1.641 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.083e-05/0.009362, allocations: 185.9 kB / 26.48 MB, free: 1.449 MB / 13.93 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.98e-05/0.00943, allocations: 101 kB / 26.57 MB, free: 1.344 MB / 13.93 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.135e-05/0.009491, allocations: 112.9 kB / 26.68 MB, free: 1.219 MB / 13.93 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.203e-05/0.009555, allocations: 180.8 kB / 26.86 MB, free: 1.035 MB / 13.93 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.048e-05/0.009614, allocations: 185 kB / 27.04 MB, free: 0.8477 MB / 13.93 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.67e-05/0.009669, allocations: 180.8 kB / 27.22 MB, free: 0.6641 MB / 13.93 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.009903, allocations: 403.1 kB / 27.61 MB, free: 220 kB / 13.93 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.593e-05/0.009939, allocations: 109.4 kB / 27.72 MB, free: 104 kB / 13.93 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00805/0.018, allocations: 105.5 kB / 27.82 MB, free: 4.719 MB / 13.93 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.783e-05/0.01808, allocations: 176.8 kB / 27.99 MB, free: 4.539 MB / 13.93 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.587e-05/0.01812, allocations: 182.7 kB / 28.17 MB, free: 4.359 MB / 13.93 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.899e-05/0.01817, allocations: 180.2 kB / 28.35 MB, free: 4.18 MB / 13.93 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.422e-05/0.01822, allocations: 185.6 kB / 28.53 MB, free: 4 MB / 13.93 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003112/0.01854, allocations: 0.845 MB / 29.38 MB, free: 3.121 MB / 13.93 MB Notification: Performance of postOpt removeConstants (simulation): time 4.428e-05/0.01859, allocations: 184.3 kB / 29.56 MB, free: 2.922 MB / 13.93 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.396e-05/0.01864, allocations: 184.9 kB / 29.74 MB, free: 2.742 MB / 13.93 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.468e-05/0.01873, allocations: 102 kB / 29.84 MB, free: 2.637 MB / 13.93 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.01878, allocations: 187.6 kB / 30.02 MB, free: 2.457 MB / 13.93 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.01881, allocations: 107.1 kB / 30.12 MB, free: 2.352 MB / 13.93 MB Notification: Performance of sorting global known variables: time 4.411e-05/0.01886, allocations: 75.28 kB / 30.2 MB, free: 2.277 MB / 13.93 MB Notification: Performance of sort global known variables: time 2.2e-07/0.01887, allocations: 0 / 30.2 MB, free: 2.277 MB / 13.93 MB Notification: Performance of remove unused functions: time 0.0006198/0.0195, allocations: 50.28 kB / 30.25 MB, free: 2.277 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 () * 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.001678/0.02119, allocations: 0.5662 MB / 30.81 MB, free: 1.887 MB / 13.93 MB Notification: Performance of simCode: created initialization part: time 0.0001017/0.02131, allocations: 2.781 kB / 30.81 MB, free: 1.887 MB / 13.93 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.02132, allocations: 3.938 kB / 30.82 MB, free: 1.883 MB / 13.93 MB Notification: Performance of simCode: created simulation system equations: time 3.216e-06/0.02133, allocations: 4.156 kB / 30.82 MB, free: 1.879 MB / 13.93 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.02173, allocations: 0.5223 MB / 31.35 MB, free: 1.359 MB / 13.93 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002241/0.02196, allocations: 149.2 kB / 31.49 MB, free: 1.191 MB / 13.93 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/0.02212, allocations: 0.672 MB / 32.16 MB, free: 0.4961 MB / 13.93 MB Notification: Performance of simCode: alias equations: time 2.29e-05/0.02215, allocations: 0 / 32.16 MB, free: 0.4961 MB / 13.93 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.007e-05/0.02217, allocations: 11.44 kB / 32.17 MB, free: 496 kB / 13.93 MB Notification: Performance of SimCode: time 5.81e-07/0.02218, allocations: 1.469 kB / 32.18 MB, free: 496 kB / 13.93 MB Notification: Performance of Templates: time 0.005922/0.0281, allocations: 1.653 MB / 33.83 MB, free: 3.957 MB / 18.57 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)