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.01037/0.01037, allocations: 328.5 kB / 15.82 MB, free: 5.512 MB / 14.72 MB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003263, allocations: 11.16 kB / 22.84 MB, free: 5.289 MB / 14.72 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0001348/0.0004859, allocations: 95.5 kB / 22.93 MB, free: 5.285 MB / 14.72 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.001286/0.001782, allocations: 371.9 kB / 23.29 MB, free: 5.18 MB / 14.72 MB Notification: Performance of NFInst.instExpressions: time 0.0005942/0.002389, allocations: 347.2 kB / 23.63 MB, free: 5.031 MB / 14.72 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.18e-05/0.002423, allocations: 0 / 23.63 MB, free: 5.031 MB / 14.72 MB Notification: Performance of NFTyping.typeComponents: time 1.425e-05/0.002467, allocations: 0 / 23.63 MB, free: 5.031 MB / 14.72 MB Notification: Performance of NFTyping.typeBindings: time 2.198e-05/0.002493, allocations: 0 / 23.63 MB, free: 5.031 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.0004258/0.002924, allocations: 112.9 kB / 23.74 MB, free: 4.984 MB / 14.72 MB Notification: Performance of NFFlatten.flatten: time 3.376e-05/0.002965, allocations: 3.984 kB / 23.75 MB, free: 4.98 MB / 14.72 MB Notification: Performance of NFFlatten.resolveConnections: time 6.229e-05/0.003033, allocations: 8.844 kB / 23.76 MB, free: 4.977 MB / 14.72 MB Notification: Performance of NFEvalConstants.evaluate: time 1.381e-05/0.003056, allocations: 0 / 23.76 MB, free: 4.977 MB / 14.72 MB Notification: Performance of NFSimplifyModel.simplify: time 1.203e-05/0.003074, allocations: 1.375 kB / 23.76 MB, free: 4.977 MB / 14.72 MB Notification: Performance of NFPackage.collectConstants: time 5.54e-06/0.003085, allocations: 0 / 23.76 MB, free: 4.977 MB / 14.72 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000253/0.003346, allocations: 132.9 kB / 23.89 MB, free: 4.949 MB / 14.72 MB Notification: Performance of NFScalarize.scalarize: time 7.855e-06/0.003365, allocations: 0 / 23.89 MB, free: 4.949 MB / 14.72 MB Notification: Performance of NFVerifyModel.verify: time 1.693e-05/0.003388, allocations: 3.984 kB / 23.89 MB, free: 4.945 MB / 14.72 MB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.003594, allocations: 123.2 kB / 24.01 MB, free: 4.898 MB / 14.72 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.003605, allocations: 3.938 kB / 24.01 MB, free: 4.895 MB / 14.72 MB Notification: Performance of FrontEnd: time 7.41e-07/0.00361, allocations: 0 / 24.01 MB, free: 4.895 MB / 14.72 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.003619, allocations: 0 / 24.01 MB, free: 4.895 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.0002274/0.003851, allocations: 384 kB / 24.39 MB, free: 4.48 MB / 14.72 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.003893, allocations: 8.766 kB / 24.4 MB, free: 4.48 MB / 14.72 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.178e-05/0.00392, allocations: 30.75 kB / 24.43 MB, free: 4.441 MB / 14.72 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.275e-05/0.003948, allocations: 8.562 kB / 24.44 MB, free: 4.441 MB / 14.72 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.024e-05/0.004002, allocations: 164.3 kB / 24.6 MB, free: 4.242 MB / 14.72 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.004019, allocations: 384 / 24.6 MB, free: 4.242 MB / 14.72 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.001e-06/0.004029, allocations: 384 / 24.6 MB, free: 4.242 MB / 14.72 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.212e-05/0.004105, allocations: 29.67 kB / 24.63 MB, free: 4.211 MB / 14.72 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.004119, allocations: 7.938 kB / 24.63 MB, free: 4.203 MB / 14.72 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.81e-06/0.004129, allocations: 0 / 24.63 MB, free: 4.203 MB / 14.72 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.004137, allocations: 3.984 kB / 24.64 MB, free: 4.199 MB / 14.72 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.491e-05/0.004155, allocations: 0 / 24.64 MB, free: 4.199 MB / 14.72 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001924/0.004352, allocations: 379.5 kB / 25.01 MB, free: 3.781 MB / 14.72 MB Notification: Performance of preOpt comSubExp (simulation): time 3.596e-05/0.004396, allocations: 173 kB / 25.18 MB, free: 3.602 MB / 14.72 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.542e-05/0.004418, allocations: 87.58 kB / 25.26 MB, free: 3.516 MB / 14.72 MB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.004433, allocations: 75.28 kB / 25.34 MB, free: 3.441 MB / 14.72 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/0.004455, allocations: 113.8 kB / 25.45 MB, free: 3.32 MB / 14.72 MB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.00446, allocations: 0 / 25.45 MB, free: 3.32 MB / 14.72 MB Notification: Performance of matching and sorting (n=0): time 6.277e-05/0.004527, allocations: 33.78 kB / 25.48 MB, free: 3.281 MB / 14.72 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.276e-05/0.004555, allocations: 126.7 kB / 25.6 MB, free: 3.145 MB / 14.72 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.777e-05/0.004608, allocations: 98.02 kB / 25.7 MB, free: 3.039 MB / 14.72 MB Notification: Performance of collectPreVariables (initialization): time 7.203e-06/0.004621, allocations: 25.7 kB / 25.73 MB, free: 3.008 MB / 14.72 MB Notification: Performance of collectInitialEqns (initialization): time 2.344e-05/0.004649, allocations: 85.95 kB / 25.81 MB, free: 2.926 MB / 14.72 MB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.004656, allocations: 0 / 25.81 MB, free: 2.926 MB / 14.72 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.42e-05/0.004685, allocations: 13.72 kB / 25.82 MB, free: 2.906 MB / 14.72 MB Notification: Performance of setup shared object (initialization): time 3.294e-05/0.004722, allocations: 310.9 kB / 26.13 MB, free: 2.594 MB / 14.72 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.014e-06/0.004734, allocations: 0 / 26.13 MB, free: 2.594 MB / 14.72 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.682e-05/0.004755, allocations: 21.83 kB / 26.15 MB, free: 2.566 MB / 14.72 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.853e-05/0.004778, allocations: 15.48 kB / 26.16 MB, free: 2.555 MB / 14.72 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.004785, allocations: 3.938 kB / 26.17 MB, free: 2.551 MB / 14.72 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.043e-05/0.004869, allocations: 33.64 kB / 26.2 MB, free: 2.512 MB / 14.72 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.004889, allocations: 8 kB / 26.21 MB, free: 2.504 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.004898, allocations: 0 / 26.21 MB, free: 2.504 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.004915, allocations: 0 / 26.21 MB, free: 2.504 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.603e-05/0.004964, allocations: 0 / 26.21 MB, free: 2.504 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.004974, allocations: 0 / 26.21 MB, free: 2.504 MB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.26e-05/0.004992, allocations: 4.125 kB / 26.21 MB, free: 2.5 MB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-06/0.005001, allocations: 4 kB / 26.22 MB, free: 2.496 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.387e-05/0.005059, allocations: 189.6 kB / 26.4 MB, free: 2.301 MB / 14.72 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.669e-05/0.005101, allocations: 108.4 kB / 26.51 MB, free: 2.191 MB / 14.72 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.327e-05/0.005128, allocations: 112.4 kB / 26.62 MB, free: 2.066 MB / 14.72 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.309e-05/0.005156, allocations: 176.3 kB / 26.79 MB, free: 1.887 MB / 14.72 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.819e-05/0.00519, allocations: 185.5 kB / 26.97 MB, free: 1.699 MB / 14.72 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-05/0.005219, allocations: 180.2 kB / 27.15 MB, free: 1.516 MB / 14.72 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.005349, allocations: 404.6 kB / 27.54 MB, free: 1.066 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-05/0.005371, allocations: 104.9 kB / 27.64 MB, free: 0.957 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.397e-05/0.00539, allocations: 101 kB / 27.74 MB, free: 0.8516 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.581e-05/0.00542, allocations: 188.2 kB / 27.93 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.00545, allocations: 180.3 kB / 28.1 MB, free: 488 kB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.556e-05/0.00548, allocations: 179.6 kB / 28.28 MB, free: 304 kB / 14.72 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.763e-05/0.005512, allocations: 180.2 kB / 28.45 MB, free: 116 kB / 14.72 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.005654, allocations: 319.3 kB / 28.76 MB, free: 4.73 MB / 19.67 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.005801, allocations: 182 kB / 28.94 MB, free: 4.527 MB / 19.67 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.064e-05/0.005902, allocations: 188.3 kB / 29.13 MB, free: 4.336 MB / 19.67 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.807e-05/0.006009, allocations: 108.9 kB / 29.23 MB, free: 4.223 MB / 19.67 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.578e-05/0.006083, allocations: 180.2 kB / 29.41 MB, free: 4.039 MB / 19.67 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.613e-05/0.006125, allocations: 108.2 kB / 29.51 MB, free: 3.93 MB / 19.67 MB Notification: Performance of sorting global known variables: time 3.604e-05/0.006166, allocations: 83.28 kB / 29.6 MB, free: 3.848 MB / 19.67 MB Notification: Performance of sort global known variables: time 1.1e-07/0.006171, allocations: 0 / 29.6 MB, free: 3.848 MB / 19.67 MB Notification: Performance of remove unused functions: time 0.0003086/0.006485, allocations: 38.86 kB / 29.63 MB, free: 3.816 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.001994/0.008486, allocations: 1.188 MB / 30.82 MB, free: 2.613 MB / 19.67 MB Notification: Performance of simCode: created initialization part: time 7.319e-05/0.008577, allocations: 12.02 kB / 30.83 MB, free: 2.602 MB / 19.67 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.008589, allocations: 0 / 30.83 MB, free: 2.602 MB / 19.67 MB Notification: Performance of simCode: created simulation system equations: time 4.509e-06/0.008598, allocations: 7.938 kB / 30.84 MB, free: 2.594 MB / 19.67 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.008984, allocations: 463.6 kB / 31.29 MB, free: 2.137 MB / 19.67 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003811/0.009372, allocations: 201.5 kB / 31.49 MB, free: 1.895 MB / 19.67 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/0.009601, allocations: 0.6732 MB / 32.16 MB, free: 1.195 MB / 19.67 MB Notification: Performance of simCode: alias equations: time 1.334e-05/0.009621, allocations: 0 / 32.16 MB, free: 1.195 MB / 19.67 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.802e-05/0.009644, allocations: 7.438 kB / 32.17 MB, free: 1.188 MB / 19.67 MB Notification: Performance of SimCode: time 2.31e-07/0.009649, allocations: 0 / 32.17 MB, free: 1.188 MB / 19.67 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02498/0.03463, allocations: 2.491 MB / 34.66 MB, free: 7.82 MB / 19.67 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.439/7.474, allocations: 4.547 kB / 34.67 MB, free: 7.82 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)