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.001788/0.001788, allocations: 240.3 kB / 20.1 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.062e-06/1.062e-06, allocations: 3.938 kB / 31.65 MB, free: 2.574 MB / 18.57 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.863e-06/7.925e-06, allocations: 2.312 kB / 31.66 MB, free: 2.57 MB / 18.57 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.0007857/0.0007936, allocations: 422.6 kB / 32.07 MB, free: 2.16 MB / 18.57 MB Notification: Performance of NFInst.instExpressions: time 0.0003312/0.001125, allocations: 357.5 kB / 32.42 MB, free: 1.812 MB / 18.57 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.536e-05/0.00114, allocations: 0 / 32.42 MB, free: 1.812 MB / 18.57 MB Notification: Performance of NFTyping.typeComponents: time 9.718e-06/0.00115, allocations: 0 / 32.42 MB, free: 1.812 MB / 18.57 MB Notification: Performance of NFTyping.typeBindings: time 1.788e-05/0.001168, allocations: 3.938 kB / 32.42 MB, free: 1.809 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.0002175/0.001385, allocations: 107.4 kB / 32.53 MB, free: 1.703 MB / 18.57 MB Notification: Performance of NFFlatten.flatten: time 2.291e-05/0.001408, allocations: 384 / 32.53 MB, free: 1.703 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 2.441e-05/0.001433, allocations: 8.109 kB / 32.53 MB, free: 1.695 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 1.808e-05/0.001451, allocations: 0 / 32.53 MB, free: 1.695 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 1.065e-05/0.001461, allocations: 0 / 32.53 MB, free: 1.695 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 3.827e-06/0.001465, allocations: 0 / 32.53 MB, free: 1.695 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.001602, allocations: 139.7 kB / 32.67 MB, free: 1.559 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 4.028e-06/0.001606, allocations: 4 kB / 32.68 MB, free: 1.555 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 7.003e-06/0.001613, allocations: 128 / 32.68 MB, free: 1.555 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.001717, allocations: 131.5 kB / 32.8 MB, free: 1.426 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 1.393e-06/0.001718, allocations: 0 / 32.8 MB, free: 1.426 MB / 18.57 MB Notification: Performance of FrontEnd: time 4.7e-07/0.001718, allocations: 0 / 32.8 MB, free: 1.426 MB / 18.57 MB Notification: Performance of Transformations before backend: time 2.385e-06/0.001721, allocations: 0 / 32.8 MB, free: 1.426 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.0001223/0.001843, allocations: 290.2 kB / 33.09 MB, free: 1.109 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 2.208e-05/0.001865, allocations: 12.39 kB / 33.1 MB, free: 1.098 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.728e-05/0.001882, allocations: 0.9375 kB / 33.1 MB, free: 1.098 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 2.865e-05/0.001911, allocations: 105.7 kB / 33.2 MB, free: 0.9688 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.143e-06/0.001918, allocations: 4.375 kB / 33.21 MB, free: 0.9648 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.838e-06/0.001922, allocations: 4.375 kB / 33.21 MB, free: 0.9609 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.473e-05/0.001957, allocations: 26.27 kB / 33.24 MB, free: 0.9297 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.55e-06/0.001962, allocations: 192 / 33.24 MB, free: 0.9297 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.777e-06/0.001966, allocations: 384 / 33.24 MB, free: 0.9297 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.00197, allocations: 384 / 33.24 MB, free: 0.9297 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.723e-06/0.001977, allocations: 7.938 kB / 33.25 MB, free: 0.9219 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001046/0.002081, allocations: 291.5 kB / 33.53 MB, free: 0.6211 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 2.247e-05/0.002104, allocations: 169.1 kB / 33.7 MB, free: 456 kB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.474e-06/0.002111, allocations: 84.17 kB / 33.78 MB, free: 368 kB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 5.24e-06/0.002117, allocations: 75.28 kB / 33.85 MB, free: 292 kB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.312e-05/0.00213, allocations: 109.8 kB / 33.96 MB, free: 172 kB / 18.57 MB Notification: Performance of pre-optimization done (n=0): time 5.41e-07/0.00213, allocations: 3.938 kB / 33.96 MB, free: 168 kB / 18.57 MB Notification: Performance of matching and sorting (n=0): time 3.443e-05/0.002165, allocations: 33.64 kB / 34 MB, free: 128 kB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002621/0.004786, allocations: 130.6 kB / 34.12 MB, free: 7.184 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.099e-05/0.004817, allocations: 99.02 kB / 34.22 MB, free: 7.078 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 3.707e-06/0.004821, allocations: 25.7 kB / 34.25 MB, free: 7.047 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 1.692e-05/0.004837, allocations: 83.22 kB / 34.33 MB, free: 6.965 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 1.493e-06/0.004839, allocations: 0 / 34.33 MB, free: 6.965 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.67e-05/0.004856, allocations: 21.27 kB / 34.35 MB, free: 6.949 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 1.571e-05/0.004871, allocations: 311.8 kB / 34.65 MB, free: 6.637 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.946e-06/0.004874, allocations: 3.344 kB / 34.66 MB, free: 6.637 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.278e-05/0.004887, allocations: 39.05 kB / 34.69 MB, free: 6.59 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.266e-05/0.0049, allocations: 7.859 kB / 34.7 MB, free: 6.582 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.004901, allocations: 0 / 34.7 MB, free: 6.582 MB / 18.57 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.033e-05/0.004941, allocations: 40.02 kB / 34.74 MB, free: 6.551 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 7.214e-06/0.004948, allocations: 4.594 kB / 34.74 MB, free: 6.551 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.835e-06/0.004951, allocations: 0 / 34.74 MB, free: 6.551 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.977e-06/0.00496, allocations: 0 / 34.74 MB, free: 6.551 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.441e-05/0.004985, allocations: 5.719 kB / 34.75 MB, free: 6.551 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.744e-06/0.004986, allocations: 0 / 34.75 MB, free: 6.551 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.324e-06/0.004994, allocations: 2.156 kB / 34.75 MB, free: 6.551 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-06/0.004996, allocations: 0.75 kB / 34.75 MB, free: 6.551 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 2.387e-05/0.00502, allocations: 187.1 kB / 34.94 MB, free: 6.363 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.816e-05/0.005038, allocations: 108.5 kB / 35.04 MB, free: 6.258 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.321e-05/0.005052, allocations: 112.7 kB / 35.15 MB, free: 6.145 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.647e-06/0.00506, allocations: 182.3 kB / 35.33 MB, free: 5.961 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.005068, allocations: 179.9 kB / 35.51 MB, free: 5.781 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/0.005076, allocations: 179.3 kB / 35.68 MB, free: 5.602 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.875e-05/0.005135, allocations: 319.4 kB / 35.99 MB, free: 5.273 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.005141, allocations: 101 kB / 36.09 MB, free: 5.168 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.921e-06/0.005147, allocations: 107.4 kB / 36.2 MB, free: 5.062 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.585e-06/0.005154, allocations: 185.3 kB / 36.38 MB, free: 4.883 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.005163, allocations: 186.2 kB / 36.56 MB, free: 4.703 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.616e-06/0.005171, allocations: 182.4 kB / 36.74 MB, free: 4.523 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/0.005179, allocations: 176.3 kB / 36.91 MB, free: 4.344 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 2.575e-05/0.005205, allocations: 307.8 kB / 37.21 MB, free: 4.031 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 1.092e-05/0.005215, allocations: 110 kB / 37.32 MB, free: 3.926 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.005228, allocations: 184.8 kB / 37.5 MB, free: 3.746 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.531e-05/0.005253, allocations: 107 kB / 37.6 MB, free: 3.641 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.137e-05/0.005264, allocations: 182.3 kB / 37.78 MB, free: 3.457 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.005269, allocations: 104.9 kB / 37.88 MB, free: 3.348 MB / 18.57 MB Notification: Performance of sorting global known variables: time 6.281e-06/0.005275, allocations: 14.19 kB / 37.9 MB, free: 3.34 MB / 18.57 MB Notification: Performance of sort global known variables: time 5e-08/0.005276, allocations: 0 / 37.9 MB, free: 3.34 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0001445/0.00542, allocations: 44.88 kB / 37.94 MB, free: 3.34 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.0009554/0.006375, allocations: 0.7015 MB / 38.64 MB, free: 2.832 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 4.133e-05/0.006417, allocations: 11.98 kB / 38.65 MB, free: 2.82 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.006421, allocations: 128 / 38.65 MB, free: 2.82 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 9.11e-07/0.006421, allocations: 3.969 kB / 38.66 MB, free: 2.82 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.052e-05/0.006512, allocations: 459.5 kB / 39.11 MB, free: 2.371 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 7.721e-05/0.006589, allocations: 160.3 kB / 39.26 MB, free: 2.188 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.191e-05/0.006601, allocations: 60.17 kB / 39.32 MB, free: 2.113 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 8.706e-06/0.00661, allocations: 128 / 39.32 MB, free: 2.113 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.378e-05/0.006624, allocations: 49.38 kB / 39.37 MB, free: 2.066 MB / 18.57 MB Notification: Performance of SimCode: time 4.2e-07/0.006624, allocations: 0 / 39.37 MB, free: 2.066 MB / 18.57 MB Notification: Performance of Templates: time 0.002308/0.008932, allocations: 1.94 MB / 41.31 MB, free: 0.5078 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > MessagePack_MessagePack.Examples.TestCreateAndReadFile.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 1.5939390170387924]