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.007533/0.007533, allocations: 328.2 kB / 15.96 MB, free: 6 MB / 14.72 MB Notification: Performance of FrontEnd - loaded program: time 0.0003037/0.0003036, allocations: 10.44 kB / 23.47 MB, free: 5.141 MB / 14.72 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0001927/0.0005183, allocations: 95.36 kB / 23.56 MB, free: 5.137 MB / 14.72 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.001034/0.00156, allocations: 376.1 kB / 23.93 MB, free: 5.078 MB / 14.72 MB Notification: Performance of NFInst.instExpressions: time 0.0005552/0.002127, allocations: 347.8 kB / 24.27 MB, free: 4.855 MB / 14.72 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.078e-05/0.002159, allocations: 4 kB / 24.28 MB, free: 4.852 MB / 14.72 MB Notification: Performance of NFTyping.typeComponents: time 1.402e-05/0.002184, allocations: 0 / 24.28 MB, free: 4.852 MB / 14.72 MB Notification: Performance of NFTyping.typeBindings: time 1.952e-05/0.00221, allocations: 3.938 kB / 24.28 MB, free: 4.848 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.0003299/0.002545, allocations: 111.5 kB / 24.39 MB, free: 4.777 MB / 14.72 MB Notification: Performance of NFFlatten.flatten: time 3.183e-05/0.002584, allocations: 0 / 24.39 MB, free: 4.777 MB / 14.72 MB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.002629, allocations: 4 kB / 24.39 MB, free: 4.773 MB / 14.72 MB Notification: Performance of NFEvalConstants.evaluate: time 1.224e-05/0.002646, allocations: 3.938 kB / 24.4 MB, free: 4.77 MB / 14.72 MB Notification: Performance of NFSimplifyModel.simplify: time 1.388e-05/0.002664, allocations: 0 / 24.4 MB, free: 4.77 MB / 14.72 MB Notification: Performance of NFPackage.collectConstants: time 4.749e-06/0.002673, allocations: 4 kB / 24.4 MB, free: 4.766 MB / 14.72 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001656/0.002843, allocations: 147.2 kB / 24.54 MB, free: 4.656 MB / 14.72 MB Notification: Performance of NFScalarize.scalarize: time 6.522e-06/0.002857, allocations: 0 / 24.54 MB, free: 4.656 MB / 14.72 MB Notification: Performance of NFVerifyModel.verify: time 1.157e-05/0.002873, allocations: 0 / 24.54 MB, free: 4.656 MB / 14.72 MB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.003025, allocations: 119.7 kB / 24.66 MB, free: 4.566 MB / 14.72 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.003034, allocations: 4 kB / 24.66 MB, free: 4.562 MB / 14.72 MB Notification: Performance of FrontEnd: time 6.21e-07/0.003039, allocations: 0 / 24.66 MB, free: 4.562 MB / 14.72 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.003047, allocations: 0 / 24.66 MB, free: 4.562 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.0002183/0.00327, allocations: 384 kB / 25.04 MB, free: 4.133 MB / 14.72 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.003309, allocations: 8.328 kB / 25.05 MB, free: 4.125 MB / 14.72 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.673e-05/0.003331, allocations: 34.75 kB / 25.08 MB, free: 4.082 MB / 14.72 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.237e-05/0.003368, allocations: 1.109 kB / 25.08 MB, free: 4.082 MB / 14.72 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.143e-05/0.003424, allocations: 164.4 kB / 25.24 MB, free: 3.883 MB / 14.72 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-06/0.003437, allocations: 7.625 kB / 25.25 MB, free: 3.879 MB / 14.72 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.866e-06/0.00345, allocations: 384 / 25.25 MB, free: 3.879 MB / 14.72 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.339e-05/0.003518, allocations: 26.27 kB / 25.28 MB, free: 3.848 MB / 14.72 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.00353, allocations: 7.875 kB / 25.28 MB, free: 3.84 MB / 14.72 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.831e-06/0.00354, allocations: 0 / 25.28 MB, free: 3.84 MB / 14.72 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.003548, allocations: 4 kB / 25.29 MB, free: 3.836 MB / 14.72 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.348e-05/0.003565, allocations: 4 kB / 25.29 MB, free: 3.832 MB / 14.72 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001841/0.003753, allocations: 383.3 kB / 25.67 MB, free: 3.41 MB / 14.72 MB Notification: Performance of preOpt comSubExp (simulation): time 4.163e-05/0.003803, allocations: 169.1 kB / 25.83 MB, free: 3.234 MB / 14.72 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.458e-05/0.003823, allocations: 80.14 kB / 25.91 MB, free: 3.152 MB / 14.72 MB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.003838, allocations: 86.47 kB / 25.99 MB, free: 3.07 MB / 14.72 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/0.003858, allocations: 105.8 kB / 26.1 MB, free: 2.957 MB / 14.72 MB Notification: Performance of pre-optimization done (n=0): time 1.393e-06/0.003864, allocations: 2.531 kB / 26.1 MB, free: 2.957 MB / 14.72 MB Notification: Performance of matching and sorting (n=0): time 5.804e-05/0.003925, allocations: 33.91 kB / 26.13 MB, free: 2.918 MB / 14.72 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.212e-05/0.003952, allocations: 126.7 kB / 26.26 MB, free: 2.781 MB / 14.72 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.959e-05/0.004007, allocations: 90.03 kB / 26.34 MB, free: 2.684 MB / 14.72 MB Notification: Performance of collectPreVariables (initialization): time 5.35e-06/0.004018, allocations: 25.7 kB / 26.37 MB, free: 2.652 MB / 14.72 MB Notification: Performance of collectInitialEqns (initialization): time 2.375e-05/0.004046, allocations: 93.58 kB / 26.46 MB, free: 2.562 MB / 14.72 MB Notification: Performance of collectInitialBindings (initialization): time 1.784e-06/0.004053, allocations: 4 kB / 26.47 MB, free: 2.559 MB / 14.72 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.16e-05/0.004079, allocations: 9.891 kB / 26.48 MB, free: 2.543 MB / 14.72 MB Notification: Performance of setup shared object (initialization): time 3.634e-05/0.004119, allocations: 310.8 kB / 26.78 MB, free: 2.23 MB / 14.72 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.745e-06/0.004132, allocations: 4 kB / 26.78 MB, free: 2.227 MB / 14.72 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.879e-05/0.004155, allocations: 13.66 kB / 26.8 MB, free: 2.207 MB / 14.72 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.649e-05/0.004176, allocations: 16.2 kB / 26.81 MB, free: 2.191 MB / 14.72 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.004183, allocations: 3.938 kB / 26.82 MB, free: 2.188 MB / 14.72 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.116e-05/0.004257, allocations: 29.88 kB / 26.84 MB, free: 2.152 MB / 14.72 MB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.004274, allocations: 7.984 kB / 26.85 MB, free: 2.145 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.004282, allocations: 3.938 kB / 26.86 MB, free: 2.141 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.004296, allocations: 0 / 26.86 MB, free: 2.141 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.76e-05/0.004338, allocations: 4 kB / 26.86 MB, free: 2.137 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-06/0.004347, allocations: 0 / 26.86 MB, free: 2.137 MB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.164e-05/0.004362, allocations: 352 / 26.86 MB, free: 2.137 MB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.004371, allocations: 4 kB / 26.86 MB, free: 2.133 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 4.49e-05/0.00442, allocations: 197.6 kB / 27.06 MB, free: 1.93 MB / 14.72 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.584e-05/0.004461, allocations: 104.7 kB / 27.16 MB, free: 1.824 MB / 14.72 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.909e-05/0.004485, allocations: 108.4 kB / 27.27 MB, free: 1.707 MB / 14.72 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.147e-05/0.004511, allocations: 180.2 kB / 27.44 MB, free: 1.523 MB / 14.72 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.278e-05/0.004538, allocations: 180.3 kB / 27.62 MB, free: 1.34 MB / 14.72 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.258e-05/0.004565, allocations: 184.2 kB / 27.8 MB, free: 1.152 MB / 14.72 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.004682, allocations: 404.5 kB / 28.19 MB, free: 0.7031 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.0047, allocations: 105 kB / 28.29 MB, free: 0.5938 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.418e-05/0.004718, allocations: 104.9 kB / 28.4 MB, free: 496 kB / 14.72 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.196e-05/0.004745, allocations: 176.3 kB / 28.57 MB, free: 312 kB / 14.72 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.518e-05/0.004775, allocations: 187.8 kB / 28.75 MB, free: 120 kB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-05/0.004841, allocations: 188.3 kB / 28.94 MB, free: 4.875 MB / 19.67 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-05/0.004898, allocations: 180.2 kB / 29.11 MB, free: 4.691 MB / 19.67 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.005038, allocations: 311 kB / 29.42 MB, free: 4.367 MB / 19.67 MB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-05/0.005112, allocations: 186 kB / 29.6 MB, free: 4.16 MB / 19.67 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.674e-05/0.005176, allocations: 184.2 kB / 29.78 MB, free: 3.973 MB / 19.67 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.523e-05/0.005256, allocations: 101 kB / 29.88 MB, free: 3.867 MB / 19.67 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.782e-05/0.00533, allocations: 184.2 kB / 30.06 MB, free: 3.68 MB / 19.67 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.951e-05/0.005365, allocations: 104.4 kB / 30.16 MB, free: 3.574 MB / 19.67 MB Notification: Performance of sorting global known variables: time 2.877e-05/0.005398, allocations: 75.28 kB / 30.23 MB, free: 3.5 MB / 19.67 MB Notification: Performance of sort global known variables: time 1.11e-07/0.005403, allocations: 0 / 30.23 MB, free: 3.5 MB / 19.67 MB Notification: Performance of remove unused functions: time 0.000294/0.005701, allocations: 46.52 kB / 30.28 MB, free: 3.461 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.001584/0.007293, allocations: 1.207 MB / 31.48 MB, free: 2.246 MB / 19.67 MB Notification: Performance of simCode: created initialization part: time 7.29e-05/0.007377, allocations: 4 kB / 31.49 MB, free: 2.242 MB / 19.67 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.007386, allocations: 0 / 31.49 MB, free: 2.242 MB / 19.67 MB Notification: Performance of simCode: created simulation system equations: time 1.482e-06/0.007394, allocations: 4.062 kB / 31.49 MB, free: 2.238 MB / 19.67 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.007719, allocations: 463.5 kB / 31.95 MB, free: 1.781 MB / 19.67 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000323/0.008049, allocations: 202.6 kB / 32.14 MB, free: 1.539 MB / 19.67 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.008286, allocations: 0.6733 MB / 32.82 MB, free: 0.8398 MB / 19.67 MB Notification: Performance of simCode: alias equations: time 1.724e-05/0.008309, allocations: 0 / 32.82 MB, free: 0.8398 MB / 19.67 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.363e-05/0.00833, allocations: 15.44 kB / 32.83 MB, free: 0.8242 MB / 19.67 MB Notification: Performance of SimCode: time 1.352e-06/0.008337, allocations: 3.938 kB / 32.84 MB, free: 0.8203 MB / 19.67 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02308/0.03142, allocations: 2.513 MB / 35.35 MB, free: 7.332 MB / 19.67 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.656/7.688, allocations: 8.203 kB / 35.36 MB, free: 7.332 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 & python3 -m fmpy simulate --output-file MessagePack_MessagePack.Examples.TestCreateAndReadFile_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 MessagePack_MessagePack_Examples_TestCreateAndReadFile.fmu > MessagePack_MessagePack.Examples.TestCreateAndReadFile.pipe 2>&1)