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.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.2.0/package.mo): time 0.002301/0.002301, allocations: 238.5 kB / 10.13 MB, free: 0.5547 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001175/0.003476, allocations: 0.4997 MB / 10.63 MB, free: 56 kB / 10.45 MB " [Timeout remaining time 180] Using package MessagePack with version 0.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.2.0/package.mo) Running command: translateModel(MessagePack.Examples.TestCreateAndReadFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="MessagePack_MessagePack.Examples.TestCreateAndReadFile") translateModel(MessagePack.Examples.TestCreateAndReadFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="MessagePack_MessagePack.Examples.TestCreateAndReadFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.156e-06/3.156e-06, allocations: 0 / 11.77 MB, free: 2.406 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.456e-05/1.771e-05, allocations: 6.25 kB / 11.78 MB, free: 2.398 MB / 13.93 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.001265/0.001283, allocations: 425.5 kB / 12.19 MB, free: 1.98 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0005776/0.001861, allocations: 354.3 kB / 12.54 MB, free: 1.633 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.917e-05/0.00188, allocations: 0 / 12.54 MB, free: 1.633 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 4.829e-06/0.001885, allocations: 0 / 12.54 MB, free: 1.633 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 4.769e-06/0.001889, allocations: 0 / 12.54 MB, free: 1.633 MB / 13.93 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.2.0/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.2.0/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.2.0/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.0003039/0.002193, allocations: 123.1 kB / 12.66 MB, free: 1.512 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 4.94e-05/0.002243, allocations: 384 / 12.66 MB, free: 1.512 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 4.83e-05/0.002291, allocations: 128 / 12.66 MB, free: 1.512 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 4.469e-05/0.002336, allocations: 7.984 kB / 12.67 MB, free: 1.504 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 3.226e-05/0.002368, allocations: 0 / 12.67 MB, free: 1.504 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 7.304e-06/0.002375, allocations: 0 / 12.67 MB, free: 1.504 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002756/0.002651, allocations: 143.6 kB / 12.81 MB, free: 1.363 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 1.548e-05/0.002666, allocations: 4.125 kB / 12.81 MB, free: 1.359 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 1.438e-05/0.002681, allocations: 128 / 12.81 MB, free: 1.359 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0002469/0.002928, allocations: 123.6 kB / 12.93 MB, free: 1.238 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 1.425e-05/0.002942, allocations: 0 / 12.93 MB, free: 1.238 MB / 13.93 MB Notification: Performance of FrontEnd: time 7.41e-07/0.002943, allocations: 0 / 12.93 MB, free: 1.238 MB / 13.93 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.002956, allocations: 0 / 12.93 MB, free: 1.238 MB / 13.93 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.0003555/0.003311, allocations: 286.2 kB / 13.21 MB, free: 0.9219 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.003356, allocations: 12.39 kB / 13.22 MB, free: 0.9102 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.796e-05/0.003404, allocations: 4.938 kB / 13.23 MB, free: 0.9062 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.799e-05/0.003492, allocations: 109.7 kB / 13.34 MB, free: 0.7734 MB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.003507, allocations: 8.375 kB / 13.34 MB, free: 0.7656 MB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.003519, allocations: 384 / 13.35 MB, free: 0.7656 MB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.003786, allocations: 34.25 kB / 13.38 MB, free: 0.7266 MB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.003796, allocations: 192 / 13.38 MB, free: 0.7266 MB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.003803, allocations: 4.312 kB / 13.38 MB, free: 0.7227 MB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.003812, allocations: 4.375 kB / 13.39 MB, free: 0.7188 MB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.593e-05/0.003828, allocations: 3.938 kB / 13.39 MB, free: 0.7148 MB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002716/0.0041, allocations: 283.5 kB / 13.67 MB, free: 432 kB / 13.93 MB Notification: Performance of preOpt comSubExp (simulation): time 8.571e-05/0.004185, allocations: 169.2 kB / 13.83 MB, free: 252 kB / 13.93 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.057e-05/0.004216, allocations: 80.14 kB / 13.91 MB, free: 168 kB / 13.93 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.004241, allocations: 83.22 kB / 13.99 MB, free: 84 kB / 13.93 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008324/0.01256, allocations: 109.8 kB / 14.1 MB, free: 2.258 MB / 13.93 MB Notification: Performance of pre-optimization done (n=0): time 1.423e-06/0.01257, allocations: 0 / 14.1 MB, free: 2.258 MB / 13.93 MB Notification: Performance of matching and sorting (n=0): time 8.138e-05/0.01265, allocations: 28.14 kB / 14.13 MB, free: 2.227 MB / 13.93 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.01268, allocations: 131.4 kB / 14.26 MB, free: 2.09 MB / 13.93 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.509e-05/0.01274, allocations: 97.12 kB / 14.35 MB, free: 1.984 MB / 13.93 MB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.01275, allocations: 26.2 kB / 14.38 MB, free: 1.953 MB / 13.93 MB Notification: Performance of collectInitialEqns (initialization): time 4.329e-05/0.0128, allocations: 86.17 kB / 14.46 MB, free: 1.871 MB / 13.93 MB Notification: Performance of collectInitialBindings (initialization): time 3.697e-06/0.0128, allocations: 0.5938 kB / 14.46 MB, free: 1.871 MB / 13.93 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.01283, allocations: 16.8 kB / 14.48 MB, free: 1.855 MB / 13.93 MB Notification: Performance of setup shared object (initialization): time 4.461e-05/0.01287, allocations: 314.6 kB / 14.78 MB, free: 1.543 MB / 13.93 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.202e-06/0.01288, allocations: 0.5312 kB / 14.79 MB, free: 1.543 MB / 13.93 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.805e-05/0.01291, allocations: 40.28 kB / 14.82 MB, free: 1.496 MB / 13.93 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.69e-05/0.01293, allocations: 8.578 kB / 14.83 MB, free: 1.488 MB / 13.93 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.01294, allocations: 1.031 kB / 14.83 MB, free: 1.488 MB / 13.93 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.529e-05/0.01301, allocations: 38.69 kB / 14.87 MB, free: 1.457 MB / 13.93 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.01303, allocations: 9.219 kB / 14.88 MB, free: 1.453 MB / 13.93 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.01304, allocations: 0.7188 kB / 14.88 MB, free: 1.453 MB / 13.93 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.01306, allocations: 2.625 kB / 14.88 MB, free: 1.453 MB / 13.93 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.268e-05/0.01312, allocations: 2.156 kB / 14.89 MB, free: 1.453 MB / 13.93 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.01312, allocations: 2.766 kB / 14.89 MB, free: 1.453 MB / 13.93 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.609e-05/0.01314, allocations: 1.406 kB / 14.89 MB, free: 1.453 MB / 13.93 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.01314, allocations: 0.5 kB / 14.89 MB, free: 1.453 MB / 13.93 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.424e-05/0.0132, allocations: 186.8 kB / 15.07 MB, free: 1.266 MB / 13.93 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/0.01323, allocations: 109.1 kB / 15.18 MB, free: 1.156 MB / 13.93 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.985e-05/0.01326, allocations: 116.8 kB / 15.29 MB, free: 1.047 MB / 13.93 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.809e-05/0.01328, allocations: 181.1 kB / 15.47 MB, free: 0.8672 MB / 13.93 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.881e-05/0.01331, allocations: 177.9 kB / 15.64 MB, free: 0.6875 MB / 13.93 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.458e-05/0.01334, allocations: 181.7 kB / 15.82 MB, free: 0.5078 MB / 13.93 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.01345, allocations: 315.3 kB / 16.13 MB, free: 184 kB / 13.93 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.416e-05/0.0135, allocations: 106.6 kB / 16.23 MB, free: 4.746 MB / 18.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.528e-05/0.01353, allocations: 105.6 kB / 16.34 MB, free: 4.641 MB / 18.6 MB Notification: Performance of postOpt removeConstants (simulation): time 5.152e-05/0.01358, allocations: 117.2 kB / 16.45 MB, free: 4.531 MB / 18.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-05/0.01364, allocations: 179.4 kB / 16.63 MB, free: 4.352 MB / 18.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.004e-05/0.0137, allocations: 183.5 kB / 16.81 MB, free: 4.172 MB / 18.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.738e-05/0.01376, allocations: 182.8 kB / 16.98 MB, free: 3.992 MB / 18.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.118e-05/0.01382, allocations: 181.9 kB / 17.16 MB, free: 3.812 MB / 18.6 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.01394, allocations: 308 kB / 17.46 MB, free: 3.504 MB / 18.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.431e-05/0.01401, allocations: 184.1 kB / 17.64 MB, free: 3.32 MB / 18.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.859e-05/0.01408, allocations: 104.3 kB / 17.74 MB, free: 3.215 MB / 18.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.391e-05/0.01414, allocations: 180.3 kB / 17.92 MB, free: 3.035 MB / 18.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.53e-05/0.01418, allocations: 108.8 kB / 18.03 MB, free: 2.93 MB / 18.6 MB Notification: Performance of sorting global known variables: time 1.407e-05/0.01419, allocations: 4.859 kB / 18.03 MB, free: 2.922 MB / 18.6 MB Notification: Performance of sort global known variables: time 9e-08/0.01419, allocations: 0 / 18.03 MB, free: 2.922 MB / 18.6 MB Notification: Performance of remove unused functions: time 0.0002957/0.01449, allocations: 48.67 kB / 18.08 MB, free: 2.922 MB / 18.6 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.001805/0.01629, allocations: 0.7795 MB / 18.86 MB, free: 2.363 MB / 18.6 MB Notification: Performance of simCode: created initialization part: time 7.899e-05/0.01637, allocations: 11.61 kB / 18.87 MB, free: 2.355 MB / 18.6 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.01638, allocations: 0 / 18.87 MB, free: 2.355 MB / 18.6 MB Notification: Performance of simCode: created simulation system equations: time 3.968e-06/0.01638, allocations: 0.75 kB / 18.87 MB, free: 2.355 MB / 18.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.01666, allocations: 479 kB / 19.34 MB, free: 1.898 MB / 18.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002194/0.01688, allocations: 153.7 kB / 19.49 MB, free: 1.719 MB / 18.6 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.344e-05/0.01693, allocations: 51.66 kB / 19.54 MB, free: 1.648 MB / 18.6 MB Notification: Performance of simCode: alias equations: time 2.647e-05/0.01695, allocations: 2.516 kB / 19.54 MB, free: 1.648 MB / 18.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.457e-05/0.017, allocations: 53.28 kB / 19.59 MB, free: 1.602 MB / 18.6 MB Notification: Performance of SimCode: time 7.92e-07/0.017, allocations: 0 / 19.59 MB, free: 1.602 MB / 18.6 MB Notification: Performance of Templates: time 0.007791/0.02479, allocations: 1.936 MB / 21.53 MB, free: 152 kB / 18.6 MB " [Timeout remaining time 660] make -j1 -f MessagePack_MessagePack.Examples.TestCreateAndReadFile.makefile [Timeout 660] (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=240 -lv LOG_STATS > MessagePack_MessagePack.Examples.TestCreateAndReadFile.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 1.4788774885237217]