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.001363/0.001363, allocations: 247.5 kB / 19.8 MB, free: 124 kB / 13.93 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.134e-06/2.134e-06, allocations: 0 / 31.19 MB, free: 3.188 MB / 18.57 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.22e-05/1.434e-05, allocations: 2.312 kB / 31.19 MB, free: 3.184 MB / 18.57 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.0008022/0.0008166, allocations: 381.6 kB / 31.56 MB, free: 2.812 MB / 18.57 MB Notification: Performance of NFInst.instExpressions: time 0.0004486/0.001265, allocations: 353.4 kB / 31.91 MB, free: 2.469 MB / 18.57 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.109e-05/0.001286, allocations: 0 / 31.91 MB, free: 2.469 MB / 18.57 MB Notification: Performance of NFTyping.typeComponents: time 1.854e-05/0.001305, allocations: 0 / 31.91 MB, free: 2.469 MB / 18.57 MB Notification: Performance of NFTyping.typeBindings: time 2.354e-05/0.001328, allocations: 0 / 31.91 MB, free: 2.469 MB / 18.57 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.000353/0.001681, allocations: 111.4 kB / 32.02 MB, free: 2.359 MB / 18.57 MB Notification: Performance of NFFlatten.flatten: time 3.447e-05/0.001716, allocations: 4.359 kB / 32.02 MB, free: 2.355 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 3.598e-05/0.001752, allocations: 128 / 32.02 MB, free: 2.355 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 1.854e-05/0.00177, allocations: 0 / 32.02 MB, free: 2.355 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 1.369e-05/0.001784, allocations: 0 / 32.02 MB, free: 2.355 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 6.102e-06/0.00179, allocations: 4 kB / 32.02 MB, free: 2.352 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.001947, allocations: 143.6 kB / 32.16 MB, free: 2.211 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 7.083e-06/0.001954, allocations: 0 / 32.16 MB, free: 2.211 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 1.164e-05/0.001966, allocations: 128 / 32.16 MB, free: 2.211 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.002112, allocations: 131.5 kB / 32.29 MB, free: 2.082 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.002114, allocations: 0 / 32.29 MB, free: 2.082 MB / 18.57 MB Notification: Performance of FrontEnd: time 8.61e-07/0.002115, allocations: 4 kB / 32.3 MB, free: 2.078 MB / 18.57 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.002118, allocations: 0 / 32.3 MB, free: 2.078 MB / 18.57 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.0002097/0.002328, allocations: 409.9 kB / 32.7 MB, free: 1.633 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.002361, allocations: 8.391 kB / 32.71 MB, free: 1.625 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.959e-05/0.00239, allocations: 1.109 kB / 32.71 MB, free: 1.625 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.395e-05/0.002424, allocations: 116.6 kB / 32.82 MB, free: 1.484 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.002434, allocations: 384 / 32.82 MB, free: 1.484 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.002444, allocations: 384 / 32.82 MB, free: 1.484 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.515e-05/0.00251, allocations: 30.27 kB / 32.85 MB, free: 1.449 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.002518, allocations: 192 / 32.85 MB, free: 1.449 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.742e-06/0.002525, allocations: 384 / 32.85 MB, free: 1.449 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.002532, allocations: 4.359 kB / 32.86 MB, free: 1.445 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.029e-05/0.002542, allocations: 3.938 kB / 32.86 MB, free: 1.441 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001885/0.002731, allocations: 474.7 kB / 33.32 MB, free: 0.9414 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 3.778e-05/0.002769, allocations: 265.5 kB / 33.58 MB, free: 0.668 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.478e-05/0.002783, allocations: 134.9 kB / 33.71 MB, free: 0.5312 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.002793, allocations: 119.2 kB / 33.83 MB, free: 424 kB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.002811, allocations: 152.6 kB / 33.98 MB, free: 260 kB / 18.57 MB Notification: Performance of pre-optimization done (n=0): time 5.21e-07/0.002812, allocations: 4 kB / 33.98 MB, free: 256 kB / 18.57 MB Notification: Performance of matching and sorting (n=0): time 4.855e-05/0.00286, allocations: 37.73 kB / 34.02 MB, free: 212 kB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.056e-05/0.002881, allocations: 170.6 kB / 34.19 MB, free: 28 kB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003729/0.00661, allocations: 150.3 kB / 34.33 MB, free: 6.617 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 5.43e-06/0.006616, allocations: 26.39 kB / 34.36 MB, free: 6.586 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 2.461e-05/0.00664, allocations: 131.2 kB / 34.49 MB, free: 6.457 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 2.435e-06/0.006643, allocations: 1.312 kB / 34.49 MB, free: 6.457 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.161e-05/0.006664, allocations: 21.31 kB / 34.51 MB, free: 6.434 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 3.034e-05/0.006695, allocations: 493.2 kB / 34.99 MB, free: 5.941 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.155e-06/0.006703, allocations: 0.5312 kB / 34.99 MB, free: 5.941 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.943e-05/0.006722, allocations: 46.31 kB / 35.04 MB, free: 5.887 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.898e-05/0.006741, allocations: 13.97 kB / 35.05 MB, free: 5.875 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.006743, allocations: 0.5 kB / 35.05 MB, free: 5.875 MB / 18.57 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.17e-05/0.006815, allocations: 38.09 kB / 35.09 MB, free: 5.844 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.006828, allocations: 8.688 kB / 35.1 MB, free: 5.844 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.006833, allocations: 5.312 kB / 35.1 MB, free: 5.844 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.006848, allocations: 0.5312 kB / 35.1 MB, free: 5.844 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.491e-05/0.006893, allocations: 1.688 kB / 35.1 MB, free: 5.844 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.006898, allocations: 0.5312 kB / 35.1 MB, free: 5.844 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.117e-05/0.006909, allocations: 1 kB / 35.11 MB, free: 5.844 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-06/0.006913, allocations: 0.5 kB / 35.11 MB, free: 5.844 MB / 18.57 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 3.357e-05/0.006947, allocations: 274 kB / 35.37 MB, free: 5.566 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.006969, allocations: 150.4 kB / 35.52 MB, free: 5.418 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.479e-05/0.006994, allocations: 162.8 kB / 35.68 MB, free: 5.266 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/0.00701, allocations: 274.4 kB / 35.95 MB, free: 4.996 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.47e-05/0.007025, allocations: 265.6 kB / 36.21 MB, free: 4.73 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/0.007039, allocations: 265.3 kB / 36.47 MB, free: 4.465 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.526e-05/0.007115, allocations: 498.9 kB / 36.95 MB, free: 3.945 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/0.007125, allocations: 147.6 kB / 37.1 MB, free: 3.797 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.748e-06/0.007135, allocations: 151.4 kB / 37.24 MB, free: 3.648 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.627e-05/0.007151, allocations: 271.2 kB / 37.51 MB, free: 3.383 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.007169, allocations: 266.2 kB / 37.77 MB, free: 3.117 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.651e-05/0.007185, allocations: 271.8 kB / 38.04 MB, free: 2.852 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.691e-05/0.007202, allocations: 277 kB / 38.31 MB, free: 2.582 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.656e-05/0.007249, allocations: 443.1 kB / 38.74 MB, free: 2.133 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 1.659e-05/0.007265, allocations: 151.1 kB / 38.89 MB, free: 1.984 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.007289, allocations: 265.4 kB / 39.15 MB, free: 1.719 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.999e-05/0.007319, allocations: 156.2 kB / 39.3 MB, free: 1.57 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.087e-05/0.00734, allocations: 272.6 kB / 39.56 MB, free: 1.301 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.00735, allocations: 153.1 kB / 39.71 MB, free: 1.152 MB / 18.57 MB Notification: Performance of sorting global known variables: time 1.583e-05/0.007366, allocations: 120.6 kB / 39.83 MB, free: 1.035 MB / 18.57 MB Notification: Performance of sort global known variables: time 5e-08/0.007366, allocations: 0 / 39.83 MB, free: 1.035 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0001886/0.007555, allocations: 47.81 kB / 39.88 MB, free: 1.035 MB / 18.57 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.000848/0.008403, allocations: 0.6676 MB / 40.55 MB, free: 0.5391 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 6.151e-05/0.008464, allocations: 13.28 kB / 40.56 MB, free: 0.5273 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.008466, allocations: 1.469 kB / 40.56 MB, free: 0.5273 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 1.402e-06/0.008467, allocations: 7.469 kB / 40.57 MB, free: 0.5234 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.00867, allocations: 0.7011 MB / 41.27 MB, free: 6.043 MB / 24.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001638/0.008834, allocations: 211.1 kB / 41.47 MB, free: 5.805 MB / 24.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.819e-05/0.008862, allocations: 51.66 kB / 41.52 MB, free: 5.734 MB / 24.8 MB Notification: Performance of simCode: alias equations: time 1.505e-05/0.008877, allocations: 4.969 kB / 41.53 MB, free: 5.734 MB / 24.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.122e-05/0.008888, allocations: 8.5 kB / 41.54 MB, free: 5.727 MB / 24.8 MB Notification: Performance of SimCode: time 4.11e-07/0.008889, allocations: 0 / 41.54 MB, free: 5.727 MB / 24.8 MB Notification: Performance of Templates: time 0.002901/0.01179, allocations: 1.723 MB / 43.26 MB, free: 4.508 MB / 24.8 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.7647429117932916]