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.01127/0.01127, allocations: 328.8 kB / 15.95 MB, free: 5.996 MB / 14.72 MB Notification: Performance of FrontEnd - loaded program: time 0.0003326/0.0003328, allocations: 14.38 kB / 23.98 MB, free: 5.051 MB / 14.72 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0001861/0.0005348, allocations: 92.55 kB / 24.07 MB, free: 5.012 MB / 14.72 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.001594/0.002136, allocations: 373.2 kB / 24.43 MB, free: 4.812 MB / 14.72 MB Notification: Performance of NFInst.instExpressions: time 0.000748/0.002897, allocations: 345 kB / 24.77 MB, free: 4.539 MB / 14.72 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.141e-05/0.00294, allocations: 0 / 24.77 MB, free: 4.539 MB / 14.72 MB Notification: Performance of NFTyping.typeComponents: time 1.649e-05/0.002999, allocations: 0 / 24.77 MB, free: 4.539 MB / 14.72 MB Notification: Performance of NFTyping.typeBindings: time 2.727e-05/0.003033, allocations: 4 kB / 24.77 MB, free: 4.535 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.0004982/0.003536, allocations: 113.8 kB / 24.88 MB, free: 4.441 MB / 14.72 MB Notification: Performance of NFFlatten.flatten: time 3.887e-05/0.003582, allocations: 2.438 kB / 24.89 MB, free: 4.441 MB / 14.72 MB Notification: Performance of NFFlatten.resolveConnections: time 4.848e-05/0.003636, allocations: 3.984 kB / 24.89 MB, free: 4.438 MB / 14.72 MB Notification: Performance of NFEvalConstants.evaluate: time 1.458e-05/0.003656, allocations: 3.938 kB / 24.89 MB, free: 4.434 MB / 14.72 MB Notification: Performance of NFSimplifyModel.simplify: time 1.667e-05/0.003677, allocations: 4 kB / 24.9 MB, free: 4.43 MB / 14.72 MB Notification: Performance of NFPackage.collectConstants: time 4.608e-06/0.003687, allocations: 0 / 24.9 MB, free: 4.43 MB / 14.72 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002431/0.003935, allocations: 140 kB / 25.03 MB, free: 4.324 MB / 14.72 MB Notification: Performance of NFScalarize.scalarize: time 7.344e-06/0.003949, allocations: 0 / 25.03 MB, free: 4.324 MB / 14.72 MB Notification: Performance of NFVerifyModel.verify: time 1.576e-05/0.003969, allocations: 3.984 kB / 25.04 MB, free: 4.32 MB / 14.72 MB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.004158, allocations: 120 kB / 25.16 MB, free: 4.227 MB / 14.72 MB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.004168, allocations: 4 kB / 25.16 MB, free: 4.223 MB / 14.72 MB Notification: Performance of FrontEnd: time 6.92e-07/0.004173, allocations: 0 / 25.16 MB, free: 4.223 MB / 14.72 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.004183, allocations: 0 / 25.16 MB, free: 4.223 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.0002856/0.004472, allocations: 379.2 kB / 25.53 MB, free: 3.797 MB / 14.72 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.004518, allocations: 12.33 kB / 25.54 MB, free: 3.785 MB / 14.72 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/0.004556, allocations: 1.094 kB / 25.54 MB, free: 3.785 MB / 14.72 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.549e-05/0.004615, allocations: 160.4 kB / 25.7 MB, free: 3.59 MB / 14.72 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.00463, allocations: 384 / 25.7 MB, free: 3.59 MB / 14.72 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.004646, allocations: 4.312 kB / 25.7 MB, free: 3.586 MB / 14.72 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.463e-05/0.004735, allocations: 41.62 kB / 25.74 MB, free: 3.543 MB / 14.72 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.004747, allocations: 192 / 25.75 MB, free: 3.543 MB / 14.72 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.004759, allocations: 3.938 kB / 25.75 MB, free: 3.539 MB / 14.72 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.004767, allocations: 0 / 25.75 MB, free: 3.539 MB / 14.72 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.747e-05/0.004789, allocations: 6.891 kB / 25.76 MB, free: 3.535 MB / 14.72 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002508/0.005044, allocations: 375.4 kB / 26.12 MB, free: 3.121 MB / 14.72 MB Notification: Performance of preOpt comSubExp (simulation): time 5.038e-05/0.005103, allocations: 173.1 kB / 26.29 MB, free: 2.941 MB / 14.72 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.757e-05/0.005126, allocations: 80.14 kB / 26.37 MB, free: 2.859 MB / 14.72 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.005149, allocations: 79.3 kB / 26.45 MB, free: 2.781 MB / 14.72 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.005178, allocations: 113.8 kB / 26.56 MB, free: 2.66 MB / 14.72 MB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.005184, allocations: 0 / 26.56 MB, free: 2.66 MB / 14.72 MB Notification: Performance of matching and sorting (n=0): time 6.666e-05/0.005254, allocations: 33.33 kB / 26.59 MB, free: 2.625 MB / 14.72 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.005294, allocations: 130.7 kB / 26.72 MB, free: 2.484 MB / 14.72 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.272e-05/0.005362, allocations: 94.02 kB / 26.81 MB, free: 2.383 MB / 14.72 MB Notification: Performance of collectPreVariables (initialization): time 7.525e-06/0.005376, allocations: 25.7 kB / 26.84 MB, free: 2.352 MB / 14.72 MB Notification: Performance of collectInitialEqns (initialization): time 3.057e-05/0.005411, allocations: 81.86 kB / 26.92 MB, free: 2.27 MB / 14.72 MB Notification: Performance of collectInitialBindings (initialization): time 2.394e-06/0.005417, allocations: 0 / 26.92 MB, free: 2.27 MB / 14.72 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.516e-05/0.005447, allocations: 18.19 kB / 26.93 MB, free: 2.25 MB / 14.72 MB Notification: Performance of setup shared object (initialization): time 5.263e-05/0.005504, allocations: 314.8 kB / 27.24 MB, free: 1.934 MB / 14.72 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.187e-06/0.005519, allocations: 4.125 kB / 27.24 MB, free: 1.93 MB / 14.72 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.621e-05/0.005539, allocations: 13.72 kB / 27.26 MB, free: 1.91 MB / 14.72 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.803e-05/0.005561, allocations: 8.797 kB / 27.27 MB, free: 1.898 MB / 14.72 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.005567, allocations: 0 / 27.27 MB, free: 1.898 MB / 14.72 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.569e-05/0.005667, allocations: 37.14 kB / 27.3 MB, free: 1.859 MB / 14.72 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.005685, allocations: 8 kB / 27.31 MB, free: 1.852 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.005695, allocations: 0 / 27.31 MB, free: 1.852 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.005713, allocations: 4.062 kB / 27.31 MB, free: 1.848 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.232e-05/0.00577, allocations: 4 kB / 27.32 MB, free: 1.844 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.005781, allocations: 6.172 kB / 27.32 MB, free: 1.84 MB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.525e-05/0.005801, allocations: 8 kB / 27.33 MB, free: 1.832 MB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-06/0.00581, allocations: 0 / 27.33 MB, free: 1.832 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.444e-05/0.005869, allocations: 185.6 kB / 27.51 MB, free: 1.641 MB / 14.72 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.126e-05/0.005915, allocations: 104.9 kB / 27.62 MB, free: 1.531 MB / 14.72 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.437e-05/0.005944, allocations: 108.5 kB / 27.72 MB, free: 1.414 MB / 14.72 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.944e-05/0.005979, allocations: 186.6 kB / 27.9 MB, free: 1.227 MB / 14.72 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.338e-05/0.006018, allocations: 184.2 kB / 28.08 MB, free: 1.039 MB / 14.72 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.566e-05/0.006048, allocations: 176.3 kB / 28.26 MB, free: 0.8594 MB / 14.72 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.006202, allocations: 407.8 kB / 28.65 MB, free: 416 kB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.939e-05/0.006227, allocations: 105 kB / 28.76 MB, free: 304 kB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.907e-05/0.006251, allocations: 108.9 kB / 28.86 MB, free: 188 kB / 14.72 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.621e-05/0.006281, allocations: 176.3 kB / 29.04 MB, free: 4 kB / 14.72 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005903/0.01219, allocations: 184.6 kB / 29.22 MB, free: 4.297 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.441e-05/0.01223, allocations: 179.1 kB / 29.39 MB, free: 4.117 MB / 14.72 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-05/0.01226, allocations: 179.1 kB / 29.57 MB, free: 3.938 MB / 14.72 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.769e-05/0.01233, allocations: 313.2 kB / 29.87 MB, free: 3.629 MB / 14.72 MB Notification: Performance of postOpt removeConstants (simulation): time 2.864e-05/0.01236, allocations: 182.5 kB / 30.05 MB, free: 3.43 MB / 14.72 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.106e-05/0.0124, allocations: 183 kB / 30.23 MB, free: 3.25 MB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.909e-05/0.01245, allocations: 105.1 kB / 30.33 MB, free: 3.145 MB / 14.72 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.011e-05/0.01249, allocations: 178.7 kB / 30.51 MB, free: 2.965 MB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.01251, allocations: 110.9 kB / 30.61 MB, free: 2.859 MB / 14.72 MB Notification: Performance of sorting global known variables: time 2.439e-05/0.01254, allocations: 76.75 kB / 30.69 MB, free: 2.785 MB / 14.72 MB Notification: Performance of sort global known variables: time 1.11e-07/0.01254, allocations: 0 / 30.69 MB, free: 2.785 MB / 14.72 MB Notification: Performance of remove unused functions: time 0.0003152/0.01286, allocations: 46.8 kB / 30.73 MB, free: 2.785 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.0008762/0.01375, allocations: 0.5657 MB / 31.3 MB, free: 2.395 MB / 14.72 MB Notification: Performance of simCode: created initialization part: time 8.054e-05/0.01384, allocations: 3.203 kB / 31.3 MB, free: 2.395 MB / 14.72 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01385, allocations: 0 / 31.3 MB, free: 2.395 MB / 14.72 MB Notification: Performance of simCode: created simulation system equations: time 2.144e-06/0.01385, allocations: 0 / 31.3 MB, free: 2.395 MB / 14.72 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.0141, allocations: 465.5 kB / 31.76 MB, free: 1.949 MB / 14.72 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001749/0.01428, allocations: 152.1 kB / 31.91 MB, free: 1.777 MB / 14.72 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.777e-05/0.01439, allocations: 0.6744 MB / 32.58 MB, free: 1.082 MB / 14.72 MB Notification: Performance of simCode: alias equations: time 1.773e-05/0.01441, allocations: 0 / 32.58 MB, free: 1.082 MB / 14.72 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.013e-05/0.01443, allocations: 7.438 kB / 32.59 MB, free: 1.074 MB / 14.72 MB Notification: Performance of SimCode: time 3.21e-07/0.01443, allocations: 0 / 32.59 MB, free: 1.074 MB / 14.72 MB Notification: Performance of Templates: time 0.003809/0.01825, allocations: 1.654 MB / 34.24 MB, free: 4.895 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)