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.003724/0.003724, allocations: 244.9 kB / 19.34 MB, free: 2.371 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 2.695e-06/2.695e-06, allocations: 0 / 30.44 MB, free: 2.293 MB / 19.63 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.876e-05/4.146e-05, allocations: 2.281 kB / 30.44 MB, free: 2.289 MB / 19.63 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.002008/0.002049, allocations: 385.6 kB / 30.81 MB, free: 1.914 MB / 19.63 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.00316, allocations: 332.2 kB / 31.14 MB, free: 1.59 MB / 19.63 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.694e-05/0.003187, allocations: 0 / 31.14 MB, free: 1.59 MB / 19.63 MB Notification: Performance of NFTyping.typeComponents: time 1.767e-05/0.003205, allocations: 0 / 31.14 MB, free: 1.59 MB / 19.63 MB Notification: Performance of NFTyping.typeBindings: time 2.39e-05/0.003229, allocations: 0 / 31.14 MB, free: 1.59 MB / 19.63 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.0006457/0.003874, allocations: 111.3 kB / 31.25 MB, free: 1.48 MB / 19.63 MB Notification: Performance of NFFlatten.flatten: time 3.972e-05/0.003914, allocations: 8.312 kB / 31.26 MB, free: 1.473 MB / 19.63 MB Notification: Performance of NFFlatten.resolveConnections: time 5.133e-05/0.003965, allocations: 4.125 kB / 31.26 MB, free: 1.469 MB / 19.63 MB Notification: Performance of NFEvalConstants.evaluate: time 2.651e-05/0.003992, allocations: 3.984 kB / 31.26 MB, free: 1.465 MB / 19.63 MB Notification: Performance of NFSimplifyModel.simplify: time 1.606e-05/0.004008, allocations: 0 / 31.26 MB, free: 1.465 MB / 19.63 MB Notification: Performance of NFPackage.collectConstants: time 6.622e-06/0.004015, allocations: 3.938 kB / 31.27 MB, free: 1.461 MB / 19.63 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003628/0.004378, allocations: 135.7 kB / 31.4 MB, free: 1.328 MB / 19.63 MB Notification: Performance of NFScalarize.scalarize: time 9.528e-06/0.004387, allocations: 0 / 31.4 MB, free: 1.328 MB / 19.63 MB Notification: Performance of NFVerifyModel.verify: time 1.697e-05/0.004404, allocations: 128 / 31.4 MB, free: 1.328 MB / 19.63 MB Notification: Performance of NFConvertDAE.convert: time 0.0003438/0.004748, allocations: 127.6 kB / 31.52 MB, free: 1.203 MB / 19.63 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.004751, allocations: 0 / 31.52 MB, free: 1.203 MB / 19.63 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004751, allocations: 0 / 31.52 MB, free: 1.203 MB / 19.63 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.004761, allocations: 0 / 31.52 MB, free: 1.203 MB / 19.63 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.0004793/0.005241, allocations: 319.9 kB / 31.84 MB, free: 0.8477 MB / 19.63 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.005288, allocations: 8.391 kB / 31.85 MB, free: 0.8398 MB / 19.63 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.898e-05/0.005327, allocations: 1.109 kB / 31.85 MB, free: 0.8398 MB / 19.63 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.005435, allocations: 101.8 kB / 31.95 MB, free: 0.7148 MB / 19.63 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.005447, allocations: 4.375 kB / 31.95 MB, free: 0.7109 MB / 19.63 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.00546, allocations: 384 / 31.95 MB, free: 0.7109 MB / 19.63 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.00557, allocations: 26.27 kB / 31.98 MB, free: 0.6797 MB / 19.63 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.00558, allocations: 192 / 31.98 MB, free: 0.6797 MB / 19.63 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.005589, allocations: 384 / 31.98 MB, free: 0.6797 MB / 19.63 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.005593, allocations: 4.375 kB / 31.98 MB, free: 0.6758 MB / 19.63 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.341e-05/0.005617, allocations: 7.938 kB / 31.99 MB, free: 0.668 MB / 19.63 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004189/0.006036, allocations: 335.6 kB / 32.32 MB, free: 316 kB / 19.63 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.006174, allocations: 169.1 kB / 32.48 MB, free: 136 kB / 19.63 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.991e-05/0.006234, allocations: 88.17 kB / 32.57 MB, free: 44 kB / 19.63 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007131/0.01337, allocations: 75.28 kB / 32.64 MB, free: 9.574 MB / 19.63 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.01339, allocations: 105.8 kB / 32.74 MB, free: 9.461 MB / 19.63 MB Notification: Performance of pre-optimization done (n=0): time 1.703e-06/0.01339, allocations: 0 / 32.74 MB, free: 9.461 MB / 19.63 MB Notification: Performance of matching and sorting (n=0): time 9.665e-05/0.01349, allocations: 31.97 kB / 32.78 MB, free: 9.43 MB / 19.63 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.01352, allocations: 127.8 kB / 32.9 MB, free: 9.293 MB / 19.63 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.03e-05/0.01359, allocations: 99.55 kB / 33 MB, free: 9.195 MB / 19.63 MB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.0136, allocations: 25.7 kB / 33.02 MB, free: 9.164 MB / 19.63 MB Notification: Performance of collectInitialEqns (initialization): time 2.859e-05/0.01363, allocations: 83.86 kB / 33.1 MB, free: 9.082 MB / 19.63 MB Notification: Performance of collectInitialBindings (initialization): time 2.185e-06/0.01363, allocations: 1.406 kB / 33.11 MB, free: 9.082 MB / 19.63 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.01367, allocations: 14.97 kB / 33.12 MB, free: 9.066 MB / 19.63 MB Notification: Performance of setup shared object (initialization): time 4.237e-05/0.01371, allocations: 313.4 kB / 33.43 MB, free: 8.754 MB / 19.63 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.106e-05/0.01372, allocations: 2.531 kB / 33.43 MB, free: 8.754 MB / 19.63 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.75e-05/0.01375, allocations: 41.2 kB / 33.47 MB, free: 8.707 MB / 19.63 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.076e-05/0.01377, allocations: 10.8 kB / 33.48 MB, free: 8.699 MB / 19.63 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.01377, allocations: 0 / 33.48 MB, free: 8.699 MB / 19.63 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001132/0.01388, allocations: 38.36 kB / 33.52 MB, free: 8.668 MB / 19.63 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.0139, allocations: 7.469 kB / 33.52 MB, free: 8.668 MB / 19.63 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.01391, allocations: 0 / 33.52 MB, free: 8.668 MB / 19.63 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.01392, allocations: 1.438 kB / 33.53 MB, free: 8.668 MB / 19.63 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.471e-05/0.01399, allocations: 2.594 kB / 33.53 MB, free: 8.668 MB / 19.63 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.01399, allocations: 1.781 kB / 33.53 MB, free: 8.668 MB / 19.63 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.013e-05/0.01401, allocations: 2.125 kB / 33.53 MB, free: 8.668 MB / 19.63 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.01402, allocations: 5.078 kB / 33.54 MB, free: 8.668 MB / 19.63 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 5.222e-05/0.01407, allocations: 185.7 kB / 33.72 MB, free: 8.48 MB / 19.63 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.375e-05/0.01413, allocations: 107.3 kB / 33.82 MB, free: 8.371 MB / 19.63 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.495e-05/0.01415, allocations: 114.2 kB / 33.93 MB, free: 8.262 MB / 19.63 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-05/0.01417, allocations: 177.7 kB / 34.11 MB, free: 8.082 MB / 19.63 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.566e-05/0.0142, allocations: 181.5 kB / 34.29 MB, free: 7.902 MB / 19.63 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-05/0.01422, allocations: 181.7 kB / 34.46 MB, free: 7.723 MB / 19.63 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.01438, allocations: 357.5 kB / 34.81 MB, free: 7.344 MB / 19.63 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.767e-05/0.01439, allocations: 105.1 kB / 34.91 MB, free: 7.238 MB / 19.63 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.849e-05/0.01441, allocations: 108.3 kB / 35.02 MB, free: 7.129 MB / 19.63 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.385e-05/0.01445, allocations: 187 kB / 35.2 MB, free: 6.945 MB / 19.63 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.239e-05/0.01448, allocations: 176.3 kB / 35.38 MB, free: 6.766 MB / 19.63 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.978e-05/0.01451, allocations: 183.8 kB / 35.55 MB, free: 6.582 MB / 19.63 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.577e-05/0.01453, allocations: 179.2 kB / 35.73 MB, free: 6.402 MB / 19.63 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.199e-05/0.01462, allocations: 308.5 kB / 36.03 MB, free: 6.09 MB / 19.63 MB Notification: Performance of postOpt removeConstants (simulation): time 2.962e-05/0.01464, allocations: 114.1 kB / 36.14 MB, free: 5.98 MB / 19.63 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.15e-05/0.01469, allocations: 182.6 kB / 36.32 MB, free: 5.797 MB / 19.63 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.106e-05/0.01478, allocations: 103.2 kB / 36.42 MB, free: 5.691 MB / 19.63 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.221e-05/0.01482, allocations: 182.6 kB / 36.6 MB, free: 5.508 MB / 19.63 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/0.01484, allocations: 105.9 kB / 36.7 MB, free: 5.402 MB / 19.63 MB Notification: Performance of sorting global known variables: time 1.829e-05/0.01486, allocations: 75.28 kB / 36.78 MB, free: 5.328 MB / 19.63 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01486, allocations: 5.219 kB / 36.78 MB, free: 5.328 MB / 19.63 MB Notification: Performance of remove unused functions: time 0.000532/0.01539, allocations: 42.12 kB / 36.82 MB, free: 5.328 MB / 19.63 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.002426/0.01782, allocations: 0.6089 MB / 37.43 MB, free: 4.898 MB / 19.63 MB Notification: Performance of simCode: created initialization part: time 7.719e-05/0.01789, allocations: 3.125 kB / 37.44 MB, free: 4.898 MB / 19.63 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.0179, allocations: 0 / 37.44 MB, free: 4.898 MB / 19.63 MB Notification: Performance of simCode: created simulation system equations: time 3.587e-06/0.0179, allocations: 4.828 kB / 37.44 MB, free: 4.895 MB / 19.63 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003867/0.01829, allocations: 454.5 kB / 37.88 MB, free: 4.449 MB / 19.63 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001757/0.01846, allocations: 155.2 kB / 38.04 MB, free: 4.273 MB / 19.63 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.666e-05/0.0185, allocations: 56.64 kB / 38.09 MB, free: 4.203 MB / 19.63 MB Notification: Performance of simCode: alias equations: time 1.608e-05/0.01851, allocations: 128 / 38.09 MB, free: 4.203 MB / 19.63 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.345e-05/0.01853, allocations: 9.922 kB / 38.1 MB, free: 4.195 MB / 19.63 MB Notification: Performance of SimCode: time 4.21e-07/0.01853, allocations: 5.5 kB / 38.11 MB, free: 4.191 MB / 19.63 MB Notification: Performance of Templates: time 0.005637/0.02417, allocations: 1.698 MB / 39.8 MB, free: 2.957 MB / 19.63 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.7554525062441826] Failed to read output from testmodel.py, exit status != 0: 0.034478817135095596 0.055806213 0.048648848 Calling exit ...