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.00271/0.00271, allocations: 329.7 kB / 19.17 MB, free: 2.441 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 0.0005788/0.0005788, allocations: 11.41 kB / 30.18 MB, free: 3.254 MB / 14.72 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0001302/0.0007091, allocations: 92.94 kB / 30.27 MB, free: 3.184 MB / 14.72 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.001236/0.001945, allocations: 382.5 kB / 30.65 MB, free: 2.934 MB / 14.72 MB Notification: Performance of NFInst.instExpressions: time 0.0005795/0.002524, allocations: 341.1 kB / 30.98 MB, free: 2.625 MB / 14.72 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.694e-05/0.002551, allocations: 0 / 30.98 MB, free: 2.625 MB / 14.72 MB Notification: Performance of NFTyping.typeComponents: time 1.67e-05/0.002568, allocations: 0 / 30.98 MB, free: 2.625 MB / 14.72 MB Notification: Performance of NFTyping.typeBindings: time 1.869e-05/0.002587, allocations: 0 / 30.98 MB, free: 2.625 MB / 14.72 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.0004137/0.003, allocations: 107.6 kB / 31.09 MB, free: 2.52 MB / 14.72 MB Notification: Performance of NFFlatten.flatten: time 3.917e-05/0.00304, allocations: 4 kB / 31.09 MB, free: 2.516 MB / 14.72 MB Notification: Performance of NFFlatten.resolveConnections: time 4.603e-05/0.003086, allocations: 7.984 kB / 31.1 MB, free: 2.508 MB / 14.72 MB Notification: Performance of NFEvalConstants.evaluate: time 1.26e-05/0.003098, allocations: 0 / 31.1 MB, free: 2.508 MB / 14.72 MB Notification: Performance of NFSimplifyModel.simplify: time 1.647e-05/0.003115, allocations: 4 kB / 31.1 MB, free: 2.504 MB / 14.72 MB Notification: Performance of NFPackage.collectConstants: time 5.029e-06/0.00312, allocations: 0 / 31.1 MB, free: 2.504 MB / 14.72 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001994/0.003319, allocations: 139.8 kB / 31.24 MB, free: 2.367 MB / 14.72 MB Notification: Performance of NFScalarize.scalarize: time 9.347e-06/0.003329, allocations: 3.938 kB / 31.24 MB, free: 2.363 MB / 14.72 MB Notification: Performance of NFVerifyModel.verify: time 1.472e-05/0.003343, allocations: 0 / 31.24 MB, free: 2.363 MB / 14.72 MB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.003509, allocations: 111.8 kB / 31.35 MB, free: 2.254 MB / 14.72 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.003511, allocations: 0 / 31.35 MB, free: 2.254 MB / 14.72 MB Notification: Performance of FrontEnd: time 6.41e-07/0.003511, allocations: 0 / 31.35 MB, free: 2.254 MB / 14.72 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.003516, allocations: 3.938 kB / 31.36 MB, free: 2.25 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.0002421/0.003758, allocations: 311.8 kB / 31.66 MB, free: 1.902 MB / 14.72 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.003795, allocations: 8.391 kB / 31.67 MB, free: 1.895 MB / 14.72 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.996e-05/0.003825, allocations: 5.109 kB / 31.67 MB, free: 1.891 MB / 14.72 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.595e-05/0.003871, allocations: 102.5 kB / 31.77 MB, free: 1.766 MB / 14.72 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.003884, allocations: 384 / 31.77 MB, free: 1.766 MB / 14.72 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.003895, allocations: 384 / 31.77 MB, free: 1.766 MB / 14.72 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.945e-05/0.003975, allocations: 34.2 kB / 31.81 MB, free: 1.727 MB / 14.72 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.003983, allocations: 192 / 31.81 MB, free: 1.727 MB / 14.72 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.00399, allocations: 3.938 kB / 31.81 MB, free: 1.723 MB / 14.72 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.003994, allocations: 3.984 kB / 31.81 MB, free: 1.719 MB / 14.72 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.416e-05/0.004008, allocations: 7.938 kB / 31.82 MB, free: 1.711 MB / 14.72 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002089/0.004217, allocations: 327.7 kB / 32.14 MB, free: 1.359 MB / 14.72 MB Notification: Performance of preOpt comSubExp (simulation): time 6.075e-05/0.004278, allocations: 185 kB / 32.32 MB, free: 1.168 MB / 14.72 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.656e-05/0.004295, allocations: 80.14 kB / 32.4 MB, free: 1.086 MB / 14.72 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.004313, allocations: 79.22 kB / 32.48 MB, free: 1.008 MB / 14.72 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.004338, allocations: 109.8 kB / 32.59 MB, free: 0.8906 MB / 14.72 MB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.004339, allocations: 0 / 32.59 MB, free: 0.8906 MB / 14.72 MB Notification: Performance of matching and sorting (n=0): time 6.469e-05/0.004403, allocations: 29.86 kB / 32.62 MB, free: 0.8555 MB / 14.72 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.00443, allocations: 126.7 kB / 32.74 MB, free: 0.7188 MB / 14.72 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.364e-05/0.004494, allocations: 94.2 kB / 32.83 MB, free: 0.6172 MB / 14.72 MB Notification: Performance of collectPreVariables (initialization): time 7.575e-06/0.004501, allocations: 33.83 kB / 32.86 MB, free: 0.5781 MB / 14.72 MB Notification: Performance of collectInitialEqns (initialization): time 2.581e-05/0.004527, allocations: 82.03 kB / 32.94 MB, free: 0.4961 MB / 14.72 MB Notification: Performance of collectInitialBindings (initialization): time 2.745e-06/0.00453, allocations: 0 / 32.94 MB, free: 0.4961 MB / 14.72 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.004553, allocations: 17.83 kB / 32.96 MB, free: 484 kB / 14.72 MB Notification: Performance of setup shared object (initialization): time 4.143e-05/0.004595, allocations: 310.8 kB / 33.27 MB, free: 164 kB / 14.72 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.206e-06/0.004603, allocations: 0 / 33.27 MB, free: 164 kB / 14.72 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.335e-05/0.004626, allocations: 43.41 kB / 33.31 MB, free: 108 kB / 14.72 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.701e-05/0.004643, allocations: 8.859 kB / 33.32 MB, free: 96 kB / 14.72 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.004645, allocations: 0 / 33.32 MB, free: 96 kB / 14.72 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.819e-05/0.004723, allocations: 42.25 kB / 33.36 MB, free: 48 kB / 14.72 MB Notification: Performance of prepare postOptimizeDAE: time 9.809e-06/0.004733, allocations: 4 kB / 33.36 MB, free: 44 kB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.004737, allocations: 3.984 kB / 33.37 MB, free: 40 kB / 14.72 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.004749, allocations: 0 / 33.37 MB, free: 40 kB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.155e-05/0.004791, allocations: 7.938 kB / 33.37 MB, free: 32 kB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.004796, allocations: 0 / 33.37 MB, free: 32 kB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.214e-05/0.004808, allocations: 0 / 33.37 MB, free: 32 kB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-06/0.004812, allocations: 0 / 33.37 MB, free: 32 kB / 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 0.0001294/0.004941, allocations: 189.7 kB / 33.56 MB, free: 4.785 MB / 19.67 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.127e-05/0.005012, allocations: 108.9 kB / 33.66 MB, free: 4.672 MB / 19.67 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.7e-05/0.005079, allocations: 116.4 kB / 33.78 MB, free: 4.551 MB / 19.67 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.037e-05/0.00516, allocations: 184.2 kB / 33.96 MB, free: 4.363 MB / 19.67 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.782e-05/0.005248, allocations: 176.3 kB / 34.13 MB, free: 4.184 MB / 19.67 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.873e-05/0.005346, allocations: 184.2 kB / 34.31 MB, free: 3.996 MB / 19.67 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/0.005584, allocations: 349.8 kB / 34.65 MB, free: 3.617 MB / 19.67 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.865e-05/0.005633, allocations: 105 kB / 34.75 MB, free: 3.508 MB / 19.67 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.519e-05/0.005678, allocations: 104.9 kB / 34.86 MB, free: 3.398 MB / 19.67 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.367e-05/0.005772, allocations: 192.1 kB / 35.04 MB, free: 3.203 MB / 19.67 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.084e-05/0.005863, allocations: 180.2 kB / 35.22 MB, free: 3.02 MB / 19.67 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.531e-05/0.005948, allocations: 180.2 kB / 35.4 MB, free: 2.836 MB / 19.67 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-05/0.006029, allocations: 188.2 kB / 35.58 MB, free: 2.645 MB / 19.67 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.006207, allocations: 312 kB / 35.88 MB, free: 2.316 MB / 19.67 MB Notification: Performance of postOpt removeConstants (simulation): time 5.55e-05/0.006262, allocations: 108.9 kB / 35.99 MB, free: 2.203 MB / 19.67 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.241e-05/0.006355, allocations: 180.3 kB / 36.17 MB, free: 2.02 MB / 19.67 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.618e-05/0.006441, allocations: 104.9 kB / 36.27 MB, free: 1.91 MB / 19.67 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.981e-05/0.006531, allocations: 188.2 kB / 36.45 MB, free: 1.719 MB / 19.67 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.467e-05/0.006585, allocations: 105 kB / 36.56 MB, free: 1.609 MB / 19.67 MB Notification: Performance of sorting global known variables: time 3.933e-05/0.006625, allocations: 75.28 kB / 36.63 MB, free: 1.535 MB / 19.67 MB Notification: Performance of sort global known variables: time 6e-08/0.006625, allocations: 0 / 36.63 MB, free: 1.535 MB / 19.67 MB Notification: Performance of remove unused functions: time 0.0003117/0.006937, allocations: 43.86 kB / 36.67 MB, free: 1.492 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.001536/0.008473, allocations: 0.5976 MB / 37.27 MB, free: 0.8867 MB / 19.67 MB Notification: Performance of simCode: created initialization part: time 7.425e-05/0.008547, allocations: 8 kB / 37.28 MB, free: 0.8789 MB / 19.67 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.008549, allocations: 0 / 37.28 MB, free: 0.8789 MB / 19.67 MB Notification: Performance of simCode: created simulation system equations: time 2.063e-06/0.008551, allocations: 96 / 37.28 MB, free: 0.8789 MB / 19.67 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.008936, allocations: 455.7 kB / 37.72 MB, free: 440 kB / 19.67 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002111/0.009147, allocations: 152.5 kB / 37.87 MB, free: 256 kB / 19.67 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.739e-05/0.009204, allocations: 55.66 kB / 37.93 MB, free: 180 kB / 19.67 MB Notification: Performance of simCode: alias equations: time 1.779e-05/0.009222, allocations: 3.984 kB / 37.93 MB, free: 176 kB / 19.67 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.348e-05/0.009236, allocations: 7.438 kB / 37.94 MB, free: 168 kB / 19.67 MB Notification: Performance of SimCode: time 5.71e-07/0.009236, allocations: 4.062 kB / 37.94 MB, free: 164 kB / 19.67 MB Notification: Performance of Templates: time 0.009314/0.01855, allocations: 1.648 MB / 39.59 MB, free: 7.703 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.529584923759103] Failed to read output from testmodel.py, exit status != 0: 0.025335635989904404 0.045411135000000005 0.039472296000000004 Calling exit ...