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.003168/0.003168, allocations: 341.3 kB / 19.16 MB, free: 2.723 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.0005038/0.0005038, allocations: 15.38 kB / 29.71 MB, free: 4.129 MB / 14.72 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0001849/0.0006888, allocations: 91.56 kB / 29.8 MB, free: 4.098 MB / 14.72 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.001143/0.001831, allocations: 380.3 kB / 30.17 MB, free: 3.934 MB / 14.72 MB Notification: Performance of NFInst.instExpressions: time 0.0005784/0.00241, allocations: 362.2 kB / 30.53 MB, free: 3.688 MB / 14.72 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.247e-05/0.002432, allocations: 0 / 30.53 MB, free: 3.688 MB / 14.72 MB Notification: Performance of NFTyping.typeComponents: time 1.102e-05/0.002443, allocations: 0 / 30.53 MB, free: 3.688 MB / 14.72 MB Notification: Performance of NFTyping.typeBindings: time 2.744e-05/0.002471, allocations: 0 / 30.53 MB, free: 3.688 MB / 14.72 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.0003517/0.002822, allocations: 111.5 kB / 30.64 MB, free: 3.605 MB / 14.72 MB Notification: Performance of NFFlatten.flatten: time 3.103e-05/0.002853, allocations: 7.984 kB / 30.65 MB, free: 3.598 MB / 14.72 MB Notification: Performance of NFFlatten.resolveConnections: time 4.328e-05/0.002897, allocations: 0 / 30.65 MB, free: 3.598 MB / 14.72 MB Notification: Performance of NFEvalConstants.evaluate: time 1.675e-05/0.002913, allocations: 0 / 30.65 MB, free: 3.598 MB / 14.72 MB Notification: Performance of NFSimplifyModel.simplify: time 1.55e-05/0.002929, allocations: 3.938 kB / 30.65 MB, free: 3.594 MB / 14.72 MB Notification: Performance of NFPackage.collectConstants: time 3.978e-06/0.002933, allocations: 0 / 30.65 MB, free: 3.594 MB / 14.72 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001838/0.003117, allocations: 141.2 kB / 30.79 MB, free: 3.473 MB / 14.72 MB Notification: Performance of NFScalarize.scalarize: time 6.352e-06/0.003123, allocations: 2.406 kB / 30.79 MB, free: 3.473 MB / 14.72 MB Notification: Performance of NFVerifyModel.verify: time 1.505e-05/0.003138, allocations: 3.984 kB / 30.79 MB, free: 3.469 MB / 14.72 MB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.003332, allocations: 123.5 kB / 30.91 MB, free: 3.352 MB / 14.72 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.003335, allocations: 0 / 30.91 MB, free: 3.352 MB / 14.72 MB Notification: Performance of FrontEnd: time 8.01e-07/0.003336, allocations: 0 / 30.91 MB, free: 3.352 MB / 14.72 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.003341, allocations: 0 / 30.91 MB, free: 3.352 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.0002362/0.003577, allocations: 315.7 kB / 31.22 MB, free: 3 MB / 14.72 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.003612, allocations: 8.391 kB / 31.23 MB, free: 2.992 MB / 14.72 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.297e-05/0.003635, allocations: 34.75 kB / 31.26 MB, free: 2.949 MB / 14.72 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.682e-05/0.003662, allocations: 5.109 kB / 31.27 MB, free: 2.945 MB / 14.72 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.06e-05/0.003713, allocations: 106.5 kB / 31.37 MB, free: 2.816 MB / 14.72 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.003724, allocations: 384 / 31.37 MB, free: 2.816 MB / 14.72 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.593e-06/0.00373, allocations: 384 / 31.37 MB, free: 2.816 MB / 14.72 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.22e-05/0.003802, allocations: 31.95 kB / 31.41 MB, free: 2.781 MB / 14.72 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.003813, allocations: 3.938 kB / 31.41 MB, free: 2.777 MB / 14.72 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-06/0.003819, allocations: 0 / 31.41 MB, free: 2.777 MB / 14.72 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.003824, allocations: 0 / 31.41 MB, free: 2.777 MB / 14.72 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.739e-05/0.003841, allocations: 0 / 31.41 MB, free: 2.777 MB / 14.72 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002144/0.004055, allocations: 363 kB / 31.76 MB, free: 2.379 MB / 14.72 MB Notification: Performance of preOpt comSubExp (simulation): time 4.603e-05/0.004102, allocations: 173.1 kB / 31.93 MB, free: 2.199 MB / 14.72 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.764e-05/0.004119, allocations: 84.17 kB / 32.01 MB, free: 2.113 MB / 14.72 MB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.004134, allocations: 75.28 kB / 32.09 MB, free: 2.039 MB / 14.72 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.004162, allocations: 109.8 kB / 32.2 MB, free: 1.922 MB / 14.72 MB Notification: Performance of pre-optimization done (n=0): time 1.153e-06/0.004163, allocations: 0 / 32.2 MB, free: 1.922 MB / 14.72 MB Notification: Performance of matching and sorting (n=0): time 6.522e-05/0.004228, allocations: 33.81 kB / 32.23 MB, free: 1.883 MB / 14.72 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.004262, allocations: 130.7 kB / 32.36 MB, free: 1.742 MB / 14.72 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.115e-05/0.004343, allocations: 94.03 kB / 32.45 MB, free: 1.641 MB / 14.72 MB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/0.004352, allocations: 25.7 kB / 32.47 MB, free: 1.609 MB / 14.72 MB Notification: Performance of collectInitialEqns (initialization): time 2.892e-05/0.004381, allocations: 82.03 kB / 32.55 MB, free: 1.527 MB / 14.72 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-06/0.004383, allocations: 4.125 kB / 32.56 MB, free: 1.523 MB / 14.72 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/0.004409, allocations: 13.89 kB / 32.57 MB, free: 1.504 MB / 14.72 MB Notification: Performance of setup shared object (initialization): time 5.007e-05/0.004459, allocations: 314.8 kB / 32.88 MB, free: 1.188 MB / 14.72 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.606e-06/0.004467, allocations: 0 / 32.88 MB, free: 1.188 MB / 14.72 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.666e-05/0.004484, allocations: 13.72 kB / 32.89 MB, free: 1.168 MB / 14.72 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.81e-05/0.004502, allocations: 8.844 kB / 32.9 MB, free: 1.156 MB / 14.72 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.004504, allocations: 7.875 kB / 32.91 MB, free: 1.148 MB / 14.72 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.204e-05/0.004596, allocations: 41.91 kB / 32.95 MB, free: 1.102 MB / 14.72 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.004609, allocations: 4 kB / 32.95 MB, free: 1.098 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.004613, allocations: 0 / 32.95 MB, free: 1.098 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.004627, allocations: 0 / 32.95 MB, free: 1.098 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.794e-05/0.004675, allocations: 3.125 kB / 32.96 MB, free: 1.098 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.004681, allocations: 4 kB / 32.96 MB, free: 1.094 MB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.254e-05/0.004693, allocations: 0.5156 kB / 32.96 MB, free: 1.094 MB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.004698, allocations: 0 / 32.96 MB, free: 1.094 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.798e-05/0.004746, allocations: 193.7 kB / 33.15 MB, free: 0.8945 MB / 14.72 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.892e-05/0.004785, allocations: 116.4 kB / 33.26 MB, free: 0.7773 MB / 14.72 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.277e-05/0.004808, allocations: 104.3 kB / 33.36 MB, free: 0.668 MB / 14.72 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.24e-05/0.00483, allocations: 176.3 kB / 33.54 MB, free: 500 kB / 14.72 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.609e-05/0.004857, allocations: 180.2 kB / 33.71 MB, free: 312 kB / 14.72 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.674e-05/0.004883, allocations: 180.3 kB / 33.89 MB, free: 124 kB / 14.72 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.005125, allocations: 385.2 kB / 34.27 MB, free: 4.645 MB / 19.67 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-05/0.005176, allocations: 101 kB / 34.36 MB, free: 4.539 MB / 19.67 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.588e-05/0.005232, allocations: 101 kB / 34.46 MB, free: 4.434 MB / 19.67 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.793e-05/0.00532, allocations: 184.2 kB / 34.64 MB, free: 4.246 MB / 19.67 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.176e-05/0.005412, allocations: 180.2 kB / 34.82 MB, free: 4.062 MB / 19.67 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.495e-05/0.005507, allocations: 188.2 kB / 35 MB, free: 3.871 MB / 19.67 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-05/0.005596, allocations: 180.3 kB / 35.18 MB, free: 3.688 MB / 19.67 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.005771, allocations: 311.9 kB / 35.48 MB, free: 3.359 MB / 19.67 MB Notification: Performance of postOpt removeConstants (simulation): time 5.911e-05/0.00583, allocations: 113 kB / 35.59 MB, free: 3.242 MB / 19.67 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.672e-05/0.005927, allocations: 180.2 kB / 35.77 MB, free: 3.059 MB / 19.67 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.901e-05/0.006026, allocations: 108.9 kB / 35.88 MB, free: 2.945 MB / 19.67 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.428e-05/0.00612, allocations: 180.3 kB / 36.05 MB, free: 2.762 MB / 19.67 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.947e-05/0.006179, allocations: 104.9 kB / 36.15 MB, free: 2.652 MB / 19.67 MB Notification: Performance of sorting global known variables: time 4.55e-05/0.006225, allocations: 79.27 kB / 36.23 MB, free: 2.574 MB / 19.67 MB Notification: Performance of sort global known variables: time 7e-08/0.006225, allocations: 0 / 36.23 MB, free: 2.574 MB / 19.67 MB Notification: Performance of remove unused functions: time 0.0003313/0.006556, allocations: 47.86 kB / 36.28 MB, free: 2.527 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.002493/0.009049, allocations: 1.194 MB / 37.47 MB, free: 1.309 MB / 19.67 MB Notification: Performance of simCode: created initialization part: time 9.506e-05/0.009144, allocations: 11.94 kB / 37.48 MB, free: 1.297 MB / 19.67 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.009146, allocations: 0 / 37.48 MB, free: 1.297 MB / 19.67 MB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.009148, allocations: 0 / 37.48 MB, free: 1.297 MB / 19.67 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.009595, allocations: 455.8 kB / 37.93 MB, free: 0.8477 MB / 19.67 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004155/0.01001, allocations: 209.9 kB / 38.13 MB, free: 0.5938 MB / 19.67 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007863/0.01787, allocations: 0.6693 MB / 38.8 MB, free: 7.262 MB / 19.67 MB Notification: Performance of simCode: alias equations: time 2.297e-05/0.0179, allocations: 1.25 kB / 38.8 MB, free: 7.262 MB / 19.67 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.01792, allocations: 7.438 kB / 38.81 MB, free: 7.254 MB / 19.67 MB Notification: Performance of SimCode: time 8.22e-07/0.01792, allocations: 0 / 38.81 MB, free: 7.254 MB / 19.67 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03752/0.05543, allocations: 2.652 MB / 41.46 MB, free: 5.488 MB / 19.67 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.24, allocations: 7.25 kB / 41.47 MB, free: 5.488 MB / 19.67 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.945679348005797] Failed to read output from testmodel.py, exit status != 0: 11.345795499997621 11.382477688 11.375331327 Calling exit ...