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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.1.1-master/package.mo): time 0.003796/0.003796, allocations: 331.4 kB / 16.67 MB, free: 6.316 MB / 14.72 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005146/0.0005146, allocations: 13.11 kB / 26.2 MB, free: 3.652 MB / 14.72 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0001929/0.0007075, allocations: 98.22 kB / 26.29 MB, free: 3.578 MB / 14.72 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.001145/0.001853, allocations: 383.9 kB / 26.67 MB, free: 3.223 MB / 14.72 MB Notification: Performance of NFInst.instExpressions: time 0.0006491/0.002502, allocations: 347 kB / 27.01 MB, free: 2.887 MB / 14.72 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.683e-05/0.002529, allocations: 3.938 kB / 27.01 MB, free: 2.883 MB / 14.72 MB Notification: Performance of NFTyping.typeComponents: time 1.181e-05/0.002541, allocations: 4 kB / 27.02 MB, free: 2.879 MB / 14.72 MB Notification: Performance of NFTyping.typeBindings: time 2.462e-05/0.002565, allocations: 0 / 27.02 MB, free: 2.879 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.0003449/0.00291, allocations: 113.4 kB / 27.13 MB, free: 2.77 MB / 14.72 MB Notification: Performance of NFFlatten.flatten: time 3.077e-05/0.002941, allocations: 4 kB / 27.13 MB, free: 2.766 MB / 14.72 MB Notification: Performance of NFFlatten.resolveConnections: time 3.497e-05/0.002976, allocations: 0 / 27.13 MB, free: 2.766 MB / 14.72 MB Notification: Performance of NFEvalConstants.evaluate: time 1.054e-05/0.002987, allocations: 3.938 kB / 27.13 MB, free: 2.762 MB / 14.72 MB Notification: Performance of NFSimplifyModel.simplify: time 1.407e-05/0.003001, allocations: 0 / 27.13 MB, free: 2.762 MB / 14.72 MB Notification: Performance of NFPackage.collectConstants: time 4.137e-06/0.003005, allocations: 4 kB / 27.14 MB, free: 2.758 MB / 14.72 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001775/0.003182, allocations: 147.8 kB / 27.28 MB, free: 2.613 MB / 14.72 MB Notification: Performance of NFScalarize.scalarize: time 6.452e-06/0.003189, allocations: 0 / 27.28 MB, free: 2.613 MB / 14.72 MB Notification: Performance of NFVerifyModel.verify: time 1.23e-05/0.003201, allocations: 0 / 27.28 MB, free: 2.613 MB / 14.72 MB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.003346, allocations: 123.9 kB / 27.4 MB, free: 2.492 MB / 14.72 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.003349, allocations: 0 / 27.4 MB, free: 2.492 MB / 14.72 MB Notification: Performance of FrontEnd: time 1.122e-06/0.00335, allocations: 0 / 27.4 MB, free: 2.492 MB / 14.72 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.00336, allocations: 0 / 27.4 MB, free: 2.492 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.000238/0.003598, allocations: 384.9 kB / 27.78 MB, free: 2.055 MB / 14.72 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.003635, allocations: 12.33 kB / 27.79 MB, free: 2.043 MB / 14.72 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.719e-05/0.003653, allocations: 30.75 kB / 27.82 MB, free: 2.004 MB / 14.72 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.94e-05/0.003672, allocations: 1.109 kB / 27.82 MB, free: 2.004 MB / 14.72 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.015e-05/0.003722, allocations: 164.3 kB / 27.98 MB, free: 1.805 MB / 14.72 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.003733, allocations: 4.359 kB / 27.99 MB, free: 1.801 MB / 14.72 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.337e-06/0.003743, allocations: 4.375 kB / 27.99 MB, free: 1.797 MB / 14.72 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.326e-05/0.003816, allocations: 30.27 kB / 28.02 MB, free: 1.762 MB / 14.72 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.003823, allocations: 3.938 kB / 28.03 MB, free: 1.758 MB / 14.72 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-06/0.00383, allocations: 3.984 kB / 28.03 MB, free: 1.754 MB / 14.72 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.003834, allocations: 0 / 28.03 MB, free: 1.754 MB / 14.72 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.351e-05/0.003847, allocations: 0 / 28.03 MB, free: 1.754 MB / 14.72 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001785/0.004026, allocations: 380 kB / 28.4 MB, free: 1.332 MB / 14.72 MB Notification: Performance of preOpt comSubExp (simulation): time 4.059e-05/0.004066, allocations: 177 kB / 28.57 MB, free: 1.148 MB / 14.72 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.293e-05/0.004079, allocations: 88.17 kB / 28.66 MB, free: 1.059 MB / 14.72 MB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.004092, allocations: 79.31 kB / 28.74 MB, free: 0.9805 MB / 14.72 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.00411, allocations: 105.8 kB / 28.84 MB, free: 0.8672 MB / 14.72 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.004111, allocations: 0 / 28.84 MB, free: 0.8672 MB / 14.72 MB Notification: Performance of matching and sorting (n=0): time 5.641e-05/0.004167, allocations: 33.81 kB / 28.87 MB, free: 0.8281 MB / 14.72 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.004192, allocations: 126.7 kB / 29 MB, free: 0.6914 MB / 14.72 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.008e-05/0.004232, allocations: 94.03 kB / 29.09 MB, free: 0.5898 MB / 14.72 MB Notification: Performance of collectPreVariables (initialization): time 5.6e-06/0.004237, allocations: 25.7 kB / 29.11 MB, free: 0.5586 MB / 14.72 MB Notification: Performance of collectInitialEqns (initialization): time 2.13e-05/0.004259, allocations: 86.03 kB / 29.2 MB, free: 484 kB / 14.72 MB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.004261, allocations: 0 / 29.2 MB, free: 484 kB / 14.72 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.321e-05/0.004284, allocations: 17.88 kB / 29.22 MB, free: 460 kB / 14.72 MB Notification: Performance of setup shared object (initialization): time 3.385e-05/0.004318, allocations: 315 kB / 29.52 MB, free: 136 kB / 14.72 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.933e-06/0.004325, allocations: 0 / 29.52 MB, free: 136 kB / 14.72 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.712e-05/0.004342, allocations: 13.72 kB / 29.54 MB, free: 116 kB / 14.72 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.623e-05/0.004358, allocations: 8.797 kB / 29.54 MB, free: 104 kB / 14.72 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.00436, allocations: 3.938 kB / 29.55 MB, free: 100 kB / 14.72 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.475e-05/0.004435, allocations: 37.81 kB / 29.59 MB, free: 56 kB / 14.72 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.004446, allocations: 8 kB / 29.59 MB, free: 48 kB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.00445, allocations: 12.05 kB / 29.61 MB, free: 36 kB / 14.72 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.004462, allocations: 0 / 29.61 MB, free: 36 kB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.811e-05/0.0045, allocations: 0 / 29.61 MB, free: 36 kB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.004504, allocations: 0 / 29.61 MB, free: 36 kB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.295e-05/0.004517, allocations: 8.281 kB / 29.61 MB, free: 28 kB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.808e-06/0.004521, allocations: 0 / 29.61 MB, free: 28 kB / 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 0.004287/0.008809, allocations: 185.4 kB / 29.79 MB, free: 4.145 MB / 14.72 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.006e-05/0.008849, allocations: 104.2 kB / 29.9 MB, free: 4.039 MB / 14.72 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.175e-05/0.00887, allocations: 114.1 kB / 30.01 MB, free: 3.926 MB / 14.72 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.089e-05/0.008891, allocations: 177.5 kB / 30.18 MB, free: 3.746 MB / 14.72 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.085e-05/0.008912, allocations: 180.6 kB / 30.36 MB, free: 3.566 MB / 14.72 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.046e-05/0.008933, allocations: 182.3 kB / 30.54 MB, free: 3.387 MB / 14.72 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.009051, allocations: 401.1 kB / 30.93 MB, free: 2.945 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/0.009064, allocations: 107.4 kB / 31.03 MB, free: 2.84 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.476e-05/0.009078, allocations: 110.2 kB / 31.14 MB, free: 2.734 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.992e-05/0.009098, allocations: 183 kB / 31.32 MB, free: 2.555 MB / 14.72 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.009121, allocations: 179.5 kB / 31.49 MB, free: 2.375 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-05/0.00914, allocations: 181 kB / 31.67 MB, free: 2.195 MB / 14.72 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.866e-05/0.009158, allocations: 180 kB / 31.85 MB, free: 2.016 MB / 14.72 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.44e-05/0.009213, allocations: 310 kB / 32.15 MB, free: 1.707 MB / 14.72 MB Notification: Performance of postOpt removeConstants (simulation): time 2.661e-05/0.009239, allocations: 183.6 kB / 32.33 MB, free: 1.508 MB / 14.72 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.009265, allocations: 182.9 kB / 32.51 MB, free: 1.328 MB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.834e-05/0.009314, allocations: 105.3 kB / 32.61 MB, free: 1.223 MB / 14.72 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.743e-05/0.009341, allocations: 189.4 kB / 32.79 MB, free: 1.039 MB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.009354, allocations: 106.5 kB / 32.9 MB, free: 0.9336 MB / 14.72 MB Notification: Performance of sorting global known variables: time 2.039e-05/0.009375, allocations: 76.03 kB / 32.97 MB, free: 0.8594 MB / 14.72 MB Notification: Performance of sort global known variables: time 8e-08/0.009375, allocations: 1.406 kB / 32.97 MB, free: 0.8594 MB / 14.72 MB Notification: Performance of remove unused functions: time 0.0003012/0.009676, allocations: 43.97 kB / 33.02 MB, free: 0.8594 MB / 14.72 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.001861/0.01154, allocations: 1.197 MB / 34.21 MB, free: 4.781 MB / 19.67 MB Notification: Performance of simCode: created initialization part: time 7.76e-05/0.01161, allocations: 6.031 kB / 34.22 MB, free: 4.781 MB / 19.67 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.01162, allocations: 0 / 34.22 MB, free: 4.781 MB / 19.67 MB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.01162, allocations: 0 / 34.22 MB, free: 4.781 MB / 19.67 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004465/0.01206, allocations: 455.6 kB / 34.66 MB, free: 4.332 MB / 19.67 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003542/0.01242, allocations: 216.2 kB / 34.88 MB, free: 4.113 MB / 19.67 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.01272, allocations: 0.6708 MB / 35.55 MB, free: 3.418 MB / 19.67 MB Notification: Performance of simCode: alias equations: time 1.476e-05/0.01273, allocations: 0 / 35.55 MB, free: 3.418 MB / 19.67 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.24e-05/0.01274, allocations: 8.781 kB / 35.56 MB, free: 3.41 MB / 19.67 MB Notification: Performance of SimCode: time 4.2e-07/0.01274, allocations: 3.938 kB / 35.56 MB, free: 3.406 MB / 19.67 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02612/0.03887, allocations: 2.55 MB / 38.11 MB, free: 1.387 MB / 19.67 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.288/8.326, allocations: 6.047 kB / 38.11 MB, free: 1.383 MB / 19.67 MB " [Timeout remaining time 652] (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: 8.941183357033879] Failed to read output from testmodel.py, exit status != 0: 8.39349902421236 8.415227171 8.409556786 Calling exit ...