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.1.1-master/package.mo", uses=false) Using package MessagePack with version 0.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.1.1-master/package.mo) Running command: translateModel(MessagePack.Examples.TestCreateAndReadFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="MessagePack_MessagePack.Examples.TestCreateAndReadFile") translateModel(MessagePack.Examples.TestCreateAndReadFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="MessagePack_MessagePack.Examples.TestCreateAndReadFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.1.1-master/package.mo): time 0.003286/0.003287, allocations: 331.5 kB / 16.63 MB, free: 6.371 MB / 14.72 MB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003595, allocations: 11.72 kB / 24.63 MB, free: 4.883 MB / 14.72 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0001882/0.0005679, allocations: 100.3 kB / 24.73 MB, free: 4.836 MB / 14.72 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.001301/0.001876, allocations: 378.5 kB / 25.1 MB, free: 4.59 MB / 14.72 MB Notification: Performance of NFInst.instExpressions: time 0.0005701/0.002457, allocations: 337 kB / 25.43 MB, free: 4.312 MB / 14.72 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.738e-05/0.002496, allocations: 4 kB / 25.44 MB, free: 4.309 MB / 14.72 MB Notification: Performance of NFTyping.typeComponents: time 1.408e-05/0.002522, allocations: 3.938 kB / 25.44 MB, free: 4.305 MB / 14.72 MB Notification: Performance of NFTyping.typeBindings: time 3.083e-05/0.002557, allocations: 0 / 25.44 MB, free: 4.305 MB / 14.72 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.1.1-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 0.1.1-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 0.1.1-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.0003941/0.002957, allocations: 112.4 kB / 25.55 MB, free: 4.195 MB / 14.72 MB Notification: Performance of NFFlatten.flatten: time 4.765e-05/0.003012, allocations: 3.984 kB / 25.55 MB, free: 4.191 MB / 14.72 MB Notification: Performance of NFFlatten.resolveConnections: time 4.823e-05/0.003065, allocations: 0 / 25.55 MB, free: 4.191 MB / 14.72 MB Notification: Performance of NFEvalConstants.evaluate: time 1.645e-05/0.003087, allocations: 3.938 kB / 25.56 MB, free: 4.188 MB / 14.72 MB Notification: Performance of NFSimplifyModel.simplify: time 1.948e-05/0.003111, allocations: 4 kB / 25.56 MB, free: 4.184 MB / 14.72 MB Notification: Performance of NFPackage.collectConstants: time 4.869e-06/0.00312, allocations: 0 / 25.56 MB, free: 4.184 MB / 14.72 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002049/0.003329, allocations: 147.8 kB / 25.7 MB, free: 4.039 MB / 14.72 MB Notification: Performance of NFScalarize.scalarize: time 9.778e-06/0.003353, allocations: 3.984 kB / 25.71 MB, free: 4.035 MB / 14.72 MB Notification: Performance of NFVerifyModel.verify: time 1.753e-05/0.003375, allocations: 5.859 kB / 25.71 MB, free: 4.031 MB / 14.72 MB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.003556, allocations: 111.8 kB / 25.82 MB, free: 3.922 MB / 14.72 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.003565, allocations: 0 / 25.82 MB, free: 3.922 MB / 14.72 MB Notification: Performance of FrontEnd: time 6.62e-07/0.00357, allocations: 0 / 25.82 MB, free: 3.922 MB / 14.72 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.003584, allocations: 0 / 25.82 MB, free: 3.922 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.0002899/0.003878, allocations: 381.4 kB / 26.2 MB, free: 3.488 MB / 14.72 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.003921, allocations: 12.33 kB / 26.21 MB, free: 3.477 MB / 14.72 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.7e-05/0.003963, allocations: 5.094 kB / 26.21 MB, free: 3.473 MB / 14.72 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.317e-05/0.004031, allocations: 164.4 kB / 26.37 MB, free: 3.273 MB / 14.72 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.004048, allocations: 4.375 kB / 26.38 MB, free: 3.27 MB / 14.72 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-06/0.00406, allocations: 3.891 kB / 26.38 MB, free: 3.27 MB / 14.72 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.713e-05/0.004151, allocations: 34.2 kB / 26.41 MB, free: 3.23 MB / 14.72 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.004166, allocations: 192 / 26.42 MB, free: 3.23 MB / 14.72 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.004181, allocations: 3.938 kB / 26.42 MB, free: 3.227 MB / 14.72 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.00419, allocations: 0 / 26.42 MB, free: 3.227 MB / 14.72 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.995e-05/0.004213, allocations: 3.984 kB / 26.42 MB, free: 3.223 MB / 14.72 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000266/0.004483, allocations: 380 kB / 26.79 MB, free: 2.801 MB / 14.72 MB Notification: Performance of preOpt comSubExp (simulation): time 5.2e-05/0.004544, allocations: 171 kB / 26.96 MB, free: 2.625 MB / 14.72 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.923e-05/0.004568, allocations: 84.08 kB / 27.04 MB, free: 2.539 MB / 14.72 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.00459, allocations: 75.28 kB / 27.12 MB, free: 2.465 MB / 14.72 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.004623, allocations: 113.9 kB / 27.23 MB, free: 2.344 MB / 14.72 MB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.004628, allocations: 0 / 27.23 MB, free: 2.344 MB / 14.72 MB Notification: Performance of matching and sorting (n=0): time 7.086e-05/0.004704, allocations: 37.89 kB / 27.26 MB, free: 2.301 MB / 14.72 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.004744, allocations: 126.7 kB / 27.39 MB, free: 2.164 MB / 14.72 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.921e-05/0.004809, allocations: 94.02 kB / 27.48 MB, free: 2.062 MB / 14.72 MB Notification: Performance of collectPreVariables (initialization): time 7.825e-06/0.004821, allocations: 25.7 kB / 27.51 MB, free: 2.031 MB / 14.72 MB Notification: Performance of collectInitialEqns (initialization): time 3.081e-05/0.004857, allocations: 81.86 kB / 27.59 MB, free: 1.949 MB / 14.72 MB Notification: Performance of collectInitialBindings (initialization): time 2.926e-06/0.004864, allocations: 0 / 27.59 MB, free: 1.949 MB / 14.72 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.169e-05/0.004889, allocations: 14.81 kB / 27.6 MB, free: 1.93 MB / 14.72 MB Notification: Performance of setup shared object (initialization): time 5.607e-05/0.004951, allocations: 323 kB / 27.92 MB, free: 1.605 MB / 14.72 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.718e-06/0.004965, allocations: 0 / 27.92 MB, free: 1.605 MB / 14.72 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.751e-05/0.004987, allocations: 13.66 kB / 27.93 MB, free: 1.586 MB / 14.72 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.91e-05/0.005011, allocations: 8.859 kB / 27.94 MB, free: 1.574 MB / 14.72 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.005017, allocations: 0 / 27.94 MB, free: 1.574 MB / 14.72 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.918e-05/0.00511, allocations: 37.58 kB / 27.97 MB, free: 1.531 MB / 14.72 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.005128, allocations: 8 kB / 27.98 MB, free: 1.523 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.005137, allocations: 4.125 kB / 27.99 MB, free: 1.52 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.005156, allocations: 3.938 kB / 27.99 MB, free: 1.516 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.903e-05/0.005208, allocations: 0 / 27.99 MB, free: 1.516 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.005218, allocations: 1.953 kB / 27.99 MB, free: 1.516 MB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.457e-05/0.005237, allocations: 4 kB / 28 MB, free: 1.512 MB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.005248, allocations: 0 / 28 MB, free: 1.512 MB / 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 6.436e-05/0.005316, allocations: 197.5 kB / 28.19 MB, free: 1.309 MB / 14.72 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.955e-05/0.00536, allocations: 101 kB / 28.29 MB, free: 1.203 MB / 14.72 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.865e-05/0.005393, allocations: 112.5 kB / 28.4 MB, free: 1.082 MB / 14.72 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.054e-05/0.005428, allocations: 180.2 kB / 28.57 MB, free: 0.8984 MB / 14.72 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.215e-05/0.005465, allocations: 176.3 kB / 28.74 MB, free: 0.7188 MB / 14.72 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.16e-05/0.005501, allocations: 184.2 kB / 28.92 MB, free: 0.5312 MB / 14.72 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.005651, allocations: 405.2 kB / 29.32 MB, free: 80 kB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.007131/0.01279, allocations: 105 kB / 29.42 MB, free: 4.273 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.906e-05/0.01284, allocations: 103.6 kB / 29.52 MB, free: 4.168 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-05/0.01288, allocations: 180.8 kB / 29.7 MB, free: 3.988 MB / 14.72 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.71e-05/0.01293, allocations: 178.1 kB / 29.87 MB, free: 3.809 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.69e-05/0.01297, allocations: 182.3 kB / 30.05 MB, free: 3.629 MB / 14.72 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.475e-05/0.01301, allocations: 179.2 kB / 30.23 MB, free: 3.449 MB / 14.72 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.857e-05/0.01311, allocations: 318.4 kB / 30.54 MB, free: 3.141 MB / 14.72 MB Notification: Performance of postOpt removeConstants (simulation): time 4.402e-05/0.01316, allocations: 185 kB / 30.72 MB, free: 2.941 MB / 14.72 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/0.01321, allocations: 178.6 kB / 30.89 MB, free: 2.762 MB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.08e-05/0.01327, allocations: 106.7 kB / 31 MB, free: 2.656 MB / 14.72 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.01332, allocations: 179.7 kB / 31.17 MB, free: 2.477 MB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.01334, allocations: 107.5 kB / 31.28 MB, free: 2.371 MB / 14.72 MB Notification: Performance of sorting global known variables: time 3.393e-05/0.01338, allocations: 78.02 kB / 31.35 MB, free: 2.297 MB / 14.72 MB Notification: Performance of sort global known variables: time 1.11e-07/0.01339, allocations: 0 / 31.35 MB, free: 2.297 MB / 14.72 MB Notification: Performance of remove unused functions: time 0.0003372/0.01373, allocations: 45.91 kB / 31.4 MB, free: 2.297 MB / 14.72 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.002207/0.01594, allocations: 0.557 MB / 31.96 MB, free: 1.918 MB / 14.72 MB Notification: Performance of simCode: created initialization part: time 0.0001119/0.01607, allocations: 11.47 kB / 31.97 MB, free: 1.918 MB / 14.72 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.01608, allocations: 4.406 kB / 31.97 MB, free: 1.918 MB / 14.72 MB Notification: Performance of simCode: created simulation system equations: time 2.073e-06/0.01609, allocations: 0 / 31.97 MB, free: 1.918 MB / 14.72 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.01647, allocations: 457.2 kB / 32.42 MB, free: 1.473 MB / 14.72 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002067/0.01669, allocations: 183 kB / 32.6 MB, free: 1.27 MB / 14.72 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.01683, allocations: 0.6728 MB / 33.27 MB, free: 0.5742 MB / 14.72 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.44e-05/0.01686, allocations: 7.438 kB / 33.28 MB, free: 0.5664 MB / 14.72 MB Notification: Performance of SimCode: time 5.41e-07/0.01686, allocations: 0 / 33.28 MB, free: 0.5664 MB / 14.72 MB Notification: Performance of Templates: time 0.004341/0.02121, allocations: 1.81 MB / 35.09 MB, free: 4.316 MB / 19.63 MB make -j1 -f MessagePack_MessagePack.Examples.TestCreateAndReadFile.makefile (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)