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.002464/0.002465, allocations: 317.5 kB / 7.788 MB, free: 1.281 MB / 5.871 MB Notification: Performance of FrontEnd - loaded program: time 2.573e-05/2.595e-05, allocations: 0 / 11.92 MB, free: 1.672 MB / 7.832 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.000285/0.0003445, allocations: 95.66 kB / 12.01 MB, free: 1.578 MB / 7.832 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.01057/0.01093, allocations: 2.698 MB / 14.71 MB, free: 2.176 MB / 7.832 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001422/0.01112, allocations: 47.52 kB / 14.75 MB, free: 2.172 MB / 7.832 MB Notification: Performance of FrontEnd - DAE generated: time 0.005228/0.01636, allocations: 2.263 MB / 17.02 MB, free: 368 kB / 7.832 MB Notification: Performance of FrontEnd: time 1.623e-06/0.0164, allocations: 0 / 17.02 MB, free: 368 kB / 7.832 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.01642, allocations: 0 / 17.02 MB, free: 368 kB / 7.832 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.00577/0.02219, allocations: 380.4 kB / 17.39 MB, free: 0.8867 MB / 7.832 MB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/0.02227, allocations: 10.75 kB / 17.4 MB, free: 0.8867 MB / 7.832 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.617e-05/0.02232, allocations: 1.016 kB / 17.4 MB, free: 0.8867 MB / 7.832 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.336e-05/0.0224, allocations: 167.8 kB / 17.56 MB, free: 0.6914 MB / 7.832 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.02242, allocations: 3.875 kB / 17.57 MB, free: 0.6914 MB / 7.832 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.02244, allocations: 352 / 17.57 MB, free: 0.6914 MB / 7.832 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.106e-05/0.02251, allocations: 352 / 17.57 MB, free: 0.6914 MB / 7.832 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.659e-05/0.02257, allocations: 32.91 kB / 17.6 MB, free: 0.6602 MB / 7.832 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.02259, allocations: 2.484 kB / 17.6 MB, free: 0.6602 MB / 7.832 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.02261, allocations: 3.953 kB / 17.61 MB, free: 0.6562 MB / 7.832 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.02262, allocations: 0 / 17.61 MB, free: 0.6562 MB / 7.832 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000381/0.023, allocations: 368.6 kB / 17.97 MB, free: 2.906 MB / 10.46 MB Notification: Performance of preOpt comSubExp (simulation): time 9.7e-05/0.02311, allocations: 170.8 kB / 18.13 MB, free: 2.73 MB / 10.46 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.912e-05/0.02316, allocations: 80.14 kB / 18.21 MB, free: 2.648 MB / 10.46 MB Notification: Performance of preOpt evalFunc (simulation): time 3.7e-05/0.0232, allocations: 75.28 kB / 18.28 MB, free: 2.574 MB / 10.46 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.455e-05/0.02326, allocations: 109.3 kB / 18.39 MB, free: 2.461 MB / 10.46 MB Notification: Performance of pre-optimization done (n=0): time 2.304e-06/0.02327, allocations: 0 / 18.39 MB, free: 2.461 MB / 10.46 MB Notification: Performance of matching and sorting (n=0): time 8.44e-05/0.02336, allocations: 40.47 kB / 18.43 MB, free: 2.422 MB / 10.46 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.0234, allocations: 51.41 kB / 18.48 MB, free: 2.359 MB / 10.46 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.581e-05/0.02349, allocations: 88.67 kB / 18.57 MB, free: 2.27 MB / 10.46 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.02351, allocations: 28.66 kB / 18.6 MB, free: 2.238 MB / 10.46 MB Notification: Performance of collectInitialEqns (initialization): time 5.832e-05/0.02358, allocations: 85.89 kB / 18.68 MB, free: 2.156 MB / 10.46 MB Notification: Performance of collectInitialBindings (initialization): time 1.924e-06/0.02358, allocations: 0 / 18.68 MB, free: 2.156 MB / 10.46 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-06/0.02359, allocations: 0 / 18.68 MB, free: 2.156 MB / 10.46 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.02373, allocations: 312.3 kB / 18.98 MB, free: 1.844 MB / 10.46 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.127e-06/0.02374, allocations: 7.25 kB / 18.99 MB, free: 1.84 MB / 10.46 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.924e-05/0.02377, allocations: 13.56 kB / 19 MB, free: 1.824 MB / 10.46 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.968e-05/0.02379, allocations: 0.9375 kB / 19.01 MB, free: 1.824 MB / 10.46 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.0238, allocations: 0 / 19.01 MB, free: 1.824 MB / 10.46 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.892e-05/0.0239, allocations: 30.11 kB / 19.03 MB, free: 1.793 MB / 10.46 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.02393, allocations: 10.88 kB / 19.05 MB, free: 1.793 MB / 10.46 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.02394, allocations: 0 / 19.05 MB, free: 1.793 MB / 10.46 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.02396, allocations: 1.062 kB / 19.05 MB, free: 1.793 MB / 10.46 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.988e-05/0.02403, allocations: 4 kB / 19.05 MB, free: 1.789 MB / 10.46 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.02404, allocations: 7.422 kB / 19.06 MB, free: 1.785 MB / 10.46 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.575e-05/0.02406, allocations: 0 / 19.06 MB, free: 1.785 MB / 10.46 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.02407, allocations: 0 / 19.06 MB, free: 1.785 MB / 10.46 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001112/0.02418, allocations: 177.9 kB / 19.23 MB, free: 1.605 MB / 10.46 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.462e-05/0.02427, allocations: 135.3 kB / 19.36 MB, free: 1.465 MB / 10.46 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.142e-05/0.02435, allocations: 108.1 kB / 19.47 MB, free: 1.359 MB / 10.46 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.166e-05/0.02442, allocations: 118.2 kB / 19.58 MB, free: 1.234 MB / 10.46 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.942e-05/0.0245, allocations: 180.2 kB / 19.76 MB, free: 1.051 MB / 10.46 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.994e-05/0.02458, allocations: 176.3 kB / 19.93 MB, free: 0.8711 MB / 10.46 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.588e-05/0.02467, allocations: 182.7 kB / 20.11 MB, free: 0.6914 MB / 10.46 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002617/0.02494, allocations: 381.2 kB / 20.48 MB, free: 3.781 MB / 13.96 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.531e-05/0.02499, allocations: 102.4 kB / 20.58 MB, free: 3.676 MB / 13.96 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.776e-05/0.02506, allocations: 105 kB / 20.69 MB, free: 3.566 MB / 13.96 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.593e-05/0.02514, allocations: 190.9 kB / 20.87 MB, free: 3.379 MB / 13.96 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-05/0.02522, allocations: 180.3 kB / 21.05 MB, free: 3.195 MB / 13.96 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.522e-05/0.02531, allocations: 179.9 kB / 21.22 MB, free: 3.016 MB / 13.96 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.569e-05/0.02539, allocations: 187.3 kB / 21.41 MB, free: 2.828 MB / 13.96 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.02554, allocations: 302.9 kB / 21.7 MB, free: 2.516 MB / 13.96 MB Notification: Performance of postOpt removeConstants (simulation): time 7.58e-05/0.02562, allocations: 189.1 kB / 21.89 MB, free: 2.309 MB / 13.96 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.02575, allocations: 176.3 kB / 22.06 MB, free: 2.129 MB / 13.96 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.666e-05/0.02586, allocations: 108 kB / 22.17 MB, free: 2.023 MB / 13.96 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.824e-05/0.02593, allocations: 184.2 kB / 22.34 MB, free: 1.836 MB / 13.96 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.794e-05/0.02598, allocations: 104.9 kB / 22.45 MB, free: 1.727 MB / 13.96 MB Notification: Performance of sorting global known variables: time 3.508e-05/0.02602, allocations: 75.28 kB / 22.52 MB, free: 1.652 MB / 13.96 MB Notification: Performance of sort global known variables: time 2.8e-07/0.02603, allocations: 0 / 22.52 MB, free: 1.652 MB / 13.96 MB Notification: Performance of remove unused functions: time 0.0003772/0.02641, allocations: 55.86 kB / 22.58 MB, free: 1.652 MB / 13.96 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002231/0.02865, allocations: 1.209 MB / 23.78 MB, free: 0.5859 MB / 13.96 MB Notification: Performance of simCode: created initialization part: time 6.899e-05/0.02873, allocations: 10.94 kB / 23.8 MB, free: 0.582 MB / 13.96 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.02874, allocations: 0 / 23.8 MB, free: 0.582 MB / 13.96 MB Notification: Performance of simCode: created simulation system equations: time 3.808e-06/0.02875, allocations: 3.938 kB / 23.8 MB, free: 0.5781 MB / 13.96 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.02908, allocations: 0.5189 MB / 24.32 MB, free: 56 kB / 13.96 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006429/0.03552, allocations: 182.7 kB / 24.5 MB, free: 6.148 MB / 13.96 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001485/0.03571, allocations: 0.6724 MB / 25.17 MB, free: 5.453 MB / 13.96 MB Notification: Performance of simCode: alias equations: time 2.003e-05/0.03574, allocations: 2.953 kB / 25.17 MB, free: 5.453 MB / 13.96 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.697e-05/0.03577, allocations: 7.438 kB / 25.18 MB, free: 5.445 MB / 13.96 MB Notification: Performance of SimCode: time 1.813e-06/0.03577, allocations: 3.75 kB / 25.18 MB, free: 5.445 MB / 13.96 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02336/0.05914, allocations: 2.01 MB / 27.19 MB, free: 5.008 MB / 13.96 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001835/0.05938, allocations: 160.8 kB / 27.35 MB, free: 4.82 MB / 13.96 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.678/1.738, allocations: 0 / 27.35 MB, free: 4.82 MB / 13.96 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/linux/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)