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.006898/0.006897, allocations: 327.5 kB / 15.96 MB, free: 6.004 MB / 14.72 MB Notification: Performance of FrontEnd - loaded program: time 0.0004689/0.000469, allocations: 9.234 kB / 23.47 MB, free: 5.086 MB / 14.72 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0001425/0.0006372, allocations: 95.81 kB / 23.57 MB, free: 5.082 MB / 14.72 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.001068/0.001713, allocations: 376.7 kB / 23.93 MB, free: 5.027 MB / 14.72 MB Notification: Performance of NFInst.instExpressions: time 0.0005533/0.00228, allocations: 344.8 kB / 24.27 MB, free: 4.824 MB / 14.72 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.21e-05/0.002313, allocations: 0 / 24.27 MB, free: 4.824 MB / 14.72 MB Notification: Performance of NFTyping.typeComponents: time 1.123e-05/0.002341, allocations: 0 / 24.27 MB, free: 4.824 MB / 14.72 MB Notification: Performance of NFTyping.typeBindings: time 2.916e-05/0.002374, allocations: 0 / 24.27 MB, free: 4.824 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.000334/0.002712, allocations: 114.7 kB / 24.38 MB, free: 4.75 MB / 14.72 MB Notification: Performance of NFFlatten.flatten: time 2.957e-05/0.002749, allocations: 4 kB / 24.39 MB, free: 4.746 MB / 14.72 MB Notification: Performance of NFFlatten.resolveConnections: time 3.444e-05/0.002789, allocations: 3.25 kB / 24.39 MB, free: 4.746 MB / 14.72 MB Notification: Performance of NFEvalConstants.evaluate: time 1.126e-05/0.002805, allocations: 3.938 kB / 24.39 MB, free: 4.742 MB / 14.72 MB Notification: Performance of NFSimplifyModel.simplify: time 1.358e-05/0.002822, allocations: 3.984 kB / 24.4 MB, free: 4.738 MB / 14.72 MB Notification: Performance of NFPackage.collectConstants: time 3.777e-06/0.002831, allocations: 0 / 24.4 MB, free: 4.738 MB / 14.72 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001691/0.003005, allocations: 140.1 kB / 24.53 MB, free: 4.633 MB / 14.72 MB Notification: Performance of NFScalarize.scalarize: time 6.342e-06/0.003019, allocations: 0 / 24.53 MB, free: 4.633 MB / 14.72 MB Notification: Performance of NFVerifyModel.verify: time 1.77e-05/0.003041, allocations: 4 kB / 24.54 MB, free: 4.629 MB / 14.72 MB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.00321, allocations: 127.3 kB / 24.66 MB, free: 4.531 MB / 14.72 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.003223, allocations: 0 / 24.66 MB, free: 4.531 MB / 14.72 MB Notification: Performance of FrontEnd: time 7.41e-07/0.003228, allocations: 0 / 24.66 MB, free: 4.531 MB / 14.72 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.003236, allocations: 0 / 24.66 MB, free: 4.531 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.0002253/0.003466, allocations: 383.4 kB / 25.04 MB, free: 4.105 MB / 14.72 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.003505, allocations: 8.328 kB / 25.05 MB, free: 4.098 MB / 14.72 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.66e-05/0.003526, allocations: 34.73 kB / 25.08 MB, free: 4.055 MB / 14.72 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.119e-05/0.003553, allocations: 9.109 kB / 25.09 MB, free: 4.047 MB / 14.72 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.849e-05/0.003606, allocations: 160.4 kB / 25.25 MB, free: 3.852 MB / 14.72 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.003622, allocations: 384 / 25.25 MB, free: 3.852 MB / 14.72 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.003636, allocations: 384 / 25.25 MB, free: 3.852 MB / 14.72 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.102e-05/0.003711, allocations: 26.27 kB / 25.27 MB, free: 3.82 MB / 14.72 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.003726, allocations: 7.938 kB / 25.28 MB, free: 3.812 MB / 14.72 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-06/0.003737, allocations: 0 / 25.28 MB, free: 3.812 MB / 14.72 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.003745, allocations: 0.5469 kB / 25.28 MB, free: 3.812 MB / 14.72 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.459e-05/0.003763, allocations: 3.938 kB / 25.28 MB, free: 3.809 MB / 14.72 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001878/0.003956, allocations: 383.3 kB / 25.66 MB, free: 3.387 MB / 14.72 MB Notification: Performance of preOpt comSubExp (simulation): time 4.437e-05/0.004009, allocations: 172.4 kB / 25.83 MB, free: 3.211 MB / 14.72 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.418e-05/0.004028, allocations: 83.23 kB / 25.91 MB, free: 3.129 MB / 14.72 MB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.004046, allocations: 79.22 kB / 25.98 MB, free: 3.051 MB / 14.72 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.004067, allocations: 113.8 kB / 26.1 MB, free: 2.93 MB / 14.72 MB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.004073, allocations: 4.031 kB / 26.1 MB, free: 2.926 MB / 14.72 MB Notification: Performance of matching and sorting (n=0): time 5.791e-05/0.004135, allocations: 29.91 kB / 26.13 MB, free: 2.891 MB / 14.72 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.004166, allocations: 130.7 kB / 26.26 MB, free: 2.75 MB / 14.72 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.868e-05/0.00422, allocations: 93.41 kB / 26.35 MB, free: 2.652 MB / 14.72 MB Notification: Performance of collectPreVariables (initialization): time 6.001e-06/0.004232, allocations: 25.7 kB / 26.37 MB, free: 2.621 MB / 14.72 MB Notification: Performance of collectInitialEqns (initialization): time 2.464e-05/0.004262, allocations: 90.14 kB / 26.46 MB, free: 2.531 MB / 14.72 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.004269, allocations: 4 kB / 26.47 MB, free: 2.527 MB / 14.72 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.245e-05/0.004296, allocations: 9.891 kB / 26.47 MB, free: 2.512 MB / 14.72 MB Notification: Performance of setup shared object (initialization): time 3.554e-05/0.004336, allocations: 318 kB / 26.79 MB, free: 2.195 MB / 14.72 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.434e-06/0.004348, allocations: 0 / 26.79 MB, free: 2.195 MB / 14.72 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.407e-05/0.004366, allocations: 9.719 kB / 26.79 MB, free: 2.18 MB / 14.72 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.715e-05/0.004388, allocations: 12.8 kB / 26.81 MB, free: 2.164 MB / 14.72 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.004396, allocations: 12.02 kB / 26.82 MB, free: 2.152 MB / 14.72 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.161e-05/0.004472, allocations: 29.88 kB / 26.85 MB, free: 2.117 MB / 14.72 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.00449, allocations: 4 kB / 26.85 MB, free: 2.113 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.004498, allocations: 3.938 kB / 26.86 MB, free: 2.109 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.004516, allocations: 4 kB / 26.86 MB, free: 2.105 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4e-05/0.00456, allocations: 0 / 26.86 MB, free: 2.105 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.004569, allocations: 0 / 26.86 MB, free: 2.105 MB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.21e-05/0.004585, allocations: 352 / 26.86 MB, free: 2.105 MB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-06/0.004594, allocations: 4 kB / 26.86 MB, free: 2.102 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.39e-05/0.004643, allocations: 197 kB / 27.06 MB, free: 1.902 MB / 14.72 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.239e-05/0.00468, allocations: 109.1 kB / 27.16 MB, free: 1.789 MB / 14.72 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.914e-05/0.004704, allocations: 104.5 kB / 27.26 MB, free: 1.676 MB / 14.72 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.968e-05/0.004729, allocations: 184.2 kB / 27.44 MB, free: 1.488 MB / 14.72 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-05/0.004757, allocations: 179.6 kB / 27.62 MB, free: 1.309 MB / 14.72 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.902e-05/0.00478, allocations: 176.3 kB / 27.79 MB, free: 1.129 MB / 14.72 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.004898, allocations: 409.1 kB / 28.19 MB, free: 0.6719 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/0.004918, allocations: 105 kB / 28.29 MB, free: 0.5625 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.182e-05/0.004935, allocations: 108.3 kB / 28.4 MB, free: 464 kB / 14.72 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.96e-05/0.004959, allocations: 176.3 kB / 28.57 MB, free: 280 kB / 14.72 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.004989, allocations: 180.4 kB / 28.75 MB, free: 92 kB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.429e-05/0.005069, allocations: 192.2 kB / 28.94 MB, free: 4.844 MB / 19.67 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.315e-05/0.005157, allocations: 176.3 kB / 29.11 MB, free: 4.664 MB / 19.67 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.005327, allocations: 315 kB / 29.42 MB, free: 4.336 MB / 19.67 MB Notification: Performance of postOpt removeConstants (simulation): time 9.78e-05/0.005431, allocations: 186.1 kB / 29.6 MB, free: 4.129 MB / 19.67 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.279e-05/0.005529, allocations: 184.2 kB / 29.78 MB, free: 3.941 MB / 19.67 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.192e-05/0.005617, allocations: 108.4 kB / 29.88 MB, free: 3.832 MB / 19.67 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.251e-05/0.005714, allocations: 180.2 kB / 30.06 MB, free: 3.648 MB / 19.67 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.265e-05/0.005772, allocations: 105 kB / 30.16 MB, free: 3.539 MB / 19.67 MB Notification: Performance of sorting global known variables: time 4.002e-05/0.005816, allocations: 75.28 kB / 30.24 MB, free: 3.465 MB / 19.67 MB Notification: Performance of sort global known variables: time 1.1e-07/0.005822, allocations: 0 / 30.24 MB, free: 3.465 MB / 19.67 MB Notification: Performance of remove unused functions: time 0.0002995/0.006128, allocations: 49.86 kB / 30.28 MB, free: 3.426 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.004273/0.01041, allocations: 1.197 MB / 31.48 MB, free: 2.219 MB / 19.67 MB Notification: Performance of simCode: created initialization part: time 9.45e-05/0.01053, allocations: 4 kB / 31.49 MB, free: 2.215 MB / 19.67 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.01054, allocations: 3.938 kB / 31.49 MB, free: 2.211 MB / 19.67 MB Notification: Performance of simCode: created simulation system equations: time 1.973e-06/0.01055, allocations: 0 / 31.49 MB, free: 2.211 MB / 19.67 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.01098, allocations: 470.9 kB / 31.95 MB, free: 1.75 MB / 19.67 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003995/0.01139, allocations: 199.2 kB / 32.14 MB, free: 1.508 MB / 19.67 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.0117, allocations: 0.6772 MB / 32.82 MB, free: 0.8047 MB / 19.67 MB Notification: Performance of simCode: alias equations: time 1.768e-05/0.01172, allocations: 0 / 32.82 MB, free: 0.8047 MB / 19.67 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.55e-05/0.01174, allocations: 7.438 kB / 32.83 MB, free: 0.7969 MB / 19.67 MB Notification: Performance of SimCode: time 2.91e-07/0.01175, allocations: 7.938 kB / 32.84 MB, free: 0.7891 MB / 19.67 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02934/0.0411, allocations: 2.511 MB / 35.35 MB, free: 7.324 MB / 19.67 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.481/8.522, allocations: 5.391 kB / 35.35 MB, free: 7.324 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)