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.003529/0.003529, allocations: 247.8 kB / 19.59 MB, free: 168 kB / 13.93 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 2.124e-06/2.124e-06, allocations: 0 / 30.73 MB, free: 3.48 MB / 18.57 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.314e-05/2.527e-05, allocations: 2.312 kB / 30.73 MB, free: 3.477 MB / 18.57 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.001038/0.001063, allocations: 377.7 kB / 31.1 MB, free: 3.109 MB / 18.57 MB Notification: Performance of NFInst.instExpressions: time 0.0005647/0.001628, allocations: 336.4 kB / 31.43 MB, free: 2.781 MB / 18.57 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.149e-05/0.001649, allocations: 0 / 31.43 MB, free: 2.781 MB / 18.57 MB Notification: Performance of NFTyping.typeComponents: time 1.155e-05/0.001661, allocations: 0 / 31.43 MB, free: 2.781 MB / 18.57 MB Notification: Performance of NFTyping.typeBindings: time 3.029e-05/0.001691, allocations: 0 / 31.43 MB, free: 2.781 MB / 18.57 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.0003429/0.002034, allocations: 111.4 kB / 31.53 MB, free: 2.672 MB / 18.57 MB Notification: Performance of NFFlatten.flatten: time 3.015e-05/0.002064, allocations: 384 / 31.53 MB, free: 2.672 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 3.381e-05/0.002098, allocations: 128 / 31.54 MB, free: 2.672 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 1.876e-05/0.002117, allocations: 4 kB / 31.54 MB, free: 2.668 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 1.792e-05/0.002135, allocations: 0 / 31.54 MB, free: 2.668 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 5.631e-06/0.00214, allocations: 4 kB / 31.54 MB, free: 2.664 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.0023, allocations: 139.7 kB / 31.68 MB, free: 2.527 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 9.047e-06/0.002309, allocations: 0 / 31.68 MB, free: 2.527 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 1.825e-05/0.002327, allocations: 4.062 kB / 31.68 MB, free: 2.523 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.002495, allocations: 127.6 kB / 31.81 MB, free: 2.398 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.002497, allocations: 0 / 31.81 MB, free: 2.398 MB / 18.57 MB Notification: Performance of FrontEnd: time 7.51e-07/0.002498, allocations: 0 / 31.81 MB, free: 2.398 MB / 18.57 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.002501, allocations: 0 / 31.81 MB, free: 2.398 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.0002304/0.002732, allocations: 311.9 kB / 32.11 MB, free: 2.051 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.002765, allocations: 8.391 kB / 32.12 MB, free: 2.043 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.002803, allocations: 5.109 kB / 32.13 MB, free: 2.039 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.542e-05/0.002849, allocations: 109.7 kB / 32.23 MB, free: 1.906 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.002861, allocations: 384 / 32.23 MB, free: 1.906 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-06/0.002868, allocations: 384 / 32.23 MB, free: 1.906 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.927e-05/0.002947, allocations: 34.27 kB / 32.27 MB, free: 1.867 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.002957, allocations: 192 / 32.27 MB, free: 1.867 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.002966, allocations: 384 / 32.27 MB, free: 1.867 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.00297, allocations: 384 / 32.27 MB, free: 1.867 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.454e-05/0.002985, allocations: 3.938 kB / 32.27 MB, free: 1.863 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001732/0.003158, allocations: 331.6 kB / 32.6 MB, free: 1.508 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 4.157e-05/0.0032, allocations: 177.1 kB / 32.77 MB, free: 1.324 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.5e-05/0.003215, allocations: 84.14 kB / 32.85 MB, free: 1.238 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.003229, allocations: 75.28 kB / 32.92 MB, free: 1.164 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.00325, allocations: 109.8 kB / 33.03 MB, free: 1.047 MB / 18.57 MB Notification: Performance of pre-optimization done (n=0): time 6.61e-07/0.003251, allocations: 0 / 33.03 MB, free: 1.047 MB / 18.57 MB Notification: Performance of matching and sorting (n=0): time 7.3e-05/0.003324, allocations: 37.78 kB / 33.07 MB, free: 1.004 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.003348, allocations: 126.7 kB / 33.19 MB, free: 0.8672 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.37e-05/0.003401, allocations: 102.2 kB / 33.29 MB, free: 0.7578 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 5.28e-06/0.003407, allocations: 25.7 kB / 33.32 MB, free: 0.7266 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 2.01e-05/0.003427, allocations: 82.03 kB / 33.4 MB, free: 0.6445 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 2.275e-06/0.003429, allocations: 0 / 33.4 MB, free: 0.6445 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-05/0.00345, allocations: 14.02 kB / 33.41 MB, free: 0.625 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 3.654e-05/0.003487, allocations: 314.8 kB / 33.72 MB, free: 316 kB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.871e-06/0.003492, allocations: 0 / 33.72 MB, free: 316 kB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.739e-05/0.00351, allocations: 39.42 kB / 33.76 MB, free: 264 kB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.6e-05/0.003526, allocations: 8.859 kB / 33.77 MB, free: 252 kB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.003527, allocations: 4 kB / 33.77 MB, free: 248 kB / 18.57 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.843e-05/0.003605, allocations: 38.14 kB / 33.81 MB, free: 204 kB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 9.387e-06/0.003615, allocations: 4 kB / 33.81 MB, free: 200 kB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.003619, allocations: 7.922 kB / 33.82 MB, free: 192 kB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.003636, allocations: 4.125 kB / 33.82 MB, free: 188 kB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.995e-05/0.003676, allocations: 4 kB / 33.83 MB, free: 184 kB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.00368, allocations: 0 / 33.83 MB, free: 184 kB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.082e-05/0.003691, allocations: 0 / 33.83 MB, free: 184 kB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-06/0.003695, allocations: 0 / 33.83 MB, free: 184 kB / 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 0.005539/0.009234, allocations: 185.1 kB / 34.01 MB, free: 8.297 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.319e-05/0.009287, allocations: 104.2 kB / 34.11 MB, free: 8.191 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.717e-05/0.009314, allocations: 119.2 kB / 34.23 MB, free: 8.082 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.362e-05/0.009338, allocations: 179.5 kB / 34.4 MB, free: 7.902 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.482e-05/0.009362, allocations: 184.7 kB / 34.58 MB, free: 7.723 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.448e-05/0.009387, allocations: 177.8 kB / 34.75 MB, free: 7.543 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.009496, allocations: 353 kB / 35.1 MB, free: 7.168 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-05/0.009511, allocations: 103.9 kB / 35.2 MB, free: 7.062 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.49e-05/0.009526, allocations: 110.9 kB / 35.31 MB, free: 6.957 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.393e-05/0.00955, allocations: 180.1 kB / 35.48 MB, free: 6.777 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.696e-05/0.009577, allocations: 185.2 kB / 35.67 MB, free: 6.598 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-05/0.0096, allocations: 185.2 kB / 35.85 MB, free: 6.418 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.657e-05/0.009627, allocations: 180.2 kB / 36.02 MB, free: 6.238 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.33e-05/0.00969, allocations: 308.1 kB / 36.32 MB, free: 5.926 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 2.109e-05/0.009711, allocations: 111.4 kB / 36.43 MB, free: 5.816 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.088e-05/0.009742, allocations: 178.3 kB / 36.61 MB, free: 5.637 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.015e-05/0.009792, allocations: 104.5 kB / 36.71 MB, free: 5.531 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.089e-05/0.009823, allocations: 184.7 kB / 36.89 MB, free: 5.348 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.009837, allocations: 103.4 kB / 36.99 MB, free: 5.242 MB / 18.57 MB Notification: Performance of sorting global known variables: time 2.494e-05/0.009862, allocations: 75.28 kB / 37.06 MB, free: 5.168 MB / 18.57 MB Notification: Performance of sort global known variables: time 5e-08/0.009862, allocations: 3.781 kB / 37.07 MB, free: 5.168 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0002969/0.01016, allocations: 46.19 kB / 37.11 MB, free: 5.168 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.002433/0.01259, allocations: 0.599 MB / 37.71 MB, free: 4.746 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 8.406e-05/0.01268, allocations: 10.41 kB / 37.72 MB, free: 4.742 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.01268, allocations: 0 / 37.72 MB, free: 4.742 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.01268, allocations: 1.125 kB / 37.72 MB, free: 4.742 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.01301, allocations: 461.6 kB / 38.17 MB, free: 4.293 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001975/0.01321, allocations: 150.2 kB / 38.32 MB, free: 4.113 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.036e-05/0.01324, allocations: 52.91 kB / 38.37 MB, free: 4.043 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 1.871e-05/0.01326, allocations: 1.625 kB / 38.37 MB, free: 4.043 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.963e-05/0.01328, allocations: 12.5 kB / 38.39 MB, free: 4.031 MB / 18.57 MB Notification: Performance of SimCode: time 4.31e-07/0.01328, allocations: 0 / 38.39 MB, free: 4.031 MB / 18.57 MB Notification: Performance of Templates: time 0.003961/0.01724, allocations: 1.715 MB / 40.1 MB, free: 2.621 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=480 -lv LOG_STATS > MessagePack_MessagePack.Examples.TestCreateAndReadFile.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.5129463659832254]