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.01069/0.01069, allocations: 333.9 kB / 15.56 MB, free: 308 kB / 14.72 MB Notification: Performance of FrontEnd - loaded program: time 0.000331/0.0003311, allocations: 15.67 kB / 22.36 MB, free: 0.918 MB / 14.72 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.000209/0.0005561, allocations: 87.19 kB / 22.44 MB, free: 0.832 MB / 14.72 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.001313/0.001876, allocations: 443.4 kB / 22.88 MB, free: 408 kB / 14.72 MB Notification: Performance of NFInst.instExpressions: time 0.0005715/0.002459, allocations: 340.3 kB / 23.21 MB, free: 68 kB / 14.72 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.33e-05/0.002493, allocations: 0 / 23.21 MB, free: 68 kB / 14.72 MB Notification: Performance of NFTyping.typeComponents: time 1.573e-05/0.002525, allocations: 4 kB / 23.21 MB, free: 64 kB / 14.72 MB Notification: Performance of NFTyping.typeBindings: time 3.104e-05/0.002561, allocations: 0 / 23.21 MB, free: 64 kB / 14.72 MB Notification: Performance of NFTyping.typeClassSections: time 0.0063/0.008865, allocations: 95.11 kB / 23.3 MB, free: 5.5 MB / 14.72 MB Notification: Performance of NFFlatten.flatten: time 5.375e-05/0.008962, allocations: 2.672 kB / 23.31 MB, free: 5.5 MB / 14.72 MB Notification: Performance of NFFlatten.resolveConnections: time 5.399e-05/0.009024, allocations: 2.219 kB / 23.31 MB, free: 5.5 MB / 14.72 MB Notification: Performance of NFEvalConstants.evaluate: time 1.744e-05/0.009047, allocations: 1.688 kB / 23.31 MB, free: 5.5 MB / 14.72 MB Notification: Performance of NFSimplifyModel.simplify: time 1.562e-05/0.009069, allocations: 1.438 kB / 23.31 MB, free: 5.5 MB / 14.72 MB Notification: Performance of NFPackage.collectConstants: time 6.553e-06/0.009081, allocations: 0 / 23.31 MB, free: 5.5 MB / 14.72 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002781/0.009368, allocations: 142 kB / 23.45 MB, free: 5.5 MB / 14.72 MB Notification: Performance of NFScalarize.scalarize: time 8.055e-06/0.009383, allocations: 2.266 kB / 23.45 MB, free: 5.5 MB / 14.72 MB Notification: Performance of NFVerifyModel.verify: time 1.308e-05/0.009401, allocations: 0 / 23.45 MB, free: 5.5 MB / 14.72 MB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.00959, allocations: 112.6 kB / 23.56 MB, free: 5.496 MB / 14.72 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.009604, allocations: 1.375 kB / 23.56 MB, free: 5.496 MB / 14.72 MB Notification: Performance of FrontEnd: time 1.412e-06/0.00961, allocations: 0 / 23.56 MB, free: 5.496 MB / 14.72 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.00962, allocations: 2.031 kB / 23.57 MB, free: 5.496 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.0002584/0.009883, allocations: 384.9 kB / 23.94 MB, free: 5.086 MB / 14.72 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.009929, allocations: 8.953 kB / 23.95 MB, free: 5.086 MB / 14.72 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.825e-05/0.009963, allocations: 2.469 kB / 23.95 MB, free: 5.086 MB / 14.72 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.902e-05/0.01003, allocations: 163.7 kB / 24.11 MB, free: 4.891 MB / 14.72 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.01006, allocations: 2.625 kB / 24.12 MB, free: 4.891 MB / 14.72 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.01008, allocations: 0.9375 kB / 24.12 MB, free: 4.891 MB / 14.72 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.416e-05/0.01017, allocations: 35.98 kB / 24.15 MB, free: 4.859 MB / 14.72 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.01018, allocations: 1.5 kB / 24.15 MB, free: 4.859 MB / 14.72 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.01019, allocations: 3.938 kB / 24.16 MB, free: 4.855 MB / 14.72 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.0102, allocations: 1.75 kB / 24.16 MB, free: 4.855 MB / 14.72 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.581e-05/0.01022, allocations: 1.656 kB / 24.16 MB, free: 4.855 MB / 14.72 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000254/0.01048, allocations: 383.6 kB / 24.54 MB, free: 4.441 MB / 14.72 MB Notification: Performance of preOpt comSubExp (simulation): time 5.05e-05/0.01054, allocations: 174.8 kB / 24.71 MB, free: 4.266 MB / 14.72 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.634e-05/0.01056, allocations: 84.45 kB / 24.79 MB, free: 4.184 MB / 14.72 MB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.01058, allocations: 76.22 kB / 24.86 MB, free: 4.109 MB / 14.72 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.01061, allocations: 107.9 kB / 24.97 MB, free: 3.996 MB / 14.72 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.01061, allocations: 4 kB / 24.97 MB, free: 3.992 MB / 14.72 MB Notification: Performance of matching and sorting (n=0): time 6.477e-05/0.01068, allocations: 27.42 kB / 25 MB, free: 3.961 MB / 14.72 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.01071, allocations: 130.8 kB / 25.13 MB, free: 3.824 MB / 14.72 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.908e-05/0.01079, allocations: 96.81 kB / 25.22 MB, free: 3.727 MB / 14.72 MB Notification: Performance of collectPreVariables (initialization): time 7.294e-06/0.0108, allocations: 26.27 kB / 25.25 MB, free: 3.695 MB / 14.72 MB Notification: Performance of collectInitialEqns (initialization): time 3.281e-05/0.01084, allocations: 86.59 kB / 25.33 MB, free: 3.613 MB / 14.72 MB Notification: Performance of collectInitialBindings (initialization): time 2.845e-06/0.01085, allocations: 0 / 25.33 MB, free: 3.613 MB / 14.72 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-05/0.01088, allocations: 13.94 kB / 25.35 MB, free: 3.598 MB / 14.72 MB Notification: Performance of setup shared object (initialization): time 5.275e-05/0.01093, allocations: 319.9 kB / 25.66 MB, free: 3.281 MB / 14.72 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.037e-06/0.01095, allocations: 6.25 kB / 25.66 MB, free: 3.277 MB / 14.72 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.081e-05/0.01097, allocations: 16.38 kB / 25.68 MB, free: 3.262 MB / 14.72 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.913e-05/0.011, allocations: 8.578 kB / 25.69 MB, free: 3.254 MB / 14.72 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.011, allocations: 0 / 25.69 MB, free: 3.254 MB / 14.72 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.765e-05/0.01109, allocations: 35.45 kB / 25.72 MB, free: 3.219 MB / 14.72 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.01111, allocations: 10.28 kB / 25.73 MB, free: 3.215 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.01112, allocations: 1.016 kB / 25.73 MB, free: 3.215 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.01114, allocations: 0 / 25.73 MB, free: 3.215 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.084e-05/0.01119, allocations: 1.531 kB / 25.74 MB, free: 3.215 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.0112, allocations: 1.5 kB / 25.74 MB, free: 3.215 MB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.515e-05/0.01122, allocations: 0.9375 kB / 25.74 MB, free: 3.215 MB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.01123, allocations: 1.469 kB / 25.74 MB, free: 3.215 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 6.27e-05/0.0113, allocations: 193.4 kB / 25.93 MB, free: 3.023 MB / 14.72 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.104e-05/0.01135, allocations: 109.6 kB / 26.03 MB, free: 2.914 MB / 14.72 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.627e-05/0.01138, allocations: 107.6 kB / 26.14 MB, free: 2.797 MB / 14.72 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-05/0.01142, allocations: 181.2 kB / 26.32 MB, free: 2.617 MB / 14.72 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.072e-05/0.01145, allocations: 179.5 kB / 26.49 MB, free: 2.438 MB / 14.72 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-05/0.01149, allocations: 183.4 kB / 26.67 MB, free: 2.258 MB / 14.72 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.01162, allocations: 403.1 kB / 27.07 MB, free: 1.812 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.597e-05/0.01165, allocations: 107.7 kB / 27.17 MB, free: 1.703 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.703e-05/0.01167, allocations: 106.5 kB / 27.27 MB, free: 1.598 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.029e-05/0.0117, allocations: 181.3 kB / 27.45 MB, free: 1.418 MB / 14.72 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.588e-05/0.01174, allocations: 183 kB / 27.63 MB, free: 1.238 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.01e-05/0.01178, allocations: 179.9 kB / 27.81 MB, free: 1.059 MB / 14.72 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.094e-05/0.01181, allocations: 183.7 kB / 27.99 MB, free: 0.875 MB / 14.72 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.943e-05/0.01189, allocations: 310.2 kB / 28.29 MB, free: 0.5586 MB / 14.72 MB Notification: Performance of postOpt removeConstants (simulation): time 3.445e-05/0.01193, allocations: 183.4 kB / 28.47 MB, free: 368 kB / 14.72 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.99e-05/0.01197, allocations: 179.7 kB / 28.64 MB, free: 184 kB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.584e-05/0.01203, allocations: 109.3 kB / 28.75 MB, free: 76 kB / 14.72 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.242e-05/0.01212, allocations: 186.3 kB / 28.93 MB, free: 4.828 MB / 19.66 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.393e-05/0.01216, allocations: 103.8 kB / 29.03 MB, free: 4.723 MB / 19.66 MB Notification: Performance of sorting global known variables: time 3.099e-05/0.01219, allocations: 75.28 kB / 29.11 MB, free: 4.648 MB / 19.66 MB Notification: Performance of sort global known variables: time 1.11e-07/0.0122, allocations: 3.5 kB / 29.11 MB, free: 4.648 MB / 19.66 MB Notification: Performance of remove unused functions: time 0.0003143/0.01252, allocations: 41.05 kB / 29.15 MB, free: 4.641 MB / 19.66 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.00116/0.01368, allocations: 0.5729 MB / 29.72 MB, free: 4.203 MB / 19.66 MB Notification: Performance of simCode: created initialization part: time 8.092e-05/0.01378, allocations: 6.219 kB / 29.73 MB, free: 4.203 MB / 19.66 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.01379, allocations: 0 / 29.73 MB, free: 4.203 MB / 19.66 MB Notification: Performance of simCode: created simulation system equations: time 2.004e-06/0.01379, allocations: 2.75 kB / 29.73 MB, free: 4.203 MB / 19.66 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.0142, allocations: 458.8 kB / 30.18 MB, free: 3.754 MB / 19.66 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002373/0.01444, allocations: 161.3 kB / 30.34 MB, free: 3.57 MB / 19.66 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.01479, allocations: 0.6693 MB / 31.01 MB, free: 2.875 MB / 19.66 MB Notification: Performance of simCode: alias equations: time 1.401e-05/0.01481, allocations: 0 / 31.01 MB, free: 2.875 MB / 19.66 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.27e-05/0.01483, allocations: 9.781 kB / 31.02 MB, free: 2.867 MB / 19.66 MB Notification: Performance of SimCode: time 2.2e-07/0.01483, allocations: 0 / 31.02 MB, free: 2.867 MB / 19.66 MB Notification: Performance of Templates: time 0.004691/0.01953, allocations: 1.653 MB / 32.67 MB, free: 1.461 MB / 19.66 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)