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.001642/0.001642, allocations: 245.1 kB / 20.03 MB, free: 4.465 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.903e-06/1.903e-06, allocations: 0 / 31.49 MB, free: 2.602 MB / 18.57 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.411e-05/1.601e-05, allocations: 6.25 kB / 31.5 MB, free: 2.594 MB / 18.57 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.00132/0.001336, allocations: 382.7 kB / 31.87 MB, free: 2.223 MB / 18.57 MB Notification: Performance of NFInst.instExpressions: time 0.0006589/0.001995, allocations: 341.5 kB / 32.21 MB, free: 1.891 MB / 18.57 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.55e-05/0.002031, allocations: 4 kB / 32.21 MB, free: 1.887 MB / 18.57 MB Notification: Performance of NFTyping.typeComponents: time 1.907e-05/0.00205, allocations: 0 / 32.21 MB, free: 1.887 MB / 18.57 MB Notification: Performance of NFTyping.typeBindings: time 3.427e-05/0.002084, allocations: 3.938 kB / 32.21 MB, free: 1.883 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.0005759/0.00266, allocations: 107.4 kB / 32.32 MB, free: 1.777 MB / 18.57 MB Notification: Performance of NFFlatten.flatten: time 4.176e-05/0.002702, allocations: 16.3 kB / 32.33 MB, free: 1.762 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 4.975e-05/0.002751, allocations: 128 / 32.34 MB, free: 1.762 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 3.837e-05/0.00279, allocations: 0 / 32.34 MB, free: 1.762 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 2.581e-05/0.002816, allocations: 0 / 32.34 MB, free: 1.762 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 7.293e-06/0.002823, allocations: 0 / 32.34 MB, free: 1.762 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002152/0.003038, allocations: 131.7 kB / 32.46 MB, free: 1.633 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 9.257e-06/0.003047, allocations: 0 / 32.46 MB, free: 1.633 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 1.176e-05/0.003059, allocations: 128 / 32.46 MB, free: 1.633 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.003261, allocations: 135.5 kB / 32.6 MB, free: 1.5 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.003264, allocations: 0 / 32.6 MB, free: 1.5 MB / 18.57 MB Notification: Performance of FrontEnd: time 8.41e-07/0.003265, allocations: 0 / 32.6 MB, free: 1.5 MB / 18.57 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.00327, allocations: 4 kB / 32.6 MB, free: 1.496 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.0003069/0.003576, allocations: 417.8 kB / 33.01 MB, free: 1.043 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 6.379e-05/0.00364, allocations: 8.391 kB / 33.02 MB, free: 1.035 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.468e-05/0.003675, allocations: 5.094 kB / 33.02 MB, free: 1.031 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.49e-05/0.00373, allocations: 108.6 kB / 33.13 MB, free: 0.8984 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.00374, allocations: 384 / 33.13 MB, free: 0.8984 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.332e-06/0.003747, allocations: 384 / 33.13 MB, free: 0.8984 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.495e-05/0.003802, allocations: 26.27 kB / 33.15 MB, free: 0.8672 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.003809, allocations: 4.188 kB / 33.16 MB, free: 0.8633 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.69e-06/0.003815, allocations: 384 / 33.16 MB, free: 0.8633 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.003822, allocations: 384 / 33.16 MB, free: 0.8633 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.368e-06/0.003831, allocations: 11.88 kB / 33.17 MB, free: 0.8516 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001994/0.00403, allocations: 459.3 kB / 33.62 MB, free: 384 kB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 4.714e-05/0.004078, allocations: 265.5 kB / 33.88 MB, free: 104 kB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005433/0.009511, allocations: 129.8 kB / 34 MB, free: 6.586 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.009529, allocations: 119.2 kB / 34.12 MB, free: 6.469 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.009558, allocations: 153.6 kB / 34.27 MB, free: 6.309 MB / 18.57 MB Notification: Performance of pre-optimization done (n=0): time 1.493e-06/0.00956, allocations: 0 / 34.27 MB, free: 6.309 MB / 18.57 MB Notification: Performance of matching and sorting (n=0): time 6.741e-05/0.009627, allocations: 33.19 kB / 34.3 MB, free: 6.277 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.009657, allocations: 171.1 kB / 34.47 MB, free: 6.098 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.558e-05/0.009722, allocations: 154.5 kB / 34.62 MB, free: 5.934 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 7.454e-06/0.00973, allocations: 25.7 kB / 34.65 MB, free: 5.902 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 3.816e-05/0.009768, allocations: 137.1 kB / 34.78 MB, free: 5.773 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 1.834e-06/0.00977, allocations: 1.203 kB / 34.78 MB, free: 5.773 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.727e-05/0.009797, allocations: 17.91 kB / 34.8 MB, free: 5.75 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 5.523e-05/0.009852, allocations: 497.6 kB / 35.29 MB, free: 5.258 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.362e-06/0.009859, allocations: 6.031 kB / 35.29 MB, free: 5.258 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.457e-05/0.009883, allocations: 43.7 kB / 35.33 MB, free: 5.203 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.549e-05/0.009909, allocations: 9.812 kB / 35.34 MB, free: 5.191 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.009911, allocations: 0 / 35.34 MB, free: 5.191 MB / 18.57 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.122e-05/0.009992, allocations: 39.66 kB / 35.38 MB, free: 5.16 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.01001, allocations: 5.469 kB / 35.39 MB, free: 5.16 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.01002, allocations: 0 / 35.39 MB, free: 5.16 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.01003, allocations: 6.781 kB / 35.39 MB, free: 5.16 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.547e-05/0.01008, allocations: 1.562 kB / 35.4 MB, free: 5.16 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.01008, allocations: 0.625 kB / 35.4 MB, free: 5.16 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.564e-05/0.0101, allocations: 4.859 kB / 35.4 MB, free: 5.16 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-06/0.0101, allocations: 0 / 35.4 MB, free: 5.16 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 5.969e-05/0.01016, allocations: 281.2 kB / 35.68 MB, free: 4.879 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.393e-05/0.01019, allocations: 149.8 kB / 35.82 MB, free: 4.73 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.265e-05/0.01023, allocations: 153.7 kB / 35.97 MB, free: 4.578 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.53e-05/0.01025, allocations: 268.5 kB / 36.23 MB, free: 4.312 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-05/0.01028, allocations: 268.9 kB / 36.5 MB, free: 4.047 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.861e-05/0.01031, allocations: 274.7 kB / 36.76 MB, free: 3.781 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.01043, allocations: 472.5 kB / 37.23 MB, free: 3.285 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-05/0.01045, allocations: 150.5 kB / 37.37 MB, free: 3.137 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.712e-05/0.01047, allocations: 151.1 kB / 37.52 MB, free: 2.988 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.782e-05/0.0105, allocations: 271.5 kB / 37.79 MB, free: 2.719 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.002e-05/0.01053, allocations: 270.3 kB / 38.05 MB, free: 2.453 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.883e-05/0.01056, allocations: 270.4 kB / 38.31 MB, free: 2.188 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.673e-05/0.01058, allocations: 269.5 kB / 38.58 MB, free: 1.922 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.059e-05/0.01065, allocations: 447.1 kB / 39.01 MB, free: 1.473 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 2.23e-05/0.01068, allocations: 155.5 kB / 39.17 MB, free: 1.32 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/0.01071, allocations: 270.9 kB / 39.43 MB, free: 1.055 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.267e-05/0.01076, allocations: 149.8 kB / 39.58 MB, free: 0.9062 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.309e-05/0.0108, allocations: 270.5 kB / 39.84 MB, free: 0.6406 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.01081, allocations: 151.9 kB / 39.99 MB, free: 0.4922 MB / 18.57 MB Notification: Performance of sorting global known variables: time 1.899e-05/0.01083, allocations: 121.2 kB / 40.11 MB, free: 384 kB / 18.57 MB Notification: Performance of sort global known variables: time 8e-08/0.01083, allocations: 0 / 40.11 MB, free: 384 kB / 18.57 MB Notification: Performance of remove unused functions: time 0.0003052/0.01114, allocations: 51.48 kB / 40.16 MB, free: 384 kB / 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.001147/0.01228, allocations: 0.6611 MB / 40.82 MB, free: 6.07 MB / 24.77 MB Notification: Performance of simCode: created initialization part: time 6.947e-05/0.01235, allocations: 10.56 kB / 40.83 MB, free: 6.059 MB / 24.77 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.01235, allocations: 0 / 40.83 MB, free: 6.059 MB / 24.77 MB Notification: Performance of simCode: created simulation system equations: time 1.904e-06/0.01236, allocations: 6.531 kB / 40.84 MB, free: 6.059 MB / 24.77 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004321/0.01279, allocations: 0.7117 MB / 41.55 MB, free: 5.352 MB / 24.77 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002294/0.01302, allocations: 209.2 kB / 41.75 MB, free: 5.113 MB / 24.77 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.954e-05/0.01306, allocations: 51.66 kB / 41.8 MB, free: 5.043 MB / 24.77 MB Notification: Performance of simCode: alias equations: time 2.079e-05/0.01308, allocations: 3.656 kB / 41.81 MB, free: 5.043 MB / 24.77 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.043e-05/0.01312, allocations: 66.2 kB / 41.87 MB, free: 4.977 MB / 24.77 MB Notification: Performance of SimCode: time 7.51e-07/0.01312, allocations: 0 / 41.87 MB, free: 4.977 MB / 24.77 MB Notification: Performance of Templates: time 0.00464/0.01776, allocations: 1.95 MB / 43.82 MB, free: 3.449 MB / 24.77 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 -lv LOG_STATS > MessagePack_MessagePack.Examples.TestCreateAndReadFile.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 1.4138171127997339]