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.001592/0.001592, allocations: 246.6 kB / 19.8 MB, free: 120 kB / 13.93 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.863e-06/1.863e-06, allocations: 0 / 31.19 MB, free: 3.332 MB / 18.57 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.238e-05/1.425e-05, allocations: 2.312 kB / 31.19 MB, free: 3.328 MB / 18.57 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.0006772/0.0006915, allocations: 385.6 kB / 31.56 MB, free: 2.953 MB / 18.57 MB Notification: Performance of NFInst.instExpressions: time 0.0004285/0.00112, allocations: 349.4 kB / 31.91 MB, free: 2.613 MB / 18.57 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.858e-05/0.001149, allocations: 4 kB / 31.91 MB, free: 2.609 MB / 18.57 MB Notification: Performance of NFTyping.typeComponents: time 2.343e-05/0.001172, allocations: 0 / 31.91 MB, free: 2.609 MB / 18.57 MB Notification: Performance of NFTyping.typeBindings: time 2.718e-05/0.001199, allocations: 0 / 31.91 MB, free: 2.609 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.0003435/0.001543, allocations: 107.4 kB / 32.01 MB, free: 2.504 MB / 18.57 MB Notification: Performance of NFFlatten.flatten: time 3.947e-05/0.001582, allocations: 4.375 kB / 32.02 MB, free: 2.5 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 3.656e-05/0.001619, allocations: 128 / 32.02 MB, free: 2.5 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 2.708e-05/0.001646, allocations: 4 kB / 32.02 MB, free: 2.496 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 1.676e-05/0.001663, allocations: 3.938 kB / 32.03 MB, free: 2.492 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 5.881e-06/0.001668, allocations: 0 / 32.03 MB, free: 2.492 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000158/0.001826, allocations: 139.6 kB / 32.16 MB, free: 2.355 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 7.865e-06/0.001834, allocations: 0 / 32.16 MB, free: 2.355 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 1.447e-05/0.001849, allocations: 128 / 32.16 MB, free: 2.355 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.001999, allocations: 135.5 kB / 32.3 MB, free: 2.223 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.002, allocations: 0 / 32.3 MB, free: 2.223 MB / 18.57 MB Notification: Performance of FrontEnd: time 5.71e-07/0.002001, allocations: 0 / 32.3 MB, free: 2.223 MB / 18.57 MB Notification: Performance of Transformations before backend: time 4.329e-06/0.002005, allocations: 0 / 32.3 MB, free: 2.223 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.0002251/0.00223, allocations: 409.9 kB / 32.7 MB, free: 1.777 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.002272, allocations: 12.39 kB / 32.71 MB, free: 1.766 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.002312, allocations: 5.094 kB / 32.71 MB, free: 1.762 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.258e-05/0.002355, allocations: 112.6 kB / 32.82 MB, free: 1.625 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.002366, allocations: 384 / 32.82 MB, free: 1.625 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-06/0.002374, allocations: 384 / 32.82 MB, free: 1.625 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.9e-05/0.002463, allocations: 26.27 kB / 32.85 MB, free: 1.594 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.002473, allocations: 192 / 32.85 MB, free: 1.594 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.002484, allocations: 4.375 kB / 32.85 MB, free: 1.59 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.002491, allocations: 384 / 32.85 MB, free: 1.59 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.348e-05/0.002505, allocations: 11.88 kB / 32.87 MB, free: 1.578 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002061/0.002711, allocations: 470.7 kB / 33.33 MB, free: 1.082 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 5.239e-05/0.002763, allocations: 273.5 kB / 33.59 MB, free: 0.8008 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.497e-05/0.002778, allocations: 126.9 kB / 33.72 MB, free: 0.6719 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.002789, allocations: 119.2 kB / 33.83 MB, free: 0.5547 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.002809, allocations: 152.6 kB / 33.98 MB, free: 404 kB / 18.57 MB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.00281, allocations: 0 / 33.98 MB, free: 404 kB / 18.57 MB Notification: Performance of matching and sorting (n=0): time 5.36e-05/0.002863, allocations: 37.75 kB / 34.02 MB, free: 360 kB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.002894, allocations: 170.6 kB / 34.19 MB, free: 176 kB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.745e-05/0.002941, allocations: 150.3 kB / 34.33 MB, free: 8 kB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 0.002461/0.005403, allocations: 25.7 kB / 34.36 MB, free: 6.992 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 2.74e-05/0.00543, allocations: 136.5 kB / 34.49 MB, free: 6.863 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 2.484e-06/0.005432, allocations: 0.5312 kB / 34.49 MB, free: 6.863 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.108e-05/0.005453, allocations: 21.02 kB / 34.51 MB, free: 6.84 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 2.989e-05/0.005483, allocations: 495.4 kB / 35 MB, free: 6.348 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.508e-06/0.005493, allocations: 1.031 kB / 35 MB, free: 6.348 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.238e-05/0.005515, allocations: 44.14 kB / 35.04 MB, free: 6.293 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.852e-05/0.005534, allocations: 12.91 kB / 35.05 MB, free: 6.281 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.005535, allocations: 0.5625 kB / 35.05 MB, free: 6.281 MB / 18.57 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.237e-05/0.005598, allocations: 38.56 kB / 35.09 MB, free: 6.25 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/0.005607, allocations: 6.156 kB / 35.1 MB, free: 6.25 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.005611, allocations: 5.938 kB / 35.1 MB, free: 6.25 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.005623, allocations: 0 / 35.1 MB, free: 6.25 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.445e-05/0.005668, allocations: 2.219 kB / 35.1 MB, free: 6.25 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.005673, allocations: 3.75 kB / 35.11 MB, free: 6.25 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.648e-06/0.005683, allocations: 1.812 kB / 35.11 MB, free: 6.25 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.005688, allocations: 0 / 35.11 MB, free: 6.25 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 3.052e-05/0.005719, allocations: 273 kB / 35.38 MB, free: 5.973 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.827e-05/0.005737, allocations: 147.8 kB / 35.52 MB, free: 5.824 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.276e-05/0.00576, allocations: 162 kB / 35.68 MB, free: 5.672 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.005772, allocations: 271.7 kB / 35.94 MB, free: 5.406 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-05/0.005787, allocations: 273.5 kB / 36.21 MB, free: 5.137 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.005798, allocations: 265.7 kB / 36.47 MB, free: 4.871 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.228e-05/0.00586, allocations: 496.2 kB / 36.96 MB, free: 4.352 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/0.005869, allocations: 149.4 kB / 37.1 MB, free: 4.203 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.122e-05/0.005881, allocations: 150.4 kB / 37.25 MB, free: 4.055 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.358e-05/0.005894, allocations: 272.5 kB / 37.51 MB, free: 3.789 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.005911, allocations: 265.2 kB / 37.77 MB, free: 3.523 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-05/0.005926, allocations: 272.7 kB / 38.04 MB, free: 3.258 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.33e-05/0.005939, allocations: 268.3 kB / 38.3 MB, free: 2.992 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.953e-05/0.005979, allocations: 447.4 kB / 38.74 MB, free: 2.539 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 1.531e-05/0.005994, allocations: 156.2 kB / 38.89 MB, free: 2.391 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.006014, allocations: 269.3 kB / 39.15 MB, free: 2.125 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.62e-05/0.00604, allocations: 150.3 kB / 39.3 MB, free: 1.977 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.775e-05/0.006058, allocations: 273 kB / 39.57 MB, free: 1.707 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.006065, allocations: 146.8 kB / 39.71 MB, free: 1.559 MB / 18.57 MB Notification: Performance of sorting global known variables: time 1.005e-05/0.006075, allocations: 121.6 kB / 39.83 MB, free: 1.441 MB / 18.57 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006075, allocations: 0 / 39.83 MB, free: 1.441 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0001651/0.00624, allocations: 51.28 kB / 39.88 MB, free: 1.441 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.0007858/0.007026, allocations: 0.668 MB / 40.55 MB, free: 0.9453 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 7.594e-05/0.007102, allocations: 11.19 kB / 40.56 MB, free: 0.9336 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.007103, allocations: 0 / 40.56 MB, free: 0.9336 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.007105, allocations: 8.031 kB / 40.57 MB, free: 0.9297 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.00727, allocations: 0.6984 MB / 41.26 MB, free: 232 kB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002523/0.009793, allocations: 207.6 kB / 41.47 MB, free: 6.488 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.979e-05/0.009813, allocations: 52.16 kB / 41.52 MB, free: 6.418 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 1.398e-05/0.009827, allocations: 3.812 kB / 41.52 MB, free: 6.418 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.167e-05/0.009839, allocations: 11.84 kB / 41.53 MB, free: 6.406 MB / 18.57 MB Notification: Performance of SimCode: time 4.51e-07/0.009839, allocations: 0.5 kB / 41.53 MB, free: 6.406 MB / 18.57 MB Notification: Performance of Templates: time 0.002704/0.01254, allocations: 1.94 MB / 43.47 MB, free: 5.184 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 -lv LOG_STATS > MessagePack_MessagePack.Examples.TestCreateAndReadFile.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 1.3233089381828904]