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.01274/0.01274, allocations: 331.5 kB / 15.96 MB, free: 6 MB / 14.72 MB Notification: Performance of FrontEnd - loaded program: time 0.0004677/0.0004675, allocations: 14.5 kB / 23.97 MB, free: 5.035 MB / 14.72 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0002972/0.0007852, allocations: 105 kB / 24.08 MB, free: 4.992 MB / 14.72 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.001881/0.002677, allocations: 364.6 kB / 24.43 MB, free: 4.801 MB / 14.72 MB Notification: Performance of NFInst.instExpressions: time 0.0008462/0.003539, allocations: 349.2 kB / 24.77 MB, free: 4.523 MB / 14.72 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.099e-05/0.003585, allocations: 0 / 24.77 MB, free: 4.523 MB / 14.72 MB Notification: Performance of NFTyping.typeComponents: time 1.438e-05/0.003641, allocations: 0 / 24.77 MB, free: 4.523 MB / 14.72 MB Notification: Performance of NFTyping.typeBindings: time 3.067e-05/0.003679, allocations: 4 kB / 24.78 MB, free: 4.52 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.0006042/0.004291, allocations: 114.7 kB / 24.89 MB, free: 4.43 MB / 14.72 MB Notification: Performance of NFFlatten.flatten: time 4.474e-05/0.004347, allocations: 4 kB / 24.89 MB, free: 4.426 MB / 14.72 MB Notification: Performance of NFFlatten.resolveConnections: time 5.591e-05/0.004411, allocations: 3.984 kB / 24.9 MB, free: 4.422 MB / 14.72 MB Notification: Performance of NFEvalConstants.evaluate: time 1.627e-05/0.004436, allocations: 3.938 kB / 24.9 MB, free: 4.418 MB / 14.72 MB Notification: Performance of NFSimplifyModel.simplify: time 2.027e-05/0.004464, allocations: 0 / 24.9 MB, free: 4.418 MB / 14.72 MB Notification: Performance of NFPackage.collectConstants: time 5.521e-06/0.004477, allocations: 0 / 24.9 MB, free: 4.418 MB / 14.72 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003213/0.004805, allocations: 137.4 kB / 25.04 MB, free: 4.316 MB / 14.72 MB Notification: Performance of NFScalarize.scalarize: time 9.417e-06/0.004826, allocations: 0 / 25.04 MB, free: 4.316 MB / 14.72 MB Notification: Performance of NFVerifyModel.verify: time 2.023e-05/0.004853, allocations: 7.984 kB / 25.04 MB, free: 4.309 MB / 14.72 MB Notification: Performance of NFConvertDAE.convert: time 0.0002745/0.005137, allocations: 123.7 kB / 25.16 MB, free: 4.211 MB / 14.72 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.005152, allocations: 4 kB / 25.17 MB, free: 4.207 MB / 14.72 MB Notification: Performance of FrontEnd: time 1.222e-06/0.005161, allocations: 0 / 25.17 MB, free: 4.207 MB / 14.72 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.005174, allocations: 0 / 25.17 MB, free: 4.207 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.000322/0.005503, allocations: 383.3 kB / 25.54 MB, free: 3.777 MB / 14.72 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.005558, allocations: 8.328 kB / 25.55 MB, free: 3.77 MB / 14.72 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.352e-05/0.005609, allocations: 1.109 kB / 25.55 MB, free: 3.77 MB / 14.72 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.177e-05/0.005689, allocations: 168.3 kB / 25.72 MB, free: 3.566 MB / 14.72 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.005713, allocations: 384 / 25.72 MB, free: 3.566 MB / 14.72 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.268e-06/0.005729, allocations: 384 / 25.72 MB, free: 3.566 MB / 14.72 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.005847, allocations: 30.27 kB / 25.75 MB, free: 3.531 MB / 14.72 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.005866, allocations: 192 / 25.75 MB, free: 3.531 MB / 14.72 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.005886, allocations: 11.38 kB / 25.76 MB, free: 3.523 MB / 14.72 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.005898, allocations: 0 / 25.76 MB, free: 3.523 MB / 14.72 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.434e-05/0.005929, allocations: 7.875 kB / 25.76 MB, free: 3.52 MB / 14.72 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003116/0.006248, allocations: 379.1 kB / 26.14 MB, free: 3.102 MB / 14.72 MB Notification: Performance of preOpt comSubExp (simulation): time 5.247e-05/0.006314, allocations: 173.1 kB / 26.3 MB, free: 2.922 MB / 14.72 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.773e-05/0.006342, allocations: 80.14 kB / 26.38 MB, free: 2.84 MB / 14.72 MB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.006361, allocations: 75.28 kB / 26.46 MB, free: 2.766 MB / 14.72 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.006392, allocations: 109.8 kB / 26.56 MB, free: 2.648 MB / 14.72 MB Notification: Performance of pre-optimization done (n=0): time 1.353e-06/0.006401, allocations: 0 / 26.56 MB, free: 2.648 MB / 14.72 MB Notification: Performance of matching and sorting (n=0): time 8.981e-05/0.006497, allocations: 37.28 kB / 26.6 MB, free: 2.609 MB / 14.72 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.006541, allocations: 134.7 kB / 26.73 MB, free: 2.465 MB / 14.72 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.525e-05/0.006614, allocations: 93.97 kB / 26.82 MB, free: 2.363 MB / 14.72 MB Notification: Performance of collectPreVariables (initialization): time 8.175e-06/0.006632, allocations: 25.7 kB / 26.85 MB, free: 2.332 MB / 14.72 MB Notification: Performance of collectInitialEqns (initialization): time 3.193e-05/0.006672, allocations: 86.03 kB / 26.93 MB, free: 2.246 MB / 14.72 MB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.006682, allocations: 0 / 26.93 MB, free: 2.246 MB / 14.72 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.006723, allocations: 13.39 kB / 26.95 MB, free: 2.23 MB / 14.72 MB Notification: Performance of setup shared object (initialization): time 5.467e-05/0.006786, allocations: 310.8 kB / 27.25 MB, free: 1.918 MB / 14.72 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.098e-05/0.006806, allocations: 8.125 kB / 27.26 MB, free: 1.91 MB / 14.72 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.118e-05/0.006835, allocations: 9.719 kB / 27.27 MB, free: 1.895 MB / 14.72 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.671e-05/0.006869, allocations: 16.78 kB / 27.28 MB, free: 1.875 MB / 14.72 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.006879, allocations: 0 / 27.28 MB, free: 1.875 MB / 14.72 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001062/0.006991, allocations: 37.19 kB / 27.32 MB, free: 1.836 MB / 14.72 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.007016, allocations: 4 kB / 27.32 MB, free: 1.832 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.00703, allocations: 0 / 27.32 MB, free: 1.832 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.00706, allocations: 8.062 kB / 27.33 MB, free: 1.824 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.671e-05/0.007126, allocations: 8 kB / 27.34 MB, free: 1.816 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.007139, allocations: 0 / 27.34 MB, free: 1.816 MB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.698e-05/0.007163, allocations: 352 / 27.34 MB, free: 1.816 MB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.007176, allocations: 0 / 27.34 MB, free: 1.816 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.645e-05/0.007239, allocations: 189.6 kB / 27.52 MB, free: 1.621 MB / 14.72 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.267e-05/0.007299, allocations: 109.1 kB / 27.63 MB, free: 1.508 MB / 14.72 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.509e-05/0.007333, allocations: 108.4 kB / 27.74 MB, free: 1.391 MB / 14.72 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.644e-05/0.007368, allocations: 191.6 kB / 27.92 MB, free: 1.199 MB / 14.72 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.834e-05/0.007404, allocations: 176.3 kB / 28.1 MB, free: 1.02 MB / 14.72 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.459e-05/0.007437, allocations: 176.3 kB / 28.27 MB, free: 0.8398 MB / 14.72 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.007625, allocations: 405.1 kB / 28.66 MB, free: 396 kB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.543e-05/0.00766, allocations: 108.4 kB / 28.77 MB, free: 284 kB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.034e-05/0.007688, allocations: 108.9 kB / 28.88 MB, free: 168 kB / 14.72 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007281/0.01498, allocations: 176.9 kB / 29.05 MB, free: 4.352 MB / 14.72 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/0.01503, allocations: 180.9 kB / 29.22 MB, free: 4.172 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.591e-05/0.01507, allocations: 181.2 kB / 29.4 MB, free: 3.992 MB / 14.72 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.502e-05/0.0151, allocations: 181 kB / 29.58 MB, free: 3.812 MB / 14.72 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.814e-05/0.01519, allocations: 314.5 kB / 29.89 MB, free: 3.504 MB / 14.72 MB Notification: Performance of postOpt removeConstants (simulation): time 3.36e-05/0.01523, allocations: 183.8 kB / 30.07 MB, free: 3.305 MB / 14.72 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.78e-05/0.01528, allocations: 183.9 kB / 30.24 MB, free: 3.125 MB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.118e-05/0.01537, allocations: 102.3 kB / 30.34 MB, free: 3.02 MB / 14.72 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.01542, allocations: 182.2 kB / 30.52 MB, free: 2.84 MB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.01544, allocations: 106.8 kB / 30.63 MB, free: 2.734 MB / 14.72 MB Notification: Performance of sorting global known variables: time 2.875e-05/0.01548, allocations: 76.19 kB / 30.7 MB, free: 2.66 MB / 14.72 MB Notification: Performance of sort global known variables: time 1.6e-07/0.01548, allocations: 0 / 30.7 MB, free: 2.66 MB / 14.72 MB Notification: Performance of remove unused functions: time 0.0004997/0.01599, allocations: 50.92 kB / 30.75 MB, free: 2.66 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.001568/0.01757, allocations: 0.5602 MB / 31.31 MB, free: 2.27 MB / 14.72 MB Notification: Performance of simCode: created initialization part: time 8.329e-05/0.01767, allocations: 8.828 kB / 31.32 MB, free: 2.27 MB / 14.72 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.01768, allocations: 1.406 kB / 31.32 MB, free: 2.27 MB / 14.72 MB Notification: Performance of simCode: created simulation system equations: time 3.997e-06/0.01769, allocations: 6.781 kB / 31.33 MB, free: 2.27 MB / 14.72 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.01808, allocations: 456.9 kB / 31.77 MB, free: 1.824 MB / 14.72 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001795/0.01827, allocations: 147.2 kB / 31.92 MB, free: 1.648 MB / 14.72 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.878e-05/0.01838, allocations: 0.6732 MB / 32.59 MB, free: 0.9531 MB / 14.72 MB Notification: Performance of simCode: alias equations: time 1.624e-05/0.01841, allocations: 1.406 kB / 32.59 MB, free: 0.9531 MB / 14.72 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.169e-05/0.01843, allocations: 7.438 kB / 32.6 MB, free: 0.9453 MB / 14.72 MB Notification: Performance of SimCode: time 3.71e-07/0.01844, allocations: 0 / 32.6 MB, free: 0.9453 MB / 14.72 MB Notification: Performance of Templates: time 0.005108/0.02356, allocations: 1.658 MB / 34.26 MB, free: 4.77 MB / 19.63 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)