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.003813/0.003813, allocations: 333.9 kB / 16.63 MB, free: 6.375 MB / 14.72 MB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003594, allocations: 10.98 kB / 24.64 MB, free: 4.445 MB / 14.72 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0002185/0.0005999, allocations: 95.81 kB / 24.73 MB, free: 4.395 MB / 14.72 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.001487/0.002095, allocations: 378.9 kB / 25.1 MB, free: 4.188 MB / 14.72 MB Notification: Performance of NFInst.instExpressions: time 0.0006817/0.00279, allocations: 347.9 kB / 25.44 MB, free: 3.91 MB / 14.72 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.102e-05/0.002833, allocations: 4 kB / 25.45 MB, free: 3.906 MB / 14.72 MB Notification: Performance of NFTyping.typeComponents: time 1.39e-05/0.00288, allocations: 0 / 25.45 MB, free: 3.906 MB / 14.72 MB Notification: Performance of NFTyping.typeBindings: time 3.112e-05/0.002918, allocations: 0 / 25.45 MB, free: 3.906 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.0005167/0.003439, allocations: 112.9 kB / 25.56 MB, free: 3.816 MB / 14.72 MB Notification: Performance of NFFlatten.flatten: time 4.37e-05/0.00349, allocations: 0 / 25.56 MB, free: 3.816 MB / 14.72 MB Notification: Performance of NFFlatten.resolveConnections: time 4.72e-05/0.003543, allocations: 0 / 25.56 MB, free: 3.816 MB / 14.72 MB Notification: Performance of NFEvalConstants.evaluate: time 1.383e-05/0.003561, allocations: 3.938 kB / 25.56 MB, free: 3.812 MB / 14.72 MB Notification: Performance of NFSimplifyModel.simplify: time 1.718e-05/0.003583, allocations: 0 / 25.56 MB, free: 3.812 MB / 14.72 MB Notification: Performance of NFPackage.collectConstants: time 6.262e-06/0.003593, allocations: 0 / 25.56 MB, free: 3.812 MB / 14.72 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002663/0.003864, allocations: 144 kB / 25.7 MB, free: 3.703 MB / 14.72 MB Notification: Performance of NFScalarize.scalarize: time 7.605e-06/0.003881, allocations: 4 kB / 25.7 MB, free: 3.699 MB / 14.72 MB Notification: Performance of NFVerifyModel.verify: time 1.883e-05/0.003905, allocations: 5.859 kB / 25.71 MB, free: 3.695 MB / 14.72 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.004112, allocations: 119.7 kB / 25.83 MB, free: 3.598 MB / 14.72 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.004123, allocations: 0 / 25.83 MB, free: 3.598 MB / 14.72 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004128, allocations: 0 / 25.83 MB, free: 3.598 MB / 14.72 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.004137, allocations: 0 / 25.83 MB, free: 3.598 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.000298/0.004439, allocations: 379.9 kB / 26.2 MB, free: 3.168 MB / 14.72 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.004486, allocations: 8.328 kB / 26.21 MB, free: 3.16 MB / 14.72 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/0.004534, allocations: 12.47 kB / 26.22 MB, free: 3.152 MB / 14.72 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.664e-05/0.004605, allocations: 160.4 kB / 26.37 MB, free: 2.957 MB / 14.72 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.004624, allocations: 384 / 26.37 MB, free: 2.957 MB / 14.72 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.004639, allocations: 7.891 kB / 26.38 MB, free: 2.953 MB / 14.72 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.029e-05/0.004734, allocations: 34.2 kB / 26.42 MB, free: 2.914 MB / 14.72 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.004748, allocations: 192 / 26.42 MB, free: 2.914 MB / 14.72 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.004763, allocations: 3.938 kB / 26.42 MB, free: 2.91 MB / 14.72 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.004772, allocations: 0 / 26.42 MB, free: 2.91 MB / 14.72 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.858e-05/0.004795, allocations: 0 / 26.42 MB, free: 2.91 MB / 14.72 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002564/0.005056, allocations: 378.9 kB / 26.79 MB, free: 2.492 MB / 14.72 MB Notification: Performance of preOpt comSubExp (simulation): time 5.935e-05/0.005125, allocations: 182.4 kB / 26.97 MB, free: 2.309 MB / 14.72 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.373e-05/0.005154, allocations: 80.14 kB / 27.05 MB, free: 2.227 MB / 14.72 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.005178, allocations: 75.28 kB / 27.12 MB, free: 2.152 MB / 14.72 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.00521, allocations: 109.9 kB / 27.23 MB, free: 2.035 MB / 14.72 MB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.005215, allocations: 0 / 27.23 MB, free: 2.035 MB / 14.72 MB Notification: Performance of matching and sorting (n=0): time 7.46e-05/0.005294, allocations: 33.89 kB / 27.26 MB, free: 1.996 MB / 14.72 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.005343, allocations: 130.7 kB / 27.39 MB, free: 1.855 MB / 14.72 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.065e-05/0.00542, allocations: 93.58 kB / 27.48 MB, free: 1.758 MB / 14.72 MB Notification: Performance of collectPreVariables (initialization): time 7.103e-06/0.005432, allocations: 25.7 kB / 27.5 MB, free: 1.727 MB / 14.72 MB Notification: Performance of collectInitialEqns (initialization): time 3.456e-05/0.005472, allocations: 85.86 kB / 27.59 MB, free: 1.641 MB / 14.72 MB Notification: Performance of collectInitialBindings (initialization): time 3.667e-06/0.00548, allocations: 3.938 kB / 27.59 MB, free: 1.637 MB / 14.72 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.74e-05/0.005512, allocations: 10.81 kB / 27.6 MB, free: 1.621 MB / 14.72 MB Notification: Performance of setup shared object (initialization): time 5.633e-05/0.005573, allocations: 319 kB / 27.91 MB, free: 1.301 MB / 14.72 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.736e-06/0.005587, allocations: 0 / 27.91 MB, free: 1.301 MB / 14.72 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.929e-05/0.005611, allocations: 13.22 kB / 27.93 MB, free: 1.285 MB / 14.72 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.344e-05/0.005639, allocations: 12.84 kB / 27.94 MB, free: 1.27 MB / 14.72 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.005646, allocations: 0 / 27.94 MB, free: 1.27 MB / 14.72 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001023/0.005752, allocations: 37.58 kB / 27.98 MB, free: 1.227 MB / 14.72 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.005774, allocations: 4 kB / 27.98 MB, free: 1.223 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.005786, allocations: 8.125 kB / 27.99 MB, free: 1.215 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.005807, allocations: 3.938 kB / 27.99 MB, free: 1.211 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.401e-05/0.005865, allocations: 3.938 kB / 28 MB, free: 1.207 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.005875, allocations: 0 / 28 MB, free: 1.207 MB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.332e-05/0.005892, allocations: 0 / 28 MB, free: 1.207 MB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.005903, allocations: 4 kB / 28 MB, free: 1.203 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.844e-05/0.005975, allocations: 188.7 kB / 28.18 MB, free: 1.012 MB / 14.72 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.35e-05/0.006023, allocations: 105 kB / 28.29 MB, free: 0.9023 MB / 14.72 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.134e-05/0.006061, allocations: 108.5 kB / 28.39 MB, free: 0.7852 MB / 14.72 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-05/0.006093, allocations: 184.2 kB / 28.57 MB, free: 0.5977 MB / 14.72 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.192e-05/0.006129, allocations: 176.3 kB / 28.74 MB, free: 428 kB / 14.72 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.11e-05/0.006165, allocations: 183.8 kB / 28.92 MB, free: 240 kB / 14.72 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/0.006386, allocations: 405.2 kB / 29.32 MB, free: 4.73 MB / 19.67 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.695e-05/0.00644, allocations: 108.9 kB / 29.43 MB, free: 4.617 MB / 19.67 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.602e-05/0.006481, allocations: 101 kB / 29.52 MB, free: 4.512 MB / 19.67 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.446e-05/0.006561, allocations: 180.2 kB / 29.7 MB, free: 4.328 MB / 19.67 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.478e-05/0.00665, allocations: 187.6 kB / 29.88 MB, free: 4.141 MB / 19.67 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-05/0.006725, allocations: 176.3 kB / 30.06 MB, free: 3.961 MB / 19.67 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.151e-05/0.006802, allocations: 180.2 kB / 30.23 MB, free: 3.777 MB / 19.67 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/0.006967, allocations: 319.4 kB / 30.54 MB, free: 3.445 MB / 19.67 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.007082, allocations: 186.1 kB / 30.73 MB, free: 3.238 MB / 19.67 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.353e-05/0.007162, allocations: 176.3 kB / 30.9 MB, free: 3.059 MB / 19.67 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.667e-05/0.007246, allocations: 108.9 kB / 31 MB, free: 2.945 MB / 19.67 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.138e-05/0.007332, allocations: 183.7 kB / 31.18 MB, free: 2.762 MB / 19.67 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.084e-05/0.007378, allocations: 105 kB / 31.29 MB, free: 2.652 MB / 19.67 MB Notification: Performance of sorting global known variables: time 3.361e-05/0.007417, allocations: 75.28 kB / 31.36 MB, free: 2.578 MB / 19.67 MB Notification: Performance of sort global known variables: time 1.3e-07/0.007424, allocations: 4 kB / 31.36 MB, free: 2.574 MB / 19.67 MB Notification: Performance of remove unused functions: time 0.0003333/0.007762, allocations: 42.05 kB / 31.4 MB, free: 2.543 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.001327/0.009095, allocations: 0.5603 MB / 31.96 MB, free: 1.98 MB / 19.67 MB Notification: Performance of simCode: created initialization part: time 8.386e-05/0.009193, allocations: 4 kB / 31.97 MB, free: 1.977 MB / 19.67 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.009202, allocations: 0 / 31.97 MB, free: 1.977 MB / 19.67 MB Notification: Performance of simCode: created simulation system equations: time 2.265e-06/0.00921, allocations: 80 / 31.97 MB, free: 1.977 MB / 19.67 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.009581, allocations: 470.9 kB / 32.43 MB, free: 1.516 MB / 19.67 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002326/0.009822, allocations: 182.1 kB / 32.61 MB, free: 1.301 MB / 19.67 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.01009, allocations: 0.6732 MB / 33.28 MB, free: 0.6016 MB / 19.67 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.854e-05/0.01012, allocations: 7.438 kB / 33.29 MB, free: 0.5938 MB / 19.67 MB Notification: Performance of SimCode: time 1.713e-06/0.01012, allocations: 0 / 33.29 MB, free: 0.5938 MB / 19.67 MB Notification: Performance of Templates: time 0.01226/0.02238, allocations: 1.802 MB / 35.09 MB, free: 7.805 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)