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.1.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.1.1-master/package.mo): time 0.003204/0.003204, allocations: 339.4 kB / 19.16 MB, free: 2.723 MB / 14.72 MB " [Timeout remaining time 180] Using package MessagePack with version 0.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.1.1-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.0004843/0.0004843, allocations: 11.88 kB / 30.21 MB, free: 3.941 MB / 14.72 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.423e-05/0.0005685, allocations: 100.3 kB / 30.31 MB, free: 3.887 MB / 14.72 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.0009887/0.001557, allocations: 372.6 kB / 30.67 MB, free: 3.59 MB / 14.72 MB Notification: Performance of NFInst.instExpressions: time 0.0005151/0.002072, allocations: 358.9 kB / 31.03 MB, free: 3.242 MB / 14.72 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.712e-05/0.002099, allocations: 4 kB / 31.03 MB, free: 3.238 MB / 14.72 MB Notification: Performance of NFTyping.typeComponents: time 1.303e-05/0.002112, allocations: 0 / 31.03 MB, free: 3.238 MB / 14.72 MB Notification: Performance of NFTyping.typeBindings: time 2.818e-05/0.002141, allocations: 0 / 31.03 MB, free: 3.238 MB / 14.72 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.1.1-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 0.1.1-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 0.1.1-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.0003251/0.002466, allocations: 111.6 kB / 31.14 MB, free: 3.129 MB / 14.72 MB Notification: Performance of NFFlatten.flatten: time 3.742e-05/0.002503, allocations: 4 kB / 31.14 MB, free: 3.125 MB / 14.72 MB Notification: Performance of NFFlatten.resolveConnections: time 3.874e-05/0.002542, allocations: 4 kB / 31.15 MB, free: 3.121 MB / 14.72 MB Notification: Performance of NFEvalConstants.evaluate: time 1.389e-05/0.002556, allocations: 3.984 kB / 31.15 MB, free: 3.117 MB / 14.72 MB Notification: Performance of NFSimplifyModel.simplify: time 1.461e-05/0.00257, allocations: 0 / 31.15 MB, free: 3.117 MB / 14.72 MB Notification: Performance of NFPackage.collectConstants: time 4.409e-06/0.002575, allocations: 0 / 31.15 MB, free: 3.117 MB / 14.72 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001653/0.00274, allocations: 139.8 kB / 31.29 MB, free: 2.98 MB / 14.72 MB Notification: Performance of NFScalarize.scalarize: time 6.773e-06/0.002747, allocations: 0 / 31.29 MB, free: 2.98 MB / 14.72 MB Notification: Performance of NFVerifyModel.verify: time 1.417e-05/0.002761, allocations: 6.406 kB / 31.29 MB, free: 2.977 MB / 14.72 MB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.002904, allocations: 119.4 kB / 31.41 MB, free: 2.863 MB / 14.72 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.002905, allocations: 4 kB / 31.41 MB, free: 2.859 MB / 14.72 MB Notification: Performance of FrontEnd: time 5.31e-07/0.002906, allocations: 0 / 31.41 MB, free: 2.859 MB / 14.72 MB Notification: Performance of Transformations before backend: time 3.566e-06/0.002909, allocations: 4 kB / 31.42 MB, free: 2.855 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.0002629/0.003172, allocations: 311.8 kB / 31.72 MB, free: 2.508 MB / 14.72 MB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.003202, allocations: 8.391 kB / 31.73 MB, free: 2.5 MB / 14.72 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.304e-05/0.003225, allocations: 1.109 kB / 31.73 MB, free: 2.5 MB / 14.72 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.942e-05/0.003265, allocations: 114.5 kB / 31.84 MB, free: 2.363 MB / 14.72 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.003275, allocations: 384 / 31.84 MB, free: 2.363 MB / 14.72 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.602e-06/0.003282, allocations: 384 / 31.84 MB, free: 2.363 MB / 14.72 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.371e-05/0.003346, allocations: 30.27 kB / 31.87 MB, free: 2.328 MB / 14.72 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.003354, allocations: 4.188 kB / 31.88 MB, free: 2.324 MB / 14.72 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.003361, allocations: 3.938 kB / 31.88 MB, free: 2.32 MB / 14.72 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.003365, allocations: 0 / 31.88 MB, free: 2.32 MB / 14.72 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.36e-05/0.003379, allocations: 0 / 31.88 MB, free: 2.32 MB / 14.72 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001865/0.003565, allocations: 355 kB / 32.23 MB, free: 1.93 MB / 14.72 MB Notification: Performance of preOpt comSubExp (simulation): time 4.229e-05/0.003607, allocations: 181 kB / 32.4 MB, free: 1.742 MB / 14.72 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.418e-05/0.003622, allocations: 84.14 kB / 32.49 MB, free: 1.656 MB / 14.72 MB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.003635, allocations: 75.28 kB / 32.56 MB, free: 1.582 MB / 14.72 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.003657, allocations: 113.9 kB / 32.67 MB, free: 1.461 MB / 14.72 MB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.003658, allocations: 0 / 32.67 MB, free: 1.461 MB / 14.72 MB Notification: Performance of matching and sorting (n=0): time 6.06e-05/0.003718, allocations: 25.88 kB / 32.7 MB, free: 1.43 MB / 14.72 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.00375, allocations: 130.6 kB / 32.82 MB, free: 1.289 MB / 14.72 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.243e-05/0.003793, allocations: 98.02 kB / 32.92 MB, free: 1.184 MB / 14.72 MB Notification: Performance of collectPreVariables (initialization): time 4.779e-06/0.003798, allocations: 29.7 kB / 32.95 MB, free: 1.148 MB / 14.72 MB Notification: Performance of collectInitialEqns (initialization): time 2.207e-05/0.00382, allocations: 82.03 kB / 33.03 MB, free: 1.066 MB / 14.72 MB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.003822, allocations: 0 / 33.03 MB, free: 1.066 MB / 14.72 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-05/0.003844, allocations: 13.89 kB / 33.04 MB, free: 1.047 MB / 14.72 MB Notification: Performance of setup shared object (initialization): time 3.941e-05/0.003883, allocations: 314.8 kB / 33.35 MB, free: 0.7305 MB / 14.72 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.261e-06/0.00389, allocations: 0 / 33.35 MB, free: 0.7305 MB / 14.72 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.574e-05/0.003905, allocations: 13.84 kB / 33.36 MB, free: 0.7109 MB / 14.72 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.565e-05/0.003921, allocations: 8.859 kB / 33.37 MB, free: 0.6992 MB / 14.72 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.003924, allocations: 2.812 kB / 33.38 MB, free: 0.6992 MB / 14.72 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.775e-05/0.004001, allocations: 41.73 kB / 33.42 MB, free: 0.6523 MB / 14.72 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.004012, allocations: 11.94 kB / 33.43 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.004015, allocations: 0 / 33.43 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.004028, allocations: 0 / 33.43 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.275e-05/0.00407, allocations: 0 / 33.43 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.004074, allocations: 0 / 33.43 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.108e-05/0.004085, allocations: 8.641 kB / 33.44 MB, free: 0.6328 MB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.004089, allocations: 4 kB / 33.44 MB, free: 0.6289 MB / 14.72 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.954e-05/0.004129, allocations: 185.7 kB / 33.62 MB, free: 448 kB / 14.72 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.25e-05/0.004161, allocations: 105 kB / 33.72 MB, free: 336 kB / 14.72 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.915e-05/0.004181, allocations: 112.3 kB / 33.83 MB, free: 216 kB / 14.72 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.092e-05/0.004202, allocations: 176.3 kB / 34.01 MB, free: 32 kB / 14.72 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.401e-05/0.004296, allocations: 184.2 kB / 34.19 MB, free: 4.793 MB / 19.67 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-05/0.004374, allocations: 180.3 kB / 34.36 MB, free: 4.609 MB / 19.67 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.004617, allocations: 377.2 kB / 34.73 MB, free: 4.191 MB / 19.67 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-05/0.00467, allocations: 104.9 kB / 34.83 MB, free: 4.082 MB / 19.67 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.396e-05/0.004714, allocations: 101 kB / 34.93 MB, free: 3.977 MB / 19.67 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.527e-05/0.004799, allocations: 184.2 kB / 35.11 MB, free: 3.789 MB / 19.67 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001059/0.004905, allocations: 188.2 kB / 35.29 MB, free: 3.598 MB / 19.67 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.617e-05/0.004981, allocations: 176.3 kB / 35.47 MB, free: 3.418 MB / 19.67 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.022e-05/0.005062, allocations: 180.2 kB / 35.64 MB, free: 3.234 MB / 19.67 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.00523, allocations: 319.9 kB / 35.95 MB, free: 2.898 MB / 19.67 MB Notification: Performance of postOpt removeConstants (simulation): time 6.089e-05/0.005291, allocations: 109 kB / 36.06 MB, free: 2.785 MB / 19.67 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.748e-05/0.005378, allocations: 180.3 kB / 36.24 MB, free: 2.602 MB / 19.67 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.894e-05/0.005457, allocations: 112.9 kB / 36.35 MB, free: 2.484 MB / 19.67 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.6e-05/0.005543, allocations: 176.3 kB / 36.52 MB, free: 2.305 MB / 19.67 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-05/0.005589, allocations: 108.9 kB / 36.63 MB, free: 2.191 MB / 19.67 MB Notification: Performance of sorting global known variables: time 5e-05/0.005639, allocations: 83.28 kB / 36.71 MB, free: 2.109 MB / 19.67 MB Notification: Performance of sort global known variables: time 7.1e-08/0.005639, allocations: 0 / 36.71 MB, free: 2.109 MB / 19.67 MB Notification: Performance of remove unused functions: time 0.0002782/0.005917, allocations: 47.84 kB / 36.75 MB, free: 2.062 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.001595/0.007512, allocations: 0.5564 MB / 37.31 MB, free: 1.5 MB / 19.67 MB Notification: Performance of simCode: created initialization part: time 7.986e-05/0.007592, allocations: 8.062 kB / 37.32 MB, free: 1.492 MB / 19.67 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.007594, allocations: 0 / 37.32 MB, free: 1.492 MB / 19.67 MB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.007595, allocations: 0 / 37.32 MB, free: 1.492 MB / 19.67 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.007974, allocations: 463.7 kB / 37.77 MB, free: 1.035 MB / 19.67 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002095/0.008183, allocations: 156.5 kB / 37.92 MB, free: 0.8477 MB / 19.67 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.008508, allocations: 0.6693 MB / 38.59 MB, free: 156 kB / 19.67 MB Notification: Performance of simCode: alias equations: time 1.157e-05/0.00852, allocations: 0 / 38.59 MB, free: 156 kB / 19.67 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.459e-05/0.008534, allocations: 7.438 kB / 38.6 MB, free: 148 kB / 19.67 MB Notification: Performance of SimCode: time 2.7e-07/0.008535, allocations: 0 / 38.6 MB, free: 148 kB / 19.67 MB Notification: Performance of Templates: time 0.008686/0.01722, allocations: 1.658 MB / 40.26 MB, free: 7.016 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 sys.exit(0), Time elapsed: 2.107198598794639] Failed to read output from testmodel.py, exit status != 0: 0.026863334700465202 0.040769262 0.031899289000000004 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fdd3bfe57b0>