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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack master/package.mo): time 0.003642/0.003642, allocations: 344.9 kB / 19.92 MB, free: 2.023 MB / 14.72 MB " [Timeout remaining time 180] Using package MessagePack with version 0.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack master/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 0.0005309/0.0005309, allocations: 11.22 kB / 30.96 MB, free: 3.016 MB / 14.72 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0001564/0.0006874, allocations: 97.05 kB / 31.06 MB, free: 2.945 MB / 14.72 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.001173/0.00186, allocations: 377.6 kB / 31.42 MB, free: 2.688 MB / 14.72 MB Notification: Performance of NFInst.instExpressions: time 0.0005847/0.002445, allocations: 360.1 kB / 31.78 MB, free: 2.391 MB / 14.72 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.03e-05/0.002475, allocations: 0 / 31.78 MB, free: 2.391 MB / 14.72 MB Notification: Performance of NFTyping.typeComponents: time 1.207e-05/0.002487, allocations: 0 / 31.78 MB, free: 2.391 MB / 14.72 MB Notification: Performance of NFTyping.typeBindings: time 2.494e-05/0.002512, allocations: 0 / 31.78 MB, free: 2.391 MB / 14.72 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 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 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 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.000357/0.002869, allocations: 119.5 kB / 31.89 MB, free: 2.273 MB / 14.72 MB Notification: Performance of NFFlatten.flatten: time 3.637e-05/0.002905, allocations: 4 kB / 31.9 MB, free: 2.27 MB / 14.72 MB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.002946, allocations: 3.984 kB / 31.9 MB, free: 2.266 MB / 14.72 MB Notification: Performance of NFEvalConstants.evaluate: time 1.436e-05/0.00296, allocations: 0 / 31.9 MB, free: 2.266 MB / 14.72 MB Notification: Performance of NFSimplifyModel.simplify: time 1.71e-05/0.002977, allocations: 0 / 31.9 MB, free: 2.266 MB / 14.72 MB Notification: Performance of NFPackage.collectConstants: time 4.819e-06/0.002982, allocations: 1.531 kB / 31.9 MB, free: 2.266 MB / 14.72 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001875/0.003169, allocations: 143.9 kB / 32.04 MB, free: 2.125 MB / 14.72 MB Notification: Performance of NFScalarize.scalarize: time 6.081e-06/0.003175, allocations: 0 / 32.04 MB, free: 2.125 MB / 14.72 MB Notification: Performance of NFVerifyModel.verify: time 1.305e-05/0.003188, allocations: 0 / 32.04 MB, free: 2.125 MB / 14.72 MB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.003343, allocations: 123.6 kB / 32.16 MB, free: 2.004 MB / 14.72 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.003345, allocations: 0 / 32.16 MB, free: 2.004 MB / 14.72 MB Notification: Performance of FrontEnd: time 4.91e-07/0.003346, allocations: 0 / 32.16 MB, free: 2.004 MB / 14.72 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.00335, allocations: 0 / 32.16 MB, free: 2.004 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.0002273/0.003577, allocations: 311.8 kB / 32.47 MB, free: 1.656 MB / 14.72 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.00361, allocations: 8.391 kB / 32.48 MB, free: 1.648 MB / 14.72 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.241e-05/0.003643, allocations: 1.109 kB / 32.48 MB, free: 1.648 MB / 14.72 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.36e-05/0.003696, allocations: 110.5 kB / 32.59 MB, free: 1.516 MB / 14.72 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.003705, allocations: 4.375 kB / 32.59 MB, free: 1.512 MB / 14.72 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.003716, allocations: 384 / 32.59 MB, free: 1.512 MB / 14.72 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.854e-05/0.003784, allocations: 34.25 kB / 32.62 MB, free: 1.473 MB / 14.72 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.003792, allocations: 192 / 32.62 MB, free: 1.473 MB / 14.72 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.003799, allocations: 3.938 kB / 32.63 MB, free: 1.469 MB / 14.72 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-06/0.003803, allocations: 0 / 32.63 MB, free: 1.469 MB / 14.72 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.582e-05/0.003829, allocations: 3.938 kB / 32.63 MB, free: 1.465 MB / 14.72 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002041/0.004033, allocations: 351.1 kB / 32.97 MB, free: 1.078 MB / 14.72 MB Notification: Performance of preOpt comSubExp (simulation): time 4.551e-05/0.004078, allocations: 177 kB / 33.15 MB, free: 0.8945 MB / 14.72 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.612e-05/0.004094, allocations: 85.75 kB / 33.23 MB, free: 0.8086 MB / 14.72 MB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.004106, allocations: 75.28 kB / 33.3 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.004122, allocations: 113.9 kB / 33.42 MB, free: 0.6133 MB / 14.72 MB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.004123, allocations: 3.938 kB / 33.42 MB, free: 0.6094 MB / 14.72 MB Notification: Performance of matching and sorting (n=0): time 5.859e-05/0.004182, allocations: 29.88 kB / 33.45 MB, free: 0.5742 MB / 14.72 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.168e-05/0.004203, allocations: 126.7 kB / 33.57 MB, free: 448 kB / 14.72 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.983e-05/0.004253, allocations: 94.03 kB / 33.66 MB, free: 344 kB / 14.72 MB Notification: Performance of collectPreVariables (initialization): time 6.001e-06/0.004259, allocations: 29.64 kB / 33.69 MB, free: 308 kB / 14.72 MB Notification: Performance of collectInitialEqns (initialization): time 2.389e-05/0.004283, allocations: 82.03 kB / 33.77 MB, free: 224 kB / 14.72 MB Notification: Performance of collectInitialBindings (initialization): time 1.874e-06/0.004285, allocations: 0 / 33.77 MB, free: 224 kB / 14.72 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.439e-05/0.004309, allocations: 22 kB / 33.79 MB, free: 196 kB / 14.72 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.004425, allocations: 314.8 kB / 34.1 MB, free: 4.824 MB / 19.67 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.025e-06/0.004433, allocations: 0 / 34.1 MB, free: 4.824 MB / 19.67 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.517e-05/0.004448, allocations: 9.719 kB / 34.11 MB, free: 4.809 MB / 19.67 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.035e-05/0.004468, allocations: 12.8 kB / 34.12 MB, free: 4.793 MB / 19.67 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.00447, allocations: 0 / 34.12 MB, free: 4.793 MB / 19.67 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.794e-05/0.004558, allocations: 37.91 kB / 34.16 MB, free: 4.75 MB / 19.67 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.004572, allocations: 8 kB / 34.17 MB, free: 4.742 MB / 19.67 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.004576, allocations: 0 / 34.17 MB, free: 4.742 MB / 19.67 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.00459, allocations: 0 / 34.17 MB, free: 4.742 MB / 19.67 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.283e-05/0.004633, allocations: 3.984 kB / 34.17 MB, free: 4.738 MB / 19.67 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.86e-06/0.004638, allocations: 0 / 34.17 MB, free: 4.738 MB / 19.67 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.418e-05/0.004652, allocations: 4.516 kB / 34.18 MB, free: 4.734 MB / 19.67 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.004656, allocations: 0 / 34.18 MB, free: 4.734 MB / 19.67 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 0.0001189/0.004774, allocations: 189.7 kB / 34.36 MB, free: 4.539 MB / 19.67 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.025e-05/0.004845, allocations: 113 kB / 34.47 MB, free: 4.422 MB / 19.67 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.471e-05/0.004909, allocations: 108.3 kB / 34.58 MB, free: 4.309 MB / 19.67 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.933e-05/0.004989, allocations: 180.2 kB / 34.75 MB, free: 4.125 MB / 19.67 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.158e-05/0.00508, allocations: 185.3 kB / 34.94 MB, free: 3.938 MB / 19.67 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.64e-05/0.005167, allocations: 176.3 kB / 35.11 MB, free: 3.758 MB / 19.67 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002728/0.00544, allocations: 384.2 kB / 35.48 MB, free: 3.328 MB / 19.67 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.951e-05/0.005489, allocations: 105 kB / 35.59 MB, free: 3.219 MB / 19.67 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.348e-05/0.005543, allocations: 104.9 kB / 35.69 MB, free: 3.109 MB / 19.67 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.842e-05/0.005621, allocations: 180.3 kB / 35.86 MB, free: 2.926 MB / 19.67 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-05/0.005707, allocations: 176.3 kB / 36.04 MB, free: 2.746 MB / 19.67 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.719e-05/0.005804, allocations: 184.2 kB / 36.22 MB, free: 2.559 MB / 19.67 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.825e-05/0.005893, allocations: 184.3 kB / 36.4 MB, free: 2.371 MB / 19.67 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.006065, allocations: 315.9 kB / 36.7 MB, free: 2.039 MB / 19.67 MB Notification: Performance of postOpt removeConstants (simulation): time 5.572e-05/0.006121, allocations: 109 kB / 36.81 MB, free: 1.926 MB / 19.67 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.006222, allocations: 180.2 kB / 36.99 MB, free: 1.742 MB / 19.67 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.269e-05/0.006314, allocations: 105 kB / 37.09 MB, free: 1.633 MB / 19.67 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.655e-05/0.006401, allocations: 188.1 kB / 37.27 MB, free: 1.441 MB / 19.67 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.412e-05/0.006455, allocations: 105 kB / 37.38 MB, free: 1.332 MB / 19.67 MB Notification: Performance of sorting global known variables: time 4.365e-05/0.006499, allocations: 79.22 kB / 37.45 MB, free: 1.254 MB / 19.67 MB Notification: Performance of sort global known variables: time 7e-08/0.006499, allocations: 0 / 37.45 MB, free: 1.254 MB / 19.67 MB Notification: Performance of remove unused functions: time 0.0003212/0.00682, allocations: 47.86 kB / 37.5 MB, free: 1.207 MB / 19.67 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.001893/0.008713, allocations: 0.5574 MB / 38.06 MB, free: 0.6406 MB / 19.67 MB Notification: Performance of simCode: created initialization part: time 7.145e-05/0.008784, allocations: 4.094 kB / 38.06 MB, free: 0.6367 MB / 19.67 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.008786, allocations: 0 / 38.06 MB, free: 0.6367 MB / 19.67 MB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.008787, allocations: 3.938 kB / 38.07 MB, free: 0.6328 MB / 19.67 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000456/0.009243, allocations: 455.6 kB / 38.51 MB, free: 188 kB / 19.67 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005006/0.01425, allocations: 183.7 kB / 38.69 MB, free: 8.219 MB / 19.67 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.01435, allocations: 0.6718 MB / 39.36 MB, free: 7.523 MB / 19.67 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.28e-05/0.01436, allocations: 7.438 kB / 39.37 MB, free: 7.516 MB / 19.67 MB Notification: Performance of SimCode: time 6.42e-07/0.01437, allocations: 3.609 kB / 39.37 MB, free: 7.516 MB / 19.67 MB Notification: Performance of Templates: time 0.003076/0.01744, allocations: 1.796 MB / 41.17 MB, free: 6.66 MB / 19.67 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=480 -lv LOG_STATS > MessagePack_MessagePack.Examples.TestCreateAndReadFile.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.864731462905183] Failed to read output from testmodel.py, exit status != 0: 0.023992719827219844 0.043569671000000004 0.037904395 Calling exit ...