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: "" <> buildModelFMU(MessagePack.Examples.TestCreateAndReadFile,fileNamePrefix="MessagePack_MessagePack_Examples_TestCreateAndReadFile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MessagePack.Examples.TestCreateAndReadFile,fileNamePrefix="MessagePack_MessagePack_Examples_TestCreateAndReadFile",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.1.1-master/package.mo): time 0.02022/0.02022, allocations: 333.3 kB / 15.45 MB, free: 432 kB / 14.72 MB Notification: Performance of FrontEnd - loaded program: time 0.000414/0.000414, allocations: 17.8 kB / 22.3 MB, free: 0.9844 MB / 14.72 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0002196/0.0006528, allocations: 91.92 kB / 22.39 MB, free: 0.8945 MB / 14.72 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.001636/0.002301, allocations: 443.9 kB / 22.83 MB, free: 472 kB / 14.72 MB Notification: Performance of NFInst.instExpressions: time 0.0007977/0.003115, allocations: 344.3 kB / 23.16 MB, free: 128 kB / 14.72 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.225e-05/0.003143, allocations: 0 / 23.16 MB, free: 128 kB / 14.72 MB Notification: Performance of NFTyping.typeComponents: time 1.519e-05/0.003177, allocations: 4 kB / 23.17 MB, free: 124 kB / 14.72 MB Notification: Performance of NFTyping.typeBindings: time 2.536e-05/0.003212, allocations: 0 / 23.17 MB, free: 124 kB / 14.72 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003704/0.003591, allocations: 99.78 kB / 23.26 MB, free: 24 kB / 14.72 MB Notification: Performance of NFFlatten.flatten: time 2.887e-05/0.003634, allocations: 7.938 kB / 23.27 MB, free: 16 kB / 14.72 MB Notification: Performance of NFFlatten.resolveConnections: time 4.197e-05/0.003686, allocations: 7.984 kB / 23.28 MB, free: 8 kB / 14.72 MB Notification: Performance of NFEvalConstants.evaluate: time 1.442e-05/0.003709, allocations: 0 / 23.28 MB, free: 8 kB / 14.72 MB Notification: Performance of NFSimplifyModel.simplify: time 1.255e-05/0.00373, allocations: 0 / 23.28 MB, free: 8 kB / 14.72 MB Notification: Performance of NFPackage.collectConstants: time 4.759e-06/0.003742, allocations: 0 / 23.28 MB, free: 8 kB / 14.72 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005812/0.009562, allocations: 122.2 kB / 23.4 MB, free: 5.363 MB / 14.72 MB Notification: Performance of NFScalarize.scalarize: time 8.626e-06/0.009596, allocations: 0.5 kB / 23.4 MB, free: 5.363 MB / 14.72 MB Notification: Performance of NFVerifyModel.verify: time 1.676e-05/0.009622, allocations: 4.25 kB / 23.4 MB, free: 5.363 MB / 14.72 MB Notification: Performance of NFConvertDAE.convert: time 0.0002284/0.009859, allocations: 120.5 kB / 23.52 MB, free: 5.363 MB / 14.72 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.009875, allocations: 0 / 23.52 MB, free: 5.363 MB / 14.72 MB Notification: Performance of FrontEnd: time 1.032e-06/0.009885, allocations: 4.875 kB / 23.53 MB, free: 5.363 MB / 14.72 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.009903, allocations: 1.938 kB / 23.53 MB, free: 5.363 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.0002774/0.01019, allocations: 380.5 kB / 23.9 MB, free: 4.957 MB / 14.72 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.01024, allocations: 11.58 kB / 23.91 MB, free: 4.957 MB / 14.72 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.045e-05/0.01027, allocations: 32.12 kB / 23.94 MB, free: 4.918 MB / 14.72 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.611e-05/0.01031, allocations: 7.938 kB / 23.95 MB, free: 4.918 MB / 14.72 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.609e-05/0.01037, allocations: 162.4 kB / 24.11 MB, free: 4.723 MB / 14.72 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.01039, allocations: 1.844 kB / 24.11 MB, free: 4.723 MB / 14.72 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-06/0.01041, allocations: 1.875 kB / 24.11 MB, free: 4.723 MB / 14.72 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.494e-05/0.01049, allocations: 27.48 kB / 24.14 MB, free: 4.691 MB / 14.72 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.01051, allocations: 3.938 kB / 24.14 MB, free: 4.688 MB / 14.72 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-06/0.01052, allocations: 0.6562 kB / 24.14 MB, free: 4.688 MB / 14.72 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.01054, allocations: 0 / 24.14 MB, free: 4.688 MB / 14.72 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.786e-05/0.01056, allocations: 5.812 kB / 24.15 MB, free: 4.688 MB / 14.72 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002213/0.01079, allocations: 380.6 kB / 24.52 MB, free: 4.277 MB / 14.72 MB Notification: Performance of preOpt comSubExp (simulation): time 4.693e-05/0.01085, allocations: 178.1 kB / 24.7 MB, free: 4.102 MB / 14.72 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.622e-05/0.01088, allocations: 82.73 kB / 24.78 MB, free: 4.02 MB / 14.72 MB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.0109, allocations: 75.28 kB / 24.85 MB, free: 3.945 MB / 14.72 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.01093, allocations: 109.9 kB / 24.96 MB, free: 3.832 MB / 14.72 MB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.01094, allocations: 1.781 kB / 24.96 MB, free: 3.832 MB / 14.72 MB Notification: Performance of matching and sorting (n=0): time 7.721e-05/0.01103, allocations: 34.55 kB / 24.99 MB, free: 3.797 MB / 14.72 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.357e-05/0.01106, allocations: 126.7 kB / 25.12 MB, free: 3.66 MB / 14.72 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.742e-05/0.01113, allocations: 93.98 kB / 25.21 MB, free: 3.562 MB / 14.72 MB Notification: Performance of collectPreVariables (initialization): time 7.384e-06/0.01114, allocations: 25.7 kB / 25.23 MB, free: 3.531 MB / 14.72 MB Notification: Performance of collectInitialEqns (initialization): time 2.501e-05/0.01118, allocations: 83.45 kB / 25.31 MB, free: 3.449 MB / 14.72 MB Notification: Performance of collectInitialBindings (initialization): time 3.367e-06/0.01119, allocations: 3.969 kB / 25.32 MB, free: 3.449 MB / 14.72 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.961e-05/0.01123, allocations: 11.03 kB / 25.33 MB, free: 3.434 MB / 14.72 MB Notification: Performance of setup shared object (initialization): time 4.293e-05/0.01128, allocations: 315 kB / 25.64 MB, free: 3.117 MB / 14.72 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.057e-06/0.0113, allocations: 4.594 kB / 25.64 MB, free: 3.113 MB / 14.72 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.991e-05/0.01132, allocations: 19.03 kB / 25.66 MB, free: 3.098 MB / 14.72 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.89e-05/0.01135, allocations: 7.172 kB / 25.67 MB, free: 3.09 MB / 14.72 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01136, allocations: 3.938 kB / 25.67 MB, free: 3.086 MB / 14.72 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.713e-05/0.01147, allocations: 35.58 kB / 25.71 MB, free: 3.055 MB / 14.72 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.01149, allocations: 5.984 kB / 25.71 MB, free: 3.055 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.0115, allocations: 4.125 kB / 25.72 MB, free: 3.051 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.01152, allocations: 0 / 25.72 MB, free: 3.051 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.594e-05/0.01158, allocations: 2.438 kB / 25.72 MB, free: 3.051 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.01159, allocations: 0.8438 kB / 25.72 MB, free: 3.051 MB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.767e-05/0.01162, allocations: 4.531 kB / 25.72 MB, free: 3.051 MB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.01163, allocations: 0 / 25.72 MB, free: 3.051 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 5.202e-05/0.01169, allocations: 192.7 kB / 25.91 MB, free: 2.859 MB / 14.72 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.907e-05/0.01175, allocations: 104.3 kB / 26.01 MB, free: 2.754 MB / 14.72 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.528e-05/0.01178, allocations: 113.6 kB / 26.12 MB, free: 2.633 MB / 14.72 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.538e-05/0.01182, allocations: 178.4 kB / 26.3 MB, free: 2.453 MB / 14.72 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.558e-05/0.01185, allocations: 181.3 kB / 26.48 MB, free: 2.273 MB / 14.72 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.598e-05/0.01189, allocations: 185.7 kB / 26.66 MB, free: 2.094 MB / 14.72 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.01206, allocations: 402.1 kB / 27.05 MB, free: 1.648 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.639e-05/0.01208, allocations: 111.2 kB / 27.16 MB, free: 1.539 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.514e-05/0.01211, allocations: 105.5 kB / 27.26 MB, free: 1.434 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.567e-05/0.01214, allocations: 179.4 kB / 27.44 MB, free: 1.254 MB / 14.72 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.631e-05/0.01218, allocations: 179.3 kB / 27.61 MB, free: 1.074 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-05/0.01221, allocations: 184.4 kB / 27.79 MB, free: 0.8906 MB / 14.72 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-05/0.01224, allocations: 180.2 kB / 27.97 MB, free: 0.7109 MB / 14.72 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.012e-05/0.01232, allocations: 313.5 kB / 28.27 MB, free: 404 kB / 14.72 MB Notification: Performance of postOpt removeConstants (simulation): time 3.014e-05/0.01236, allocations: 189.4 kB / 28.46 MB, free: 196 kB / 14.72 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.745e-05/0.01241, allocations: 185.1 kB / 28.64 MB, free: 8 kB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.01255, allocations: 102.5 kB / 28.74 MB, free: 4.852 MB / 19.67 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.34e-05/0.01265, allocations: 180.3 kB / 28.92 MB, free: 4.668 MB / 19.67 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.304e-05/0.01271, allocations: 108.2 kB / 29.02 MB, free: 4.562 MB / 19.67 MB Notification: Performance of sorting global known variables: time 3.925e-05/0.01276, allocations: 76.81 kB / 29.1 MB, free: 4.488 MB / 19.67 MB Notification: Performance of sort global known variables: time 1.61e-07/0.01277, allocations: 0 / 29.1 MB, free: 4.488 MB / 19.67 MB Notification: Performance of remove unused functions: time 0.0004855/0.01326, allocations: 39.55 kB / 29.13 MB, free: 4.484 MB / 19.67 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.01473/0.028, allocations: 1.212 MB / 30.35 MB, free: 3.402 MB / 19.67 MB Notification: Performance of simCode: created initialization part: time 0.0001464/0.0282, allocations: 4.656 kB / 30.35 MB, free: 3.402 MB / 19.67 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.02822, allocations: 0 / 30.35 MB, free: 3.402 MB / 19.67 MB Notification: Performance of simCode: created simulation system equations: time 3.968e-06/0.02824, allocations: 0 / 30.35 MB, free: 3.402 MB / 19.67 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006513/0.02889, allocations: 0.5241 MB / 30.88 MB, free: 2.875 MB / 19.67 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006166/0.02953, allocations: 206.3 kB / 31.08 MB, free: 2.656 MB / 19.67 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.02986, allocations: 0.6712 MB / 31.75 MB, free: 1.961 MB / 19.67 MB Notification: Performance of simCode: alias equations: time 1.971e-05/0.02989, allocations: 0 / 31.75 MB, free: 1.961 MB / 19.67 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.004e-05/0.02992, allocations: 8.875 kB / 31.76 MB, free: 1.953 MB / 19.67 MB Notification: Performance of SimCode: time 4.41e-07/0.02993, allocations: 3.938 kB / 31.76 MB, free: 1.949 MB / 19.67 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02483/0.05477, allocations: 2.39 MB / 34.15 MB, free: 8.742 MB / 19.67 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002176/0.05504, allocations: 227.2 kB / 34.37 MB, free: 8.492 MB / 19.67 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.971/2.026, allocations: 0 / 34.37 MB, free: 8.492 MB / 19.67 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MessagePack_MessagePack_Examples_TestCreateAndReadFile_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 MessagePack_MessagePack_Examples_TestCreateAndReadFile.fmu > MessagePack_MessagePack.Examples.TestCreateAndReadFile.pipe 2>&1)