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.00528/0.00528, allocations: 230.7 kB / 10.06 MB, free: 0.6289 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001047/0.006327, allocations: 0.5034 MB / 10.56 MB, free: 128 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 2.073e-06/2.073e-06, allocations: 0 / 11.66 MB, free: 2.512 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.829e-05/2.036e-05, allocations: 2.312 kB / 11.67 MB, free: 2.508 MB / 13.93 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.001681/0.001702, allocations: 429.4 kB / 12.08 MB, free: 2.086 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0005665/0.002268, allocations: 346.4 kB / 12.42 MB, free: 1.746 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.569e-05/0.002284, allocations: 0 / 12.42 MB, free: 1.746 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 4.528e-06/0.002289, allocations: 0 / 12.42 MB, free: 1.746 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 5.39e-06/0.002294, allocations: 0 / 12.42 MB, free: 1.746 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.000378/0.002672, allocations: 111.3 kB / 12.53 MB, free: 1.637 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 4.433e-05/0.002716, allocations: 384 / 12.53 MB, free: 1.637 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 4.143e-05/0.002758, allocations: 8.047 kB / 12.54 MB, free: 1.629 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 3.234e-05/0.00279, allocations: 7.984 kB / 12.55 MB, free: 1.621 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 2.149e-05/0.002812, allocations: 0 / 12.55 MB, free: 1.621 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 6.522e-06/0.002818, allocations: 0 / 12.55 MB, free: 1.621 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002701/0.003088, allocations: 131.7 kB / 12.68 MB, free: 1.492 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 8.045e-06/0.003096, allocations: 7.938 kB / 12.68 MB, free: 1.484 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 1.072e-05/0.003107, allocations: 4.125 kB / 12.69 MB, free: 1.48 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.000335/0.003442, allocations: 119.6 kB / 12.81 MB, free: 1.363 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 3.364e-05/0.003476, allocations: 0 / 12.81 MB, free: 1.363 MB / 13.93 MB Notification: Performance of FrontEnd: time 1.493e-06/0.003477, allocations: 0 / 12.81 MB, free: 1.363 MB / 13.93 MB Notification: Performance of Transformations before backend: time 3.823e-05/0.003515, allocations: 0 / 12.81 MB, free: 1.363 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.0006589/0.004174, allocations: 290.2 kB / 13.09 MB, free: 1.043 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 7.049e-05/0.004245, allocations: 12.39 kB / 13.1 MB, free: 1.031 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.207e-05/0.004327, allocations: 4.922 kB / 13.11 MB, free: 1.027 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.004475, allocations: 109.7 kB / 13.21 MB, free: 0.8945 MB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.222e-05/0.004507, allocations: 4.375 kB / 13.22 MB, free: 0.8906 MB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.004528, allocations: 12.38 kB / 13.23 MB, free: 0.8789 MB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.004649, allocations: 26.27 kB / 13.25 MB, free: 0.8477 MB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.004658, allocations: 192 / 13.25 MB, free: 0.8477 MB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.004665, allocations: 384 / 13.26 MB, free: 0.8477 MB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.004671, allocations: 384 / 13.26 MB, free: 0.8477 MB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.944e-05/0.004701, allocations: 11.92 kB / 13.27 MB, free: 0.8359 MB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004324/0.005133, allocations: 283.6 kB / 13.54 MB, free: 0.543 MB / 13.93 MB Notification: Performance of preOpt comSubExp (simulation): time 8.254e-05/0.005216, allocations: 173.1 kB / 13.71 MB, free: 372 kB / 13.93 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.138e-05/0.005247, allocations: 80.14 kB / 13.79 MB, free: 288 kB / 13.93 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.005271, allocations: 79.28 kB / 13.87 MB, free: 208 kB / 13.93 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.456e-05/0.005316, allocations: 113.8 kB / 13.98 MB, free: 84 kB / 13.93 MB Notification: Performance of pre-optimization done (n=0): time 1.463e-06/0.005317, allocations: 0 / 13.98 MB, free: 84 kB / 13.93 MB Notification: Performance of matching and sorting (n=0): time 6.15e-05/0.005379, allocations: 25.7 kB / 14.01 MB, free: 52 kB / 13.93 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005793/0.01117, allocations: 135.1 kB / 14.14 MB, free: 2.297 MB / 13.93 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.554e-05/0.01123, allocations: 99.28 kB / 14.23 MB, free: 2.191 MB / 13.93 MB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/0.01124, allocations: 26.2 kB / 14.26 MB, free: 2.16 MB / 13.93 MB Notification: Performance of collectInitialEqns (initialization): time 2.917e-05/0.01126, allocations: 83.62 kB / 14.34 MB, free: 2.078 MB / 13.93 MB Notification: Performance of collectInitialBindings (initialization): time 5.501e-06/0.01127, allocations: 0 / 14.34 MB, free: 2.078 MB / 13.93 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.721e-05/0.0113, allocations: 17.19 kB / 14.36 MB, free: 2.062 MB / 13.93 MB Notification: Performance of setup shared object (initialization): time 2.94e-05/0.01133, allocations: 315 kB / 14.67 MB, free: 1.75 MB / 13.93 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.751e-06/0.01133, allocations: 1.062 kB / 14.67 MB, free: 1.75 MB / 13.93 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.533e-05/0.01136, allocations: 38.11 kB / 14.7 MB, free: 1.703 MB / 13.93 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.306e-05/0.01138, allocations: 9.047 kB / 14.71 MB, free: 1.695 MB / 13.93 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.01138, allocations: 0 / 14.71 MB, free: 1.695 MB / 13.93 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.729e-05/0.01146, allocations: 35.38 kB / 14.75 MB, free: 1.664 MB / 13.93 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.01148, allocations: 13.41 kB / 14.76 MB, free: 1.66 MB / 13.93 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.01148, allocations: 1.312 kB / 14.76 MB, free: 1.66 MB / 13.93 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.01149, allocations: 4.312 kB / 14.77 MB, free: 1.66 MB / 13.93 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.966e-05/0.01154, allocations: 2.062 kB / 14.77 MB, free: 1.66 MB / 13.93 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.01155, allocations: 0.5 kB / 14.77 MB, free: 1.66 MB / 13.93 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.511e-05/0.01156, allocations: 4.781 kB / 14.77 MB, free: 1.66 MB / 13.93 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.01156, allocations: 0.5312 kB / 14.77 MB, free: 1.66 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 4.349e-05/0.01161, allocations: 186.5 kB / 14.96 MB, free: 1.473 MB / 13.93 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-05/0.01164, allocations: 102.6 kB / 15.06 MB, free: 1.367 MB / 13.93 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.01167, allocations: 108.5 kB / 15.16 MB, free: 1.254 MB / 13.93 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/0.01168, allocations: 187 kB / 15.34 MB, free: 1.07 MB / 13.93 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.637e-05/0.0117, allocations: 179.8 kB / 15.52 MB, free: 0.8906 MB / 13.93 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.907e-05/0.01172, allocations: 183.2 kB / 15.7 MB, free: 0.7109 MB / 13.93 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.01182, allocations: 316.3 kB / 16.01 MB, free: 392 kB / 13.93 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.01183, allocations: 103.8 kB / 16.11 MB, free: 284 kB / 13.93 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.084e-05/0.01185, allocations: 108 kB / 16.21 MB, free: 176 kB / 13.93 MB Notification: Performance of postOpt removeConstants (simulation): time 5.231e-05/0.0119, allocations: 110.9 kB / 16.32 MB, free: 4.75 MB / 18.61 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.858e-05/0.01196, allocations: 187.6 kB / 16.51 MB, free: 4.57 MB / 18.61 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.557e-05/0.012, allocations: 177 kB / 16.68 MB, free: 4.391 MB / 18.61 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-05/0.01206, allocations: 180.7 kB / 16.86 MB, free: 4.207 MB / 18.61 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.707e-05/0.01211, allocations: 187.5 kB / 17.04 MB, free: 4.027 MB / 18.61 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.01224, allocations: 302.5 kB / 17.33 MB, free: 3.719 MB / 18.61 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.493e-05/0.01229, allocations: 185.2 kB / 17.51 MB, free: 3.539 MB / 18.61 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.231e-05/0.01236, allocations: 103 kB / 17.62 MB, free: 3.434 MB / 18.61 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.022e-05/0.01241, allocations: 188.5 kB / 17.8 MB, free: 3.25 MB / 18.61 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.807e-05/0.01244, allocations: 107 kB / 17.9 MB, free: 3.145 MB / 18.61 MB Notification: Performance of sorting global known variables: time 9.478e-06/0.01245, allocations: 5.484 kB / 17.91 MB, free: 3.137 MB / 18.61 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01245, allocations: 0 / 17.91 MB, free: 3.137 MB / 18.61 MB Notification: Performance of remove unused functions: time 0.0002711/0.01272, allocations: 40.88 kB / 17.95 MB, free: 3.137 MB / 18.61 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.001789/0.01451, allocations: 0.7727 MB / 18.72 MB, free: 2.582 MB / 18.61 MB Notification: Performance of simCode: created initialization part: time 6.213e-05/0.01457, allocations: 11.95 kB / 18.73 MB, free: 2.574 MB / 18.61 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.01457, allocations: 2.75 kB / 18.74 MB, free: 2.574 MB / 18.61 MB Notification: Performance of simCode: created simulation system equations: time 3.026e-06/0.01458, allocations: 4.062 kB / 18.74 MB, free: 2.57 MB / 18.61 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.01481, allocations: 460.3 kB / 19.19 MB, free: 2.121 MB / 18.61 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001701/0.01498, allocations: 164.2 kB / 19.35 MB, free: 1.938 MB / 18.61 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.226e-05/0.01502, allocations: 51.66 kB / 19.4 MB, free: 1.867 MB / 18.61 MB Notification: Performance of simCode: alias equations: time 2.035e-05/0.01504, allocations: 2.25 kB / 19.4 MB, free: 1.867 MB / 18.61 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.152e-05/0.01507, allocations: 50.97 kB / 19.45 MB, free: 1.82 MB / 18.61 MB Notification: Performance of SimCode: time 6.71e-07/0.01507, allocations: 0 / 19.45 MB, free: 1.82 MB / 18.61 MB Notification: Performance of Templates: time 0.004327/0.0194, allocations: 1.971 MB / 21.42 MB, free: 332 kB / 18.61 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.430141182616353]