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.004206/0.004206, allocations: 337.7 kB / 16.59 MB, free: 6.352 MB / 14.72 MB Notification: Performance of FrontEnd - loaded program: time 0.000345/0.000345, allocations: 17.92 kB / 24.15 MB, free: 5.367 MB / 14.72 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0001797/0.0005403, allocations: 92.59 kB / 24.24 MB, free: 5.316 MB / 14.72 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.001205/0.001751, allocations: 364.3 kB / 24.59 MB, free: 5.094 MB / 14.72 MB Notification: Performance of NFInst.instExpressions: time 0.0006204/0.002383, allocations: 354.2 kB / 24.94 MB, free: 4.812 MB / 14.72 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.438e-05/0.002418, allocations: 4 kB / 24.94 MB, free: 4.809 MB / 14.72 MB Notification: Performance of NFTyping.typeComponents: time 1.533e-05/0.002447, allocations: 0 / 24.94 MB, free: 4.809 MB / 14.72 MB Notification: Performance of NFTyping.typeBindings: time 3.739e-05/0.002491, allocations: 0 / 24.94 MB, free: 4.809 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.00042/0.002916, allocations: 124 kB / 25.06 MB, free: 4.707 MB / 14.72 MB Notification: Performance of NFFlatten.flatten: time 4.33e-05/0.002966, allocations: 3.5 kB / 25.07 MB, free: 4.707 MB / 14.72 MB Notification: Performance of NFFlatten.resolveConnections: time 5.719e-05/0.003028, allocations: 0 / 25.07 MB, free: 4.707 MB / 14.72 MB Notification: Performance of NFEvalConstants.evaluate: time 1.874e-05/0.003053, allocations: 0 / 25.07 MB, free: 4.707 MB / 14.72 MB Notification: Performance of NFSimplifyModel.simplify: time 2.114e-05/0.003078, allocations: 2.516 kB / 25.07 MB, free: 4.707 MB / 14.72 MB Notification: Performance of NFPackage.collectConstants: time 6.092e-06/0.003088, allocations: 0 / 25.07 MB, free: 4.707 MB / 14.72 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002166/0.00331, allocations: 138.1 kB / 25.21 MB, free: 4.602 MB / 14.72 MB Notification: Performance of NFScalarize.scalarize: time 8.566e-06/0.003327, allocations: 4 kB / 25.21 MB, free: 4.598 MB / 14.72 MB Notification: Performance of NFVerifyModel.verify: time 1.583e-05/0.003348, allocations: 0 / 25.21 MB, free: 4.598 MB / 14.72 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.003555, allocations: 126.9 kB / 25.33 MB, free: 4.496 MB / 14.72 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.003566, allocations: 0 / 25.33 MB, free: 4.496 MB / 14.72 MB Notification: Performance of FrontEnd: time 1.313e-06/0.003572, allocations: 0 / 25.33 MB, free: 4.496 MB / 14.72 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.003583, allocations: 0 / 25.33 MB, free: 4.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.0003672/0.003955, allocations: 380.3 kB / 25.7 MB, free: 4.07 MB / 14.72 MB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.004013, allocations: 12.33 kB / 25.72 MB, free: 4.059 MB / 14.72 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.465e-05/0.004063, allocations: 1.094 kB / 25.72 MB, free: 4.059 MB / 14.72 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.925e-05/0.004157, allocations: 164.4 kB / 25.88 MB, free: 3.859 MB / 14.72 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.004172, allocations: 4.375 kB / 25.88 MB, free: 3.855 MB / 14.72 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.00419, allocations: 384 / 25.88 MB, free: 3.855 MB / 14.72 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.959e-05/0.004294, allocations: 36.58 kB / 25.92 MB, free: 3.816 MB / 14.72 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.004308, allocations: 192 / 25.92 MB, free: 3.816 MB / 14.72 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.004322, allocations: 3.938 kB / 25.92 MB, free: 3.812 MB / 14.72 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.004332, allocations: 0 / 25.92 MB, free: 3.812 MB / 14.72 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.163e-05/0.004357, allocations: 3.938 kB / 25.93 MB, free: 3.809 MB / 14.72 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002927/0.004654, allocations: 382.7 kB / 26.3 MB, free: 3.387 MB / 14.72 MB Notification: Performance of preOpt comSubExp (simulation): time 5.168e-05/0.004716, allocations: 172.3 kB / 26.47 MB, free: 3.211 MB / 14.72 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.19e-05/0.004743, allocations: 80.14 kB / 26.55 MB, free: 3.129 MB / 14.72 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.004766, allocations: 75.28 kB / 26.62 MB, free: 3.055 MB / 14.72 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.004797, allocations: 113.8 kB / 26.73 MB, free: 2.934 MB / 14.72 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.004803, allocations: 4 kB / 26.74 MB, free: 2.93 MB / 14.72 MB Notification: Performance of matching and sorting (n=0): time 6.496e-05/0.004872, allocations: 25.86 kB / 26.76 MB, free: 2.898 MB / 14.72 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.00491, allocations: 126.7 kB / 26.88 MB, free: 2.762 MB / 14.72 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.323e-05/0.004978, allocations: 97.19 kB / 26.98 MB, free: 2.66 MB / 14.72 MB Notification: Performance of collectPreVariables (initialization): time 6.352e-06/0.004991, allocations: 29.7 kB / 27.01 MB, free: 2.625 MB / 14.72 MB Notification: Performance of collectInitialEqns (initialization): time 2.777e-05/0.005023, allocations: 81.86 kB / 27.09 MB, free: 2.543 MB / 14.72 MB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.00503, allocations: 0 / 27.09 MB, free: 2.543 MB / 14.72 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.306e-05/0.005057, allocations: 10.81 kB / 27.1 MB, free: 2.527 MB / 14.72 MB Notification: Performance of setup shared object (initialization): time 5.307e-05/0.005117, allocations: 319 kB / 27.41 MB, free: 2.207 MB / 14.72 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.867e-06/0.005131, allocations: 4 kB / 27.41 MB, free: 2.203 MB / 14.72 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.773e-05/0.005153, allocations: 12.84 kB / 27.43 MB, free: 2.188 MB / 14.72 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.926e-05/0.005177, allocations: 12.8 kB / 27.44 MB, free: 2.172 MB / 14.72 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.005184, allocations: 0 / 27.44 MB, free: 2.172 MB / 14.72 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.748e-05/0.005275, allocations: 39.25 kB / 27.48 MB, free: 2.129 MB / 14.72 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.005296, allocations: 12.12 kB / 27.49 MB, free: 2.117 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.005305, allocations: 0 / 27.49 MB, free: 2.117 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.005326, allocations: 0 / 27.49 MB, free: 2.117 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.57e-05/0.005375, allocations: 0 / 27.49 MB, free: 2.117 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.84e-06/0.005385, allocations: 0 / 27.49 MB, free: 2.117 MB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.255e-05/0.005401, allocations: 0 / 27.49 MB, free: 2.117 MB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-06/0.00541, allocations: 4 kB / 27.49 MB, free: 2.113 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.433e-05/0.005468, allocations: 188.7 kB / 27.68 MB, free: 1.922 MB / 14.72 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.979e-05/0.005513, allocations: 108.9 kB / 27.78 MB, free: 1.809 MB / 14.72 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.254e-05/0.005551, allocations: 116.4 kB / 27.9 MB, free: 1.684 MB / 14.72 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.75e-05/0.005594, allocations: 180.2 kB / 28.07 MB, free: 1.5 MB / 14.72 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.974e-05/0.005638, allocations: 176.8 kB / 28.25 MB, free: 1.32 MB / 14.72 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.881e-05/0.005682, allocations: 182.1 kB / 28.42 MB, free: 1.137 MB / 14.72 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.005857, allocations: 411.9 kB / 28.83 MB, free: 0.6797 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.679e-05/0.005894, allocations: 105 kB / 28.93 MB, free: 0.5703 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.822e-05/0.005928, allocations: 108.9 kB / 29.04 MB, free: 468 kB / 14.72 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.419e-05/0.005969, allocations: 176.3 kB / 29.21 MB, free: 284 kB / 14.72 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.981e-05/0.006014, allocations: 180.8 kB / 29.38 MB, free: 96 kB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005864/0.01188, allocations: 184.5 kB / 29.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-05/0.01192, allocations: 176.8 kB / 29.74 MB, free: 4.426 MB / 14.72 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.312e-05/0.012, allocations: 318.2 kB / 30.05 MB, free: 4.117 MB / 14.72 MB Notification: Performance of postOpt removeConstants (simulation): time 3.467e-05/0.01204, allocations: 182.2 kB / 30.23 MB, free: 3.918 MB / 14.72 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/0.01209, allocations: 185.2 kB / 30.41 MB, free: 3.738 MB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.325e-05/0.01214, allocations: 105.5 kB / 30.51 MB, free: 3.633 MB / 14.72 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.01219, allocations: 184.1 kB / 30.69 MB, free: 3.453 MB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.01221, allocations: 105.4 kB / 30.79 MB, free: 3.348 MB / 14.72 MB Notification: Performance of sorting global known variables: time 2.573e-05/0.01224, allocations: 75.78 kB / 30.87 MB, free: 3.273 MB / 14.72 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01225, allocations: 0 / 30.87 MB, free: 3.273 MB / 14.72 MB Notification: Performance of remove unused functions: time 0.0002782/0.01253, allocations: 42.92 kB / 30.91 MB, free: 3.273 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.001391/0.01393, allocations: 0.5575 MB / 31.47 MB, free: 2.895 MB / 14.72 MB Notification: Performance of simCode: created initialization part: time 8.511e-05/0.01402, allocations: 4.062 kB / 31.47 MB, free: 2.895 MB / 14.72 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.01404, allocations: 0 / 31.47 MB, free: 2.895 MB / 14.72 MB Notification: Performance of simCode: created simulation system equations: time 3.617e-06/0.01404, allocations: 2.344 kB / 31.47 MB, free: 2.895 MB / 14.72 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.01438, allocations: 461.1 kB / 31.92 MB, free: 2.449 MB / 14.72 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000165/0.01455, allocations: 156.1 kB / 32.07 MB, free: 2.277 MB / 14.72 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.01468, allocations: 0.6699 MB / 32.74 MB, free: 1.582 MB / 14.72 MB Notification: Performance of simCode: alias equations: time 2.046e-05/0.0147, allocations: 1.5 kB / 32.75 MB, free: 1.582 MB / 14.72 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.062e-05/0.01472, allocations: 7.953 kB / 32.75 MB, free: 1.574 MB / 14.72 MB Notification: Performance of SimCode: time 2.2e-07/0.01472, allocations: 0.5469 kB / 32.75 MB, free: 1.574 MB / 14.72 MB Notification: Performance of Templates: time 0.004023/0.01875, allocations: 1.665 MB / 34.42 MB, free: 492 kB / 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 -s cvode -lv LOG_STATS > MessagePack_MessagePack.Examples.TestCreateAndReadFile.pipe 2>&1)