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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack master/package.mo): time 0.003135/0.003135, allocations: 341.6 kB / 19.18 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] Using package MessagePack with version 0.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0006635/0.0006635, allocations: 19.97 kB / 29.69 MB, free: 2.84 MB / 19.63 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0002055/0.000869, allocations: 89.91 kB / 29.77 MB, free: 2.75 MB / 19.63 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.001788/0.002657, allocations: 385.6 kB / 30.15 MB, free: 2.379 MB / 19.63 MB Notification: Performance of NFInst.instExpressions: time 0.0009872/0.003644, allocations: 339 kB / 30.48 MB, free: 2.051 MB / 19.63 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.584e-05/0.00367, allocations: 0 / 30.48 MB, free: 2.051 MB / 19.63 MB Notification: Performance of NFTyping.typeComponents: time 1.264e-05/0.003683, allocations: 0 / 30.48 MB, free: 2.051 MB / 19.63 MB Notification: Performance of NFTyping.typeBindings: time 2.687e-05/0.00371, allocations: 0 / 30.48 MB, free: 2.051 MB / 19.63 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 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 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 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.0006115/0.004321, allocations: 115.6 kB / 30.59 MB, free: 1.938 MB / 19.63 MB Notification: Performance of NFFlatten.flatten: time 4.245e-05/0.004364, allocations: 4 kB / 30.6 MB, free: 1.934 MB / 19.63 MB Notification: Performance of NFFlatten.resolveConnections: time 5.553e-05/0.004419, allocations: 3.984 kB / 30.6 MB, free: 1.93 MB / 19.63 MB Notification: Performance of NFEvalConstants.evaluate: time 1.691e-05/0.004436, allocations: 4 kB / 30.61 MB, free: 1.926 MB / 19.63 MB Notification: Performance of NFSimplifyModel.simplify: time 2.219e-05/0.004458, allocations: 3.984 kB / 30.61 MB, free: 1.922 MB / 19.63 MB Notification: Performance of NFPackage.collectConstants: time 4.969e-06/0.004463, allocations: 0 / 30.61 MB, free: 1.922 MB / 19.63 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003496/0.004813, allocations: 131.8 kB / 30.74 MB, free: 1.793 MB / 19.63 MB Notification: Performance of NFScalarize.scalarize: time 8.576e-06/0.004821, allocations: 4 kB / 30.74 MB, free: 1.789 MB / 19.63 MB Notification: Performance of NFVerifyModel.verify: time 2.001e-05/0.004841, allocations: 3.938 kB / 30.75 MB, free: 1.785 MB / 19.63 MB Notification: Performance of NFConvertDAE.convert: time 0.0003035/0.005145, allocations: 116 kB / 30.86 MB, free: 1.672 MB / 19.63 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.005147, allocations: 3.938 kB / 30.86 MB, free: 1.668 MB / 19.63 MB Notification: Performance of FrontEnd: time 7.61e-07/0.005148, allocations: 0 / 30.86 MB, free: 1.668 MB / 19.63 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.005154, allocations: 0 / 30.86 MB, free: 1.668 MB / 19.63 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.0004258/0.005579, allocations: 311.8 kB / 31.17 MB, free: 1.32 MB / 19.63 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.00563, allocations: 8.391 kB / 31.18 MB, free: 1.312 MB / 19.63 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.503e-05/0.005665, allocations: 30.75 kB / 31.21 MB, free: 1.273 MB / 19.63 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.755e-05/0.005692, allocations: 1.109 kB / 31.21 MB, free: 1.273 MB / 19.63 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.005801, allocations: 106.5 kB / 31.31 MB, free: 1.145 MB / 19.63 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.005813, allocations: 4.375 kB / 31.32 MB, free: 1.141 MB / 19.63 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.005826, allocations: 384 / 31.32 MB, free: 1.141 MB / 19.63 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.005928, allocations: 30.2 kB / 31.35 MB, free: 1.105 MB / 19.63 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.005943, allocations: 7.938 kB / 31.35 MB, free: 1.098 MB / 19.63 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.005953, allocations: 3.984 kB / 31.36 MB, free: 1.094 MB / 19.63 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.005957, allocations: 0 / 31.36 MB, free: 1.094 MB / 19.63 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.835e-05/0.005976, allocations: 0 / 31.36 MB, free: 1.094 MB / 19.63 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004259/0.006402, allocations: 351.1 kB / 31.7 MB, free: 0.707 MB / 19.63 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.006543, allocations: 177 kB / 31.87 MB, free: 0.5234 MB / 19.63 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.516e-05/0.006598, allocations: 84.14 kB / 31.95 MB, free: 448 kB / 19.63 MB Notification: Performance of preOpt evalFunc (simulation): time 4.602e-05/0.006644, allocations: 79.28 kB / 32.03 MB, free: 368 kB / 19.63 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.907e-05/0.006724, allocations: 109.8 kB / 32.14 MB, free: 248 kB / 19.63 MB Notification: Performance of pre-optimization done (n=0): time 1.623e-06/0.006725, allocations: 0 / 32.14 MB, free: 248 kB / 19.63 MB Notification: Performance of matching and sorting (n=0): time 0.0001001/0.006825, allocations: 29.88 kB / 32.17 MB, free: 212 kB / 19.63 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.375e-05/0.006909, allocations: 126.7 kB / 32.29 MB, free: 72 kB / 19.63 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007736/0.01465, allocations: 90.2 kB / 32.38 MB, free: 8.207 MB / 19.63 MB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.01466, allocations: 29.08 kB / 32.41 MB, free: 8.176 MB / 19.63 MB Notification: Performance of collectInitialEqns (initialization): time 3.463e-05/0.01469, allocations: 82.72 kB / 32.49 MB, free: 8.094 MB / 19.63 MB Notification: Performance of collectInitialBindings (initialization): time 3.426e-06/0.01469, allocations: 2.062 kB / 32.49 MB, free: 8.094 MB / 19.63 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.021e-05/0.01473, allocations: 12.98 kB / 32.5 MB, free: 8.078 MB / 19.63 MB Notification: Performance of setup shared object (initialization): time 4.824e-05/0.01478, allocations: 316.9 kB / 32.81 MB, free: 7.766 MB / 19.63 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.045e-05/0.01479, allocations: 0 / 32.81 MB, free: 7.766 MB / 19.63 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.381e-05/0.01483, allocations: 39.84 kB / 32.85 MB, free: 7.719 MB / 19.63 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.57e-05/0.01485, allocations: 8.141 kB / 32.86 MB, free: 7.711 MB / 19.63 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.01486, allocations: 3.75 kB / 32.86 MB, free: 7.711 MB / 19.63 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001171/0.01497, allocations: 34.89 kB / 32.9 MB, free: 7.68 MB / 19.63 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.01499, allocations: 7.125 kB / 32.91 MB, free: 7.68 MB / 19.63 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.015, allocations: 0.9062 kB / 32.91 MB, free: 7.68 MB / 19.63 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.01501, allocations: 0 / 32.91 MB, free: 7.68 MB / 19.63 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.96e-05/0.01507, allocations: 8.234 kB / 32.91 MB, free: 7.68 MB / 19.63 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.01508, allocations: 1.344 kB / 32.92 MB, free: 7.68 MB / 19.63 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.938e-05/0.0151, allocations: 1.125 kB / 32.92 MB, free: 7.68 MB / 19.63 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.0151, allocations: 0 / 32.92 MB, free: 7.68 MB / 19.63 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.914e-05/0.01516, allocations: 188.6 kB / 33.1 MB, free: 7.492 MB / 19.63 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.082e-05/0.01521, allocations: 105.1 kB / 33.2 MB, free: 7.387 MB / 19.63 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.847e-05/0.01524, allocations: 110.8 kB / 33.31 MB, free: 7.277 MB / 19.63 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.54e-05/0.01526, allocations: 182.9 kB / 33.49 MB, free: 7.094 MB / 19.63 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.757e-05/0.01529, allocations: 182.3 kB / 33.67 MB, free: 6.914 MB / 19.63 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.684e-05/0.01532, allocations: 185 kB / 33.85 MB, free: 6.734 MB / 19.63 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.0155, allocations: 376.5 kB / 34.22 MB, free: 6.328 MB / 19.63 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.651e-05/0.01551, allocations: 104.2 kB / 34.32 MB, free: 6.223 MB / 19.63 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.719e-05/0.01553, allocations: 108.2 kB / 34.42 MB, free: 6.117 MB / 19.63 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.688e-05/0.01556, allocations: 182.1 kB / 34.6 MB, free: 5.938 MB / 19.63 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.131e-05/0.01559, allocations: 184.2 kB / 34.78 MB, free: 5.758 MB / 19.63 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.616e-05/0.01562, allocations: 185 kB / 34.96 MB, free: 5.574 MB / 19.63 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.559e-05/0.01564, allocations: 182.5 kB / 35.14 MB, free: 5.395 MB / 19.63 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.689e-05/0.01572, allocations: 304.8 kB / 35.44 MB, free: 5.086 MB / 19.63 MB Notification: Performance of postOpt removeConstants (simulation): time 2.837e-05/0.01575, allocations: 109.6 kB / 35.55 MB, free: 4.977 MB / 19.63 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.623e-05/0.01578, allocations: 182.1 kB / 35.72 MB, free: 4.797 MB / 19.63 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.157e-05/0.01586, allocations: 110.7 kB / 35.83 MB, free: 4.684 MB / 19.63 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.152e-05/0.0159, allocations: 179.1 kB / 36.01 MB, free: 4.504 MB / 19.63 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.01592, allocations: 103.8 kB / 36.11 MB, free: 4.398 MB / 19.63 MB Notification: Performance of sorting global known variables: time 2.07e-05/0.01594, allocations: 77.31 kB / 36.18 MB, free: 4.324 MB / 19.63 MB Notification: Performance of sort global known variables: time 8e-08/0.01594, allocations: 0 / 36.18 MB, free: 4.324 MB / 19.63 MB Notification: Performance of remove unused functions: time 0.0005042/0.01644, allocations: 46.66 kB / 36.23 MB, free: 4.324 MB / 19.63 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.002224/0.01867, allocations: 1.226 MB / 37.46 MB, free: 3.266 MB / 19.63 MB Notification: Performance of simCode: created initialization part: time 8.255e-05/0.01875, allocations: 4.172 kB / 37.46 MB, free: 3.266 MB / 19.63 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.01875, allocations: 0.5 kB / 37.46 MB, free: 3.266 MB / 19.63 MB Notification: Performance of simCode: created simulation system equations: time 1.943e-06/0.01875, allocations: 0 / 37.46 MB, free: 3.266 MB / 19.63 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.01914, allocations: 469.1 kB / 37.92 MB, free: 2.809 MB / 19.63 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004353/0.01957, allocations: 206.2 kB / 38.12 MB, free: 2.59 MB / 19.63 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.614e-05/0.01961, allocations: 52.97 kB / 38.17 MB, free: 2.52 MB / 19.63 MB Notification: Performance of simCode: alias equations: time 1.891e-05/0.01963, allocations: 1.312 kB / 38.17 MB, free: 2.52 MB / 19.63 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.616e-05/0.01964, allocations: 11.5 kB / 38.18 MB, free: 2.508 MB / 19.63 MB Notification: Performance of SimCode: time 6.91e-07/0.01964, allocations: 0 / 38.18 MB, free: 2.508 MB / 19.63 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03302/0.05267, allocations: 3.049 MB / 41.23 MB, free: 56 kB / 19.63 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.02, allocations: 12.48 kB / 41.25 MB, free: 44 kB / 19.63 MB " [Timeout remaining time 649] (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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.680418700911105] Failed to read output from testmodel.py, exit status != 0: 11.140016831923276 11.17462257 11.15715307 Calling exit ...