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.002319/0.002319, allocations: 240.4 kB / 20.09 MB, free: 4.391 MB / 18.57 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 1.522e-06/1.522e-06, allocations: 0 / 31.6 MB, free: 2.645 MB / 18.57 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.458e-05/1.61e-05, allocations: 6.312 kB / 31.61 MB, free: 2.637 MB / 18.57 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.0009123/0.0009284, allocations: 382.6 kB / 31.98 MB, free: 2.266 MB / 18.57 MB Notification: Performance of NFInst.instExpressions: time 0.0004623/0.001391, allocations: 349.6 kB / 32.32 MB, free: 1.926 MB / 18.57 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.058e-05/0.001411, allocations: 0 / 32.32 MB, free: 1.926 MB / 18.57 MB Notification: Performance of NFTyping.typeComponents: time 1.457e-05/0.001426, allocations: 4 kB / 32.33 MB, free: 1.922 MB / 18.57 MB Notification: Performance of NFTyping.typeBindings: time 2.27e-05/0.001449, allocations: 0 / 32.33 MB, free: 1.922 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.0003307/0.001779, allocations: 111.4 kB / 32.43 MB, free: 1.812 MB / 18.57 MB Notification: Performance of NFFlatten.flatten: time 2.953e-05/0.001809, allocations: 4.312 kB / 32.44 MB, free: 1.809 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 3.081e-05/0.00184, allocations: 128 / 32.44 MB, free: 1.809 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 2.083e-05/0.00186, allocations: 3.938 kB / 32.44 MB, free: 1.805 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 1.774e-05/0.001878, allocations: 4 kB / 32.45 MB, free: 1.801 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 4.979e-06/0.001883, allocations: 3.984 kB / 32.45 MB, free: 1.797 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.002032, allocations: 127.7 kB / 32.57 MB, free: 1.672 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 6.472e-06/0.002039, allocations: 0 / 32.57 MB, free: 1.672 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 1.496e-05/0.002054, allocations: 4.125 kB / 32.58 MB, free: 1.668 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.002201, allocations: 139.5 kB / 32.72 MB, free: 1.531 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.002203, allocations: 0 / 32.72 MB, free: 1.531 MB / 18.57 MB Notification: Performance of FrontEnd: time 6.71e-07/0.002203, allocations: 0 / 32.72 MB, free: 1.531 MB / 18.57 MB Notification: Performance of Transformations before backend: time 2.856e-06/0.002206, allocations: 0 / 32.72 MB, free: 1.531 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.0001634/0.00237, allocations: 282.2 kB / 32.99 MB, free: 1.223 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 2.979e-05/0.002399, allocations: 12.39 kB / 33 MB, free: 1.211 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.087e-05/0.00242, allocations: 4.922 kB / 33.01 MB, free: 1.207 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.237e-05/0.002453, allocations: 105.8 kB / 33.11 MB, free: 1.078 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.002461, allocations: 384 / 33.11 MB, free: 1.078 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.185e-06/0.002469, allocations: 4.375 kB / 33.12 MB, free: 1.074 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.619e-05/0.002516, allocations: 26.27 kB / 33.14 MB, free: 1.043 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.002e-06/0.002522, allocations: 4.188 kB / 33.15 MB, free: 1.039 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-06/0.002527, allocations: 4.375 kB / 33.15 MB, free: 1.035 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.002532, allocations: 384 / 33.15 MB, free: 1.035 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.057e-06/0.002541, allocations: 11.88 kB / 33.16 MB, free: 1.023 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001433/0.002685, allocations: 291.5 kB / 33.45 MB, free: 0.7227 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 3.179e-05/0.002716, allocations: 165.1 kB / 33.61 MB, free: 0.5508 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.062e-05/0.002727, allocations: 80.14 kB / 33.69 MB, free: 480 kB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/0.002736, allocations: 83.3 kB / 33.77 MB, free: 396 kB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.002753, allocations: 105.8 kB / 33.87 MB, free: 280 kB / 18.57 MB Notification: Performance of pre-optimization done (n=0): time 7.21e-07/0.002754, allocations: 0 / 33.87 MB, free: 280 kB / 18.57 MB Notification: Performance of matching and sorting (n=0): time 3.951e-05/0.002793, allocations: 33.64 kB / 33.9 MB, free: 240 kB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.002819, allocations: 134.6 kB / 34.03 MB, free: 92 kB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004871/0.007691, allocations: 95.06 kB / 34.13 MB, free: 7.25 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 6.853e-06/0.007697, allocations: 25.7 kB / 34.15 MB, free: 7.219 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 2.716e-05/0.007725, allocations: 85.95 kB / 34.24 MB, free: 7.137 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 1.783e-06/0.007726, allocations: 0.6875 kB / 34.24 MB, free: 7.137 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.571e-05/0.007752, allocations: 15.05 kB / 34.25 MB, free: 7.121 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 2.737e-05/0.007779, allocations: 316.1 kB / 34.56 MB, free: 6.809 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.188e-06/0.007784, allocations: 1 kB / 34.56 MB, free: 6.809 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.927e-05/0.007803, allocations: 41.67 kB / 34.6 MB, free: 6.762 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.881e-05/0.007822, allocations: 9.562 kB / 34.61 MB, free: 6.754 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.007824, allocations: 0 / 34.61 MB, free: 6.754 MB / 18.57 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.933e-05/0.007883, allocations: 30.92 kB / 34.64 MB, free: 6.723 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.007897, allocations: 5.469 kB / 34.65 MB, free: 6.723 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.007903, allocations: 7.844 kB / 34.65 MB, free: 6.723 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.007916, allocations: 0.5 kB / 34.66 MB, free: 6.723 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.291e-05/0.007959, allocations: 5.5 kB / 34.66 MB, free: 6.723 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-06/0.007961, allocations: 3 kB / 34.66 MB, free: 6.723 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.123e-05/0.007972, allocations: 1.062 kB / 34.66 MB, free: 6.723 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.007977, allocations: 0.5 kB / 34.67 MB, free: 6.723 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.785e-05/0.008014, allocations: 184 kB / 34.84 MB, free: 6.535 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.067e-05/0.008035, allocations: 109.1 kB / 34.95 MB, free: 6.43 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.241e-05/0.008058, allocations: 112.1 kB / 35.06 MB, free: 6.32 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.858e-05/0.008076, allocations: 184.8 kB / 35.24 MB, free: 6.137 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.527e-05/0.008091, allocations: 182.8 kB / 35.42 MB, free: 5.957 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.611e-05/0.008108, allocations: 177.8 kB / 35.59 MB, free: 5.777 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.525e-05/0.008183, allocations: 316.5 kB / 35.9 MB, free: 5.449 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.008193, allocations: 112.9 kB / 36.01 MB, free: 5.344 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.356e-06/0.008202, allocations: 102 kB / 36.11 MB, free: 5.238 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.427e-05/0.008216, allocations: 182.5 kB / 36.29 MB, free: 5.059 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.008231, allocations: 178.2 kB / 36.46 MB, free: 4.879 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.32e-05/0.008244, allocations: 184.3 kB / 36.64 MB, free: 4.699 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.516e-05/0.008259, allocations: 177.7 kB / 36.82 MB, free: 4.52 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.114e-05/0.00831, allocations: 309.8 kB / 37.12 MB, free: 4.207 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 1.717e-05/0.008327, allocations: 110 kB / 37.23 MB, free: 4.102 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.008345, allocations: 179.3 kB / 37.4 MB, free: 3.922 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.95e-05/0.008375, allocations: 110.2 kB / 37.51 MB, free: 3.816 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.789e-05/0.008393, allocations: 183.9 kB / 37.69 MB, free: 3.633 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.008402, allocations: 111 kB / 37.8 MB, free: 3.523 MB / 18.57 MB Notification: Performance of sorting global known variables: time 1.015e-05/0.008412, allocations: 4.859 kB / 37.8 MB, free: 3.516 MB / 18.57 MB Notification: Performance of sort global known variables: time 4e-08/0.008412, allocations: 0 / 37.8 MB, free: 3.516 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0002015/0.008613, allocations: 48.72 kB / 37.85 MB, free: 3.516 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.001062/0.009676, allocations: 0.7022 MB / 38.55 MB, free: 3.012 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 5.104e-05/0.009727, allocations: 11.41 kB / 38.56 MB, free: 3.004 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.009731, allocations: 128 / 38.56 MB, free: 3.004 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 1.793e-06/0.009733, allocations: 7.438 kB / 38.57 MB, free: 3 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001114/0.009844, allocations: 459.5 kB / 39.02 MB, free: 2.551 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001176/0.009962, allocations: 155.8 kB / 39.17 MB, free: 2.367 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.736e-05/0.009979, allocations: 55.59 kB / 39.23 MB, free: 2.293 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 1.734e-05/0.009996, allocations: 3.781 kB / 39.23 MB, free: 2.293 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.111e-05/0.01002, allocations: 51.25 kB / 39.28 MB, free: 2.246 MB / 18.57 MB Notification: Performance of SimCode: time 1.162e-06/0.01002, allocations: 0 / 39.28 MB, free: 2.246 MB / 18.57 MB Notification: Performance of Templates: time 0.002809/0.01283, allocations: 1.947 MB / 41.23 MB, free: 0.6562 MB / 18.57 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.4517085081897676]