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.005181/0.005181, allocations: 240.7 kB / 19.59 MB, free: 188 kB / 13.93 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 3.206e-06/3.206e-06, allocations: 0 / 30.73 MB, free: 3.488 MB / 18.57 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.12e-05/3.44e-05, allocations: 2.312 kB / 30.73 MB, free: 3.484 MB / 18.57 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.001989/0.002023, allocations: 381 kB / 31.1 MB, free: 3.117 MB / 18.57 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.003096, allocations: 345.5 kB / 31.44 MB, free: 2.781 MB / 18.57 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.27e-05/0.003139, allocations: 0 / 31.44 MB, free: 2.781 MB / 18.57 MB Notification: Performance of NFTyping.typeComponents: time 1.849e-05/0.003157, allocations: 0 / 31.44 MB, free: 2.781 MB / 18.57 MB Notification: Performance of NFTyping.typeBindings: time 5.16e-05/0.003209, allocations: 0 / 31.44 MB, free: 2.781 MB / 18.57 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.000596/0.003805, allocations: 115.3 kB / 31.55 MB, free: 2.668 MB / 18.57 MB Notification: Performance of NFFlatten.flatten: time 6.707e-05/0.003872, allocations: 384 / 31.55 MB, free: 2.668 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 6.589e-05/0.003938, allocations: 128 / 31.55 MB, free: 2.668 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 4.418e-05/0.003982, allocations: 3.984 kB / 31.56 MB, free: 2.664 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 3.177e-05/0.004014, allocations: 4 kB / 31.56 MB, free: 2.66 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 9.979e-06/0.004024, allocations: 4 kB / 31.57 MB, free: 2.656 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002875/0.004311, allocations: 135.6 kB / 31.7 MB, free: 2.523 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 1.187e-05/0.004323, allocations: 7.938 kB / 31.71 MB, free: 2.516 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 1.825e-05/0.004342, allocations: 128 / 31.71 MB, free: 2.516 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.00459, allocations: 119.7 kB / 31.82 MB, free: 2.398 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 2.574e-06/0.004593, allocations: 0 / 31.82 MB, free: 2.398 MB / 18.57 MB Notification: Performance of FrontEnd: time 8.21e-07/0.004594, allocations: 4 kB / 31.83 MB, free: 2.395 MB / 18.57 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.004599, allocations: 3.938 kB / 31.83 MB, free: 2.391 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.000362/0.004961, allocations: 413.8 kB / 32.24 MB, free: 1.938 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.005012, allocations: 8.391 kB / 32.24 MB, free: 1.93 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.184e-05/0.005064, allocations: 1.109 kB / 32.25 MB, free: 1.93 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.931e-05/0.005133, allocations: 112.6 kB / 32.35 MB, free: 1.793 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.005152, allocations: 384 / 32.36 MB, free: 1.793 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.948e-06/0.005162, allocations: 384 / 32.36 MB, free: 1.793 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.005263, allocations: 30.27 kB / 32.39 MB, free: 1.758 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.005275, allocations: 192 / 32.39 MB, free: 1.758 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.005287, allocations: 4.375 kB / 32.39 MB, free: 1.754 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.005293, allocations: 384 / 32.39 MB, free: 1.754 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.281e-05/0.005315, allocations: 7.875 kB / 32.4 MB, free: 1.746 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003376/0.005653, allocations: 474.6 kB / 32.86 MB, free: 1.246 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.005759, allocations: 269.5 kB / 33.12 MB, free: 0.9688 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.421e-05/0.005794, allocations: 130.9 kB / 33.25 MB, free: 0.8359 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.005823, allocations: 119.2 kB / 33.37 MB, free: 0.7188 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.005858, allocations: 152.6 kB / 33.52 MB, free: 0.5586 MB / 18.57 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.005859, allocations: 4 kB / 33.52 MB, free: 0.5547 MB / 18.57 MB Notification: Performance of matching and sorting (n=0): time 9.434e-05/0.005953, allocations: 33.75 kB / 33.55 MB, free: 0.5156 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.006004, allocations: 170.6 kB / 33.72 MB, free: 344 kB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.437e-05/0.006098, allocations: 158.3 kB / 33.88 MB, free: 168 kB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.006109, allocations: 29.7 kB / 33.9 MB, free: 132 kB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 4.909e-05/0.006158, allocations: 128.8 kB / 34.03 MB, free: 0 / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 3.366e-06/0.006161, allocations: 0 / 34.03 MB, free: 0 / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01193/0.01809, allocations: 16.41 kB / 34.05 MB, free: 8.125 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.01822, allocations: 494.1 kB / 34.53 MB, free: 7.633 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.185e-05/0.01825, allocations: 1.062 kB / 34.53 MB, free: 7.633 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.279e-05/0.0183, allocations: 44.36 kB / 34.57 MB, free: 7.578 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.288e-05/0.01834, allocations: 12.88 kB / 34.59 MB, free: 7.566 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.01835, allocations: 3.188 kB / 34.59 MB, free: 7.566 MB / 18.57 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001811/0.01853, allocations: 38.23 kB / 34.63 MB, free: 7.535 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 4.104e-05/0.01857, allocations: 5.281 kB / 34.63 MB, free: 7.535 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.01858, allocations: 4.781 kB / 34.64 MB, free: 7.535 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.477e-05/0.01861, allocations: 1.469 kB / 34.64 MB, free: 7.535 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.031e-05/0.01868, allocations: 1.125 kB / 34.64 MB, free: 7.535 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.01868, allocations: 4.344 kB / 34.64 MB, free: 7.535 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.441e-05/0.01871, allocations: 2.562 kB / 34.65 MB, free: 7.535 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.01871, allocations: 4.188 kB / 34.65 MB, free: 7.535 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 9.586e-05/0.01881, allocations: 276.7 kB / 34.92 MB, free: 7.258 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.207e-05/0.01887, allocations: 148.7 kB / 35.06 MB, free: 7.109 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.068e-05/0.01892, allocations: 155.8 kB / 35.22 MB, free: 6.957 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-05/0.01899, allocations: 265.1 kB / 35.48 MB, free: 6.691 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.762e-05/0.01905, allocations: 273 kB / 35.74 MB, free: 6.422 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.356e-05/0.01911, allocations: 272.6 kB / 36.01 MB, free: 6.156 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.01932, allocations: 491.3 kB / 36.49 MB, free: 5.637 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.209e-05/0.01935, allocations: 149.8 kB / 36.63 MB, free: 5.488 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.125e-05/0.01939, allocations: 156.5 kB / 36.79 MB, free: 5.34 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.09e-05/0.01947, allocations: 271.2 kB / 37.05 MB, free: 5.074 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.034e-05/0.01953, allocations: 272.3 kB / 37.32 MB, free: 4.805 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.329e-05/0.01958, allocations: 265.5 kB / 37.58 MB, free: 4.539 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-05/0.01964, allocations: 272.2 kB / 37.84 MB, free: 4.27 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.01976, allocations: 443.2 kB / 38.28 MB, free: 3.816 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 4.296e-05/0.0198, allocations: 154.1 kB / 38.43 MB, free: 3.664 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.579e-05/0.01987, allocations: 266.1 kB / 38.69 MB, free: 3.398 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.634e-05/0.01996, allocations: 154 kB / 38.84 MB, free: 3.246 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.601e-05/0.02002, allocations: 272.7 kB / 39.1 MB, free: 2.98 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.549e-05/0.02006, allocations: 153 kB / 39.25 MB, free: 2.828 MB / 18.57 MB Notification: Performance of sorting global known variables: time 4.284e-05/0.0201, allocations: 120.6 kB / 39.37 MB, free: 2.711 MB / 18.57 MB Notification: Performance of sort global known variables: time 1e-07/0.0201, allocations: 3.938 kB / 39.37 MB, free: 2.707 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0005094/0.02061, allocations: 43.11 kB / 39.42 MB, free: 2.707 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.003615/0.02422, allocations: 0.6407 MB / 40.06 MB, free: 2.23 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0001261/0.02435, allocations: 10.41 kB / 40.07 MB, free: 2.219 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.02435, allocations: 4.062 kB / 40.07 MB, free: 2.215 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 4.078e-06/0.02436, allocations: 0 / 40.07 MB, free: 2.215 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004649/0.02482, allocations: 0.7046 MB / 40.78 MB, free: 1.512 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002898/0.02511, allocations: 202.2 kB / 40.97 MB, free: 1.281 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.377e-05/0.02517, allocations: 58.78 kB / 41.03 MB, free: 1.207 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 2.466e-05/0.02519, allocations: 4.062 kB / 41.03 MB, free: 1.203 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.263e-05/0.02522, allocations: 10.09 kB / 41.04 MB, free: 1.195 MB / 18.57 MB Notification: Performance of SimCode: time 6.62e-07/0.02522, allocations: 0 / 41.04 MB, free: 1.195 MB / 18.57 MB Notification: Performance of Templates: time 0.02135/0.04657, allocations: 1.71 MB / 42.75 MB, free: 7.492 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: 3.1798265849938616]