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.003801/0.003801, allocations: 330.7 kB / 16.49 MB, free: 6.312 MB / 14.72 MB Notification: Performance of FrontEnd - loaded program: time 0.000489/0.0004891, allocations: 13.55 kB / 23.41 MB, free: 5.312 MB / 14.72 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0001402/0.000649, allocations: 91.47 kB / 23.5 MB, free: 5.309 MB / 14.72 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.001718/0.002378, allocations: 375 kB / 23.86 MB, free: 5.223 MB / 14.72 MB Notification: Performance of NFInst.instExpressions: time 0.0008976/0.003292, allocations: 342 kB / 24.2 MB, free: 5.07 MB / 14.72 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.494e-05/0.003334, allocations: 1.312 kB / 24.2 MB, free: 5.07 MB / 14.72 MB Notification: Performance of NFTyping.typeComponents: time 1.349e-05/0.003366, allocations: 0 / 24.2 MB, free: 5.07 MB / 14.72 MB Notification: Performance of NFTyping.typeBindings: time 1.747e-05/0.003393, allocations: 0 / 24.2 MB, free: 5.07 MB / 14.72 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.1.1-master/Examples.mo:7:3-25:17:writable] Warning: Pure function 'MessagePack.Examples.TestCreateAndReadFile.createFile' contains a call to impure function 'MessagePack.Pack.SimpleBuffer.SimpleBuffer.constructor'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.1.1-master/Examples.mo:27:3-48:15:writable] Warning: Pure function 'MessagePack.Examples.TestCreateAndReadFile.readFile' contains a call to impure function 'MessagePack.Unpack.Deserializer.constructor'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.1.1-master/Examples.mo:50:3-61:24:writable] Warning: Pure function 'MessagePack.Examples.TestCreateAndReadFile.createAndReadFile' contains a call to impure function 'MessagePack.Examples.TestCreateAndReadFile.createFile'. Notification: Performance of NFTyping.typeClassSections: time 0.0004097/0.003809, allocations: 111.9 kB / 24.31 MB, free: 5.027 MB / 14.72 MB Notification: Performance of NFFlatten.flatten: time 3.04e-05/0.00385, allocations: 0 / 24.31 MB, free: 5.027 MB / 14.72 MB Notification: Performance of NFFlatten.resolveConnections: time 4.368e-05/0.003902, allocations: 4 kB / 24.31 MB, free: 5.023 MB / 14.72 MB Notification: Performance of NFEvalConstants.evaluate: time 1.232e-05/0.003923, allocations: 3.562 kB / 24.31 MB, free: 5.023 MB / 14.72 MB Notification: Performance of NFSimplifyModel.simplify: time 1.162e-05/0.003942, allocations: 0 / 24.31 MB, free: 5.023 MB / 14.72 MB Notification: Performance of NFPackage.collectConstants: time 4.478e-06/0.003953, allocations: 0 / 24.31 MB, free: 5.023 MB / 14.72 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002829/0.004243, allocations: 143.3 kB / 24.45 MB, free: 4.926 MB / 14.72 MB Notification: Performance of NFScalarize.scalarize: time 6.693e-06/0.004267, allocations: 0 / 24.45 MB, free: 4.926 MB / 14.72 MB Notification: Performance of NFVerifyModel.verify: time 1.365e-05/0.004291, allocations: 0 / 24.45 MB, free: 4.926 MB / 14.72 MB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.004517, allocations: 119.6 kB / 24.57 MB, free: 4.832 MB / 14.72 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.004535, allocations: 3.938 kB / 24.58 MB, free: 4.828 MB / 14.72 MB Notification: Performance of FrontEnd: time 7.61e-07/0.004544, allocations: 0 / 24.58 MB, free: 4.828 MB / 14.72 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.004555, allocations: 0 / 24.58 MB, free: 4.828 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.0002266/0.004789, allocations: 384.2 kB / 24.95 MB, free: 4.398 MB / 14.72 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.004831, allocations: 8.328 kB / 24.96 MB, free: 4.391 MB / 14.72 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.484e-05/0.004873, allocations: 1.906 kB / 24.96 MB, free: 4.391 MB / 14.72 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.66e-05/0.004928, allocations: 160.4 kB / 25.12 MB, free: 4.195 MB / 14.72 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.004949, allocations: 8.359 kB / 25.13 MB, free: 4.188 MB / 14.72 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.474e-06/0.004964, allocations: 3.375 kB / 25.13 MB, free: 4.188 MB / 14.72 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.545e-05/0.005036, allocations: 30.2 kB / 25.16 MB, free: 4.152 MB / 14.72 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.005053, allocations: 192 / 25.16 MB, free: 4.152 MB / 14.72 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-06/0.005068, allocations: 11.92 kB / 25.17 MB, free: 4.141 MB / 14.72 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.005079, allocations: 0 / 25.17 MB, free: 4.141 MB / 14.72 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.494e-05/0.005101, allocations: 4 kB / 25.17 MB, free: 4.137 MB / 14.72 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002188/0.005327, allocations: 379.8 kB / 25.54 MB, free: 3.719 MB / 14.72 MB Notification: Performance of preOpt comSubExp (simulation): time 4.004e-05/0.005383, allocations: 173 kB / 25.71 MB, free: 3.539 MB / 14.72 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.63e-05/0.005411, allocations: 87.39 kB / 25.8 MB, free: 3.453 MB / 14.72 MB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.005436, allocations: 79.22 kB / 25.88 MB, free: 3.375 MB / 14.72 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.005466, allocations: 105.8 kB / 25.98 MB, free: 3.262 MB / 14.72 MB Notification: Performance of pre-optimization done (n=0): time 1.363e-06/0.005476, allocations: 0 / 25.98 MB, free: 3.262 MB / 14.72 MB Notification: Performance of matching and sorting (n=0): time 0.0001177/0.005601, allocations: 31.67 kB / 26.01 MB, free: 3.227 MB / 14.72 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.005664, allocations: 126.7 kB / 26.13 MB, free: 3.09 MB / 14.72 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.266e-05/0.00573, allocations: 94.02 kB / 26.23 MB, free: 2.988 MB / 14.72 MB Notification: Performance of collectPreVariables (initialization): time 8.225e-06/0.005754, allocations: 28.77 kB / 26.25 MB, free: 2.957 MB / 14.72 MB Notification: Performance of collectInitialEqns (initialization): time 2.499e-05/0.00579, allocations: 85.8 kB / 26.34 MB, free: 2.871 MB / 14.72 MB Notification: Performance of collectInitialBindings (initialization): time 3.346e-06/0.005806, allocations: 4 kB / 26.34 MB, free: 2.867 MB / 14.72 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/0.005852, allocations: 14.8 kB / 26.36 MB, free: 2.848 MB / 14.72 MB Notification: Performance of setup shared object (initialization): time 3.387e-05/0.005899, allocations: 310.8 kB / 26.66 MB, free: 2.535 MB / 14.72 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.899e-06/0.005922, allocations: 0 / 26.66 MB, free: 2.535 MB / 14.72 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.15e-05/0.005954, allocations: 20.88 kB / 26.68 MB, free: 2.512 MB / 14.72 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.03e-05/0.005984, allocations: 12.86 kB / 26.69 MB, free: 2.496 MB / 14.72 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.005994, allocations: 3.188 kB / 26.7 MB, free: 2.496 MB / 14.72 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.711e-05/0.006098, allocations: 33.64 kB / 26.73 MB, free: 2.457 MB / 14.72 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.006119, allocations: 4 kB / 26.73 MB, free: 2.453 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.006132, allocations: 3.984 kB / 26.74 MB, free: 2.449 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.006151, allocations: 0 / 26.74 MB, free: 2.449 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.198e-05/0.0062, allocations: 7.938 kB / 26.74 MB, free: 2.441 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.006213, allocations: 1.094 kB / 26.75 MB, free: 2.441 MB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.698e-05/0.006238, allocations: 4.125 kB / 26.75 MB, free: 2.438 MB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.006249, allocations: 0 / 26.75 MB, free: 2.438 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 4.718e-05/0.006303, allocations: 192.5 kB / 26.94 MB, free: 2.242 MB / 14.72 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.044e-05/0.006362, allocations: 101 kB / 27.04 MB, free: 2.137 MB / 14.72 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.152e-05/0.006393, allocations: 112.3 kB / 27.15 MB, free: 2.012 MB / 14.72 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.016e-05/0.006421, allocations: 180.2 kB / 27.32 MB, free: 1.828 MB / 14.72 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.326e-05/0.006452, allocations: 187.6 kB / 27.51 MB, free: 1.641 MB / 14.72 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.061e-05/0.006481, allocations: 180.2 kB / 27.68 MB, free: 1.457 MB / 14.72 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.006653, allocations: 401.2 kB / 28.07 MB, free: 1.008 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/0.006676, allocations: 104.9 kB / 28.18 MB, free: 0.8984 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.281e-05/0.006697, allocations: 107.6 kB / 28.28 MB, free: 0.7891 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.112e-05/0.006725, allocations: 176.3 kB / 28.45 MB, free: 0.6094 MB / 14.72 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/0.00676, allocations: 184.2 kB / 28.63 MB, free: 432 kB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.854e-05/0.006797, allocations: 176.3 kB / 28.8 MB, free: 248 kB / 14.72 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.273e-05/0.00683, allocations: 190.9 kB / 28.99 MB, free: 52 kB / 14.72 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006399/0.01324, allocations: 305 kB / 29.29 MB, free: 4.633 MB / 14.72 MB Notification: Performance of postOpt removeConstants (simulation): time 2.89e-05/0.01329, allocations: 186.8 kB / 29.47 MB, free: 4.434 MB / 14.72 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.261e-05/0.01334, allocations: 182.5 kB / 29.65 MB, free: 4.254 MB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.003e-05/0.01344, allocations: 105.2 kB / 29.75 MB, free: 4.148 MB / 14.72 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.651e-05/0.01348, allocations: 181.9 kB / 29.93 MB, free: 3.969 MB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/0.01355, allocations: 104.1 kB / 30.03 MB, free: 3.863 MB / 14.72 MB Notification: Performance of sorting global known variables: time 2.433e-05/0.01359, allocations: 81.31 kB / 30.11 MB, free: 3.789 MB / 14.72 MB Notification: Performance of sort global known variables: time 3.01e-07/0.0136, allocations: 0 / 30.11 MB, free: 3.789 MB / 14.72 MB Notification: Performance of remove unused functions: time 0.0005224/0.01414, allocations: 45.28 kB / 30.16 MB, free: 3.789 MB / 14.72 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.001723/0.01587, allocations: 0.5605 MB / 30.72 MB, free: 3.402 MB / 14.72 MB Notification: Performance of simCode: created initialization part: time 7.373e-05/0.01596, allocations: 2.688 kB / 30.72 MB, free: 3.402 MB / 14.72 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.01598, allocations: 0.7656 kB / 30.72 MB, free: 3.402 MB / 14.72 MB Notification: Performance of simCode: created simulation system equations: time 2.655e-06/0.01599, allocations: 5.125 kB / 30.72 MB, free: 3.402 MB / 14.72 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004062/0.0164, allocations: 460.8 kB / 31.17 MB, free: 2.957 MB / 14.72 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001586/0.01658, allocations: 179.5 kB / 31.35 MB, free: 2.754 MB / 14.72 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.536e-05/0.01668, allocations: 0.67 MB / 32.02 MB, free: 2.059 MB / 14.72 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.085e-05/0.0167, allocations: 8.344 kB / 32.03 MB, free: 2.051 MB / 14.72 MB Notification: Performance of SimCode: time 8.01e-07/0.01671, allocations: 3.531 kB / 32.03 MB, free: 2.051 MB / 14.72 MB Notification: Performance of Templates: time 0.004142/0.02086, allocations: 1.806 MB / 33.84 MB, free: 0.7227 MB / 14.72 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)