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.01207/0.01207, allocations: 330 kB / 15.56 MB, free: 292 kB / 14.72 MB Notification: Performance of FrontEnd - loaded program: time 0.0002329/0.000233, allocations: 11.78 kB / 22.45 MB, free: 0.8008 MB / 14.72 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0001257/0.0003726, allocations: 95.17 kB / 22.54 MB, free: 0.707 MB / 14.72 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.001064/0.001443, allocations: 436.4 kB / 22.97 MB, free: 288 kB / 14.72 MB Notification: Performance of NFInst.instExpressions: time 0.003769/0.005223, allocations: 336 kB / 23.3 MB, free: 5.523 MB / 14.72 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.769e-05/0.005255, allocations: 0 / 23.3 MB, free: 5.523 MB / 14.72 MB Notification: Performance of NFTyping.typeComponents: time 1.424e-05/0.005298, allocations: 0 / 23.3 MB, free: 5.523 MB / 14.72 MB Notification: Performance of NFTyping.typeBindings: time 1.991e-05/0.005322, allocations: 0 / 23.3 MB, free: 5.523 MB / 14.72 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.005633, allocations: 104.1 kB / 23.4 MB, free: 5.523 MB / 14.72 MB Notification: Performance of NFFlatten.flatten: time 2.392e-05/0.005666, allocations: 4.688 kB / 23.4 MB, free: 5.523 MB / 14.72 MB Notification: Performance of NFFlatten.resolveConnections: time 3.202e-05/0.005703, allocations: 2.484 kB / 23.41 MB, free: 5.523 MB / 14.72 MB Notification: Performance of NFEvalConstants.evaluate: time 9.949e-06/0.005717, allocations: 0 / 23.41 MB, free: 5.523 MB / 14.72 MB Notification: Performance of NFSimplifyModel.simplify: time 9.107e-06/0.00573, allocations: 0 / 23.41 MB, free: 5.523 MB / 14.72 MB Notification: Performance of NFPackage.collectConstants: time 3.496e-06/0.005738, allocations: 2.406 kB / 23.41 MB, free: 5.523 MB / 14.72 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.005902, allocations: 141.6 kB / 23.55 MB, free: 5.512 MB / 14.72 MB Notification: Performance of NFScalarize.scalarize: time 5.18e-06/0.005914, allocations: 0 / 23.55 MB, free: 5.512 MB / 14.72 MB Notification: Performance of NFVerifyModel.verify: time 1.051e-05/0.005929, allocations: 1.375 kB / 23.55 MB, free: 5.512 MB / 14.72 MB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.006068, allocations: 121.6 kB / 23.67 MB, free: 5.5 MB / 14.72 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.006076, allocations: 0 / 23.67 MB, free: 5.5 MB / 14.72 MB Notification: Performance of FrontEnd: time 7.72e-07/0.006081, allocations: 0.75 kB / 23.67 MB, free: 5.5 MB / 14.72 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.006089, allocations: 0 / 23.67 MB, free: 5.5 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.0001754/0.006269, allocations: 376.8 kB / 24.04 MB, free: 5.098 MB / 14.72 MB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.006306, allocations: 12.98 kB / 24.05 MB, free: 5.098 MB / 14.72 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.677e-05/0.006327, allocations: 33.75 kB / 24.08 MB, free: 5.059 MB / 14.72 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.747e-05/0.006349, allocations: 1.094 kB / 24.08 MB, free: 5.059 MB / 14.72 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.697e-05/0.00639, allocations: 166.7 kB / 24.25 MB, free: 4.863 MB / 14.72 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.006403, allocations: 2.875 kB / 24.25 MB, free: 4.863 MB / 14.72 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.119e-06/0.006413, allocations: 3.844 kB / 24.25 MB, free: 4.863 MB / 14.72 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.623e-05/0.006473, allocations: 28.55 kB / 24.28 MB, free: 4.832 MB / 14.72 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.15e-06/0.006483, allocations: 3.938 kB / 24.28 MB, free: 4.828 MB / 14.72 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.59e-06/0.006493, allocations: 0 / 24.28 MB, free: 4.828 MB / 14.72 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.036e-06/0.0065, allocations: 4 kB / 24.29 MB, free: 4.824 MB / 14.72 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.253e-05/0.006516, allocations: 5.875 kB / 24.29 MB, free: 4.824 MB / 14.72 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001583/0.006679, allocations: 377.2 kB / 24.66 MB, free: 4.414 MB / 14.72 MB Notification: Performance of preOpt comSubExp (simulation): time 3.314e-05/0.00672, allocations: 175.6 kB / 24.83 MB, free: 4.238 MB / 14.72 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.174e-05/0.006737, allocations: 82.11 kB / 24.91 MB, free: 4.156 MB / 14.72 MB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.006753, allocations: 82.28 kB / 24.99 MB, free: 4.078 MB / 14.72 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.629e-05/0.006773, allocations: 112.5 kB / 25.1 MB, free: 3.961 MB / 14.72 MB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.006778, allocations: 0 / 25.1 MB, free: 3.961 MB / 14.72 MB Notification: Performance of matching and sorting (n=0): time 4.757e-05/0.00683, allocations: 30.33 kB / 25.13 MB, free: 3.93 MB / 14.72 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.006862, allocations: 126.7 kB / 25.26 MB, free: 3.793 MB / 14.72 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.272e-05/0.006909, allocations: 95.02 kB / 25.35 MB, free: 3.695 MB / 14.72 MB Notification: Performance of collectPreVariables (initialization): time 5.541e-06/0.006921, allocations: 29.83 kB / 25.38 MB, free: 3.66 MB / 14.72 MB Notification: Performance of collectInitialEqns (initialization): time 1.921e-05/0.006944, allocations: 86.95 kB / 25.46 MB, free: 3.578 MB / 14.72 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.00695, allocations: 0 / 25.46 MB, free: 3.578 MB / 14.72 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.012e-05/0.006974, allocations: 14.97 kB / 25.48 MB, free: 3.562 MB / 14.72 MB Notification: Performance of setup shared object (initialization): time 2.88e-05/0.007007, allocations: 310.8 kB / 25.78 MB, free: 3.25 MB / 14.72 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.663e-06/0.007018, allocations: 5.25 kB / 25.79 MB, free: 3.25 MB / 14.72 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.348e-05/0.007035, allocations: 9.719 kB / 25.8 MB, free: 3.234 MB / 14.72 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.415e-05/0.007054, allocations: 12.23 kB / 25.81 MB, free: 3.223 MB / 14.72 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.007061, allocations: 3.938 kB / 25.81 MB, free: 3.219 MB / 14.72 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.33e-05/0.007128, allocations: 40.61 kB / 25.85 MB, free: 3.188 MB / 14.72 MB Notification: Performance of prepare postOptimizeDAE: time 9.447e-06/0.007143, allocations: 3.719 kB / 25.86 MB, free: 3.188 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.00715, allocations: 2.953 kB / 25.86 MB, free: 3.188 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.116e-06/0.007163, allocations: 0 / 25.86 MB, free: 3.188 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.362e-05/0.0072, allocations: 0.75 kB / 25.86 MB, free: 3.188 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.007209, allocations: 1.156 kB / 25.86 MB, free: 3.188 MB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.046e-05/0.007223, allocations: 1.188 kB / 25.86 MB, free: 3.188 MB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-06/0.007231, allocations: 4.031 kB / 25.87 MB, free: 3.184 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 3.736e-05/0.007272, allocations: 187 kB / 26.05 MB, free: 2.992 MB / 14.72 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.007307, allocations: 109.7 kB / 26.16 MB, free: 2.887 MB / 14.72 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.691e-05/0.007329, allocations: 106.2 kB / 26.26 MB, free: 2.77 MB / 14.72 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.79e-05/0.007352, allocations: 180.1 kB / 26.44 MB, free: 2.59 MB / 14.72 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.841e-05/0.007374, allocations: 183.5 kB / 26.61 MB, free: 2.406 MB / 14.72 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.679e-05/0.007395, allocations: 182.3 kB / 26.79 MB, free: 2.227 MB / 14.72 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.007501, allocations: 409.6 kB / 27.19 MB, free: 1.781 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.007516, allocations: 101 kB / 27.29 MB, free: 1.676 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.088e-05/0.007531, allocations: 106.6 kB / 27.4 MB, free: 1.57 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.829e-05/0.007554, allocations: 181.9 kB / 27.57 MB, free: 1.391 MB / 14.72 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.007577, allocations: 184.5 kB / 27.75 MB, free: 1.207 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-05/0.007598, allocations: 179.7 kB / 27.93 MB, free: 1.027 MB / 14.72 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.657e-05/0.007618, allocations: 182.1 kB / 28.11 MB, free: 0.8477 MB / 14.72 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.789e-05/0.00767, allocations: 314.2 kB / 28.41 MB, free: 0.5273 MB / 14.72 MB Notification: Performance of postOpt removeConstants (simulation): time 2.272e-05/0.007698, allocations: 198.5 kB / 28.61 MB, free: 324 kB / 14.72 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.007726, allocations: 178.9 kB / 28.78 MB, free: 140 kB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.809e-05/0.007779, allocations: 107.4 kB / 28.89 MB, free: 28 kB / 14.72 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.823e-05/0.007852, allocations: 180.1 kB / 29.06 MB, free: 4.797 MB / 19.67 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.774e-05/0.007884, allocations: 101 kB / 29.16 MB, free: 4.691 MB / 19.67 MB Notification: Performance of sorting global known variables: time 3.156e-05/0.007921, allocations: 77.47 kB / 29.24 MB, free: 4.617 MB / 19.67 MB Notification: Performance of sort global known variables: time 1.31e-07/0.007926, allocations: 4.094 kB / 29.24 MB, free: 4.613 MB / 19.67 MB Notification: Performance of remove unused functions: time 0.0002848/0.008215, allocations: 43.25 kB / 29.28 MB, free: 4.605 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.00171/0.009931, allocations: 1.199 MB / 30.48 MB, free: 3.531 MB / 19.67 MB Notification: Performance of simCode: created initialization part: time 7.044e-05/0.01001, allocations: 2.781 kB / 30.48 MB, free: 3.531 MB / 19.67 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.01003, allocations: 4.062 kB / 30.49 MB, free: 3.527 MB / 19.67 MB Notification: Performance of simCode: created simulation system equations: time 3.537e-06/0.01004, allocations: 11.81 kB / 30.5 MB, free: 3.52 MB / 19.67 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.01047, allocations: 460.4 kB / 30.95 MB, free: 3.066 MB / 19.67 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003721/0.01085, allocations: 202.3 kB / 31.15 MB, free: 2.844 MB / 19.67 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.01116, allocations: 0.6706 MB / 31.82 MB, free: 2.148 MB / 19.67 MB Notification: Performance of simCode: alias equations: time 1.4e-05/0.01118, allocations: 6.688 kB / 31.82 MB, free: 2.145 MB / 19.67 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.522e-05/0.0112, allocations: 7.438 kB / 31.83 MB, free: 2.137 MB / 19.67 MB Notification: Performance of SimCode: time 2.3e-07/0.01121, allocations: 0 / 31.83 MB, free: 2.137 MB / 19.67 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01575/0.02696, allocations: 2.421 MB / 34.25 MB, free: 8.898 MB / 19.67 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001514/0.02714, allocations: 232.6 kB / 34.48 MB, free: 8.648 MB / 19.67 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.738/1.766, allocations: 0 / 34.48 MB, free: 8.648 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)