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.001581/0.001581, allocations: 246.8 kB / 19.33 MB, free: 0.5781 MB / 13.93 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 1.513e-06/1.513e-06, allocations: 3.938 kB / 29.92 MB, free: 4.629 MB / 18.57 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.943e-06/8.456e-06, allocations: 2.281 kB / 29.92 MB, free: 4.625 MB / 18.57 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.0006633/0.0006717, allocations: 373.6 kB / 30.29 MB, free: 4.262 MB / 18.57 MB Notification: Performance of NFInst.instExpressions: time 0.000392/0.001064, allocations: 336.6 kB / 30.62 MB, free: 3.934 MB / 18.57 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.343e-05/0.001087, allocations: 0 / 30.62 MB, free: 3.934 MB / 18.57 MB Notification: Performance of NFTyping.typeComponents: time 1.939e-05/0.001107, allocations: 7.938 kB / 30.63 MB, free: 3.926 MB / 18.57 MB Notification: Performance of NFTyping.typeBindings: time 3.22e-05/0.001139, allocations: 0 / 30.63 MB, free: 3.926 MB / 18.57 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.0003513/0.00149, allocations: 115.3 kB / 30.74 MB, free: 3.812 MB / 18.57 MB Notification: Performance of NFFlatten.flatten: time 3.935e-05/0.001529, allocations: 4.359 kB / 30.74 MB, free: 3.809 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 4.719e-05/0.001577, allocations: 128 / 30.74 MB, free: 3.809 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 2.793e-05/0.001605, allocations: 7.938 kB / 30.75 MB, free: 3.801 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 2.131e-05/0.001626, allocations: 0 / 30.75 MB, free: 3.801 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 6.963e-06/0.001633, allocations: 3.938 kB / 30.75 MB, free: 3.797 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.001785, allocations: 127.8 kB / 30.88 MB, free: 3.672 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 7.203e-06/0.001792, allocations: 0 / 30.88 MB, free: 3.672 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 1.365e-05/0.001806, allocations: 128 / 30.88 MB, free: 3.672 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.001957, allocations: 135.5 kB / 31.01 MB, free: 3.539 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.001959, allocations: 4 kB / 31.01 MB, free: 3.535 MB / 18.57 MB Notification: Performance of FrontEnd: time 8.21e-07/0.00196, allocations: 0 / 31.01 MB, free: 3.535 MB / 18.57 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.001965, allocations: 0 / 31.01 MB, free: 3.535 MB / 18.57 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.0002358/0.0022, allocations: 308 kB / 31.32 MB, free: 3.195 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.002243, allocations: 8.391 kB / 31.32 MB, free: 3.188 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.241e-05/0.002265, allocations: 30.75 kB / 31.35 MB, free: 3.148 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.716e-05/0.002293, allocations: 5.109 kB / 31.36 MB, free: 3.145 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.216e-05/0.002335, allocations: 101.8 kB / 31.46 MB, free: 3.02 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.002348, allocations: 8.312 kB / 31.47 MB, free: 3.012 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.745e-06/0.002355, allocations: 4.375 kB / 31.47 MB, free: 3.008 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.117e-05/0.002426, allocations: 34.25 kB / 31.5 MB, free: 2.969 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.002434, allocations: 192 / 31.5 MB, free: 2.969 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.002442, allocations: 4.359 kB / 31.51 MB, free: 2.965 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.002448, allocations: 4.125 kB / 31.51 MB, free: 2.961 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.555e-05/0.002463, allocations: 0 / 31.51 MB, free: 2.961 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001974/0.002661, allocations: 351.1 kB / 31.86 MB, free: 2.574 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 3.603e-05/0.002697, allocations: 173.1 kB / 32.02 MB, free: 2.395 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.042e-05/0.002707, allocations: 80.14 kB / 32.1 MB, free: 2.312 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.002717, allocations: 79.27 kB / 32.18 MB, free: 2.234 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.002734, allocations: 117.8 kB / 32.3 MB, free: 2.109 MB / 18.57 MB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.002735, allocations: 0 / 32.3 MB, free: 2.109 MB / 18.57 MB Notification: Performance of matching and sorting (n=0): time 4.777e-05/0.002782, allocations: 29.91 kB / 32.32 MB, free: 2.074 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.099e-05/0.002803, allocations: 134.6 kB / 32.46 MB, free: 1.93 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.393e-05/0.002847, allocations: 94.2 kB / 32.55 MB, free: 1.828 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 4.859e-06/0.002852, allocations: 25.7 kB / 32.57 MB, free: 1.797 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 2.272e-05/0.002875, allocations: 82.38 kB / 32.65 MB, free: 1.715 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.002877, allocations: 0 / 32.65 MB, free: 1.715 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.951e-05/0.002896, allocations: 13.72 kB / 32.67 MB, free: 1.695 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 2.786e-05/0.002924, allocations: 314.8 kB / 32.97 MB, free: 1.379 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.224e-06/0.002932, allocations: 4.125 kB / 32.98 MB, free: 1.375 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.822e-05/0.00295, allocations: 43.42 kB / 33.02 MB, free: 1.32 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.226e-05/0.002972, allocations: 4.859 kB / 33.03 MB, free: 1.312 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.002974, allocations: 0 / 33.03 MB, free: 1.312 MB / 18.57 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.648e-05/0.00304, allocations: 41.58 kB / 33.07 MB, free: 1.266 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.003057, allocations: 7.938 kB / 33.07 MB, free: 1.258 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.003062, allocations: 0 / 33.07 MB, free: 1.258 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.003072, allocations: 0 / 33.07 MB, free: 1.258 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.402e-05/0.003116, allocations: 7.938 kB / 33.08 MB, free: 1.25 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.003122, allocations: 4.109 kB / 33.09 MB, free: 1.246 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.415e-06/0.00313, allocations: 7.953 kB / 33.09 MB, free: 1.238 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.003135, allocations: 0 / 33.09 MB, free: 1.238 MB / 18.57 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 3.762e-05/0.003173, allocations: 189.7 kB / 33.28 MB, free: 1.043 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.967e-05/0.003192, allocations: 104.9 kB / 33.38 MB, free: 0.9336 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.639e-05/0.003209, allocations: 109.2 kB / 33.49 MB, free: 0.8203 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/0.003223, allocations: 180.3 kB / 33.66 MB, free: 0.6367 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.588e-05/0.003239, allocations: 180.2 kB / 33.84 MB, free: 464 kB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.003253, allocations: 180.2 kB / 34.02 MB, free: 276 kB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003159/0.006411, allocations: 372.3 kB / 34.38 MB, free: 7.828 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.00642, allocations: 104.7 kB / 34.48 MB, free: 7.723 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.601e-06/0.006425, allocations: 105.2 kB / 34.58 MB, free: 7.617 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.839e-06/0.006435, allocations: 182.2 kB / 34.76 MB, free: 7.438 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.006449, allocations: 188 kB / 34.95 MB, free: 7.258 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.967e-06/0.006458, allocations: 178 kB / 35.12 MB, free: 7.078 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-05/0.006469, allocations: 184.4 kB / 35.3 MB, free: 6.898 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.631e-05/0.006505, allocations: 310.4 kB / 35.6 MB, free: 6.59 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 1.303e-05/0.006518, allocations: 107.1 kB / 35.71 MB, free: 6.484 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.006536, allocations: 179.6 kB / 35.88 MB, free: 6.305 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.564e-05/0.006561, allocations: 105 kB / 35.99 MB, free: 6.199 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.662e-05/0.006578, allocations: 182.6 kB / 36.16 MB, free: 6.02 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.006586, allocations: 104.8 kB / 36.27 MB, free: 5.914 MB / 18.57 MB Notification: Performance of sorting global known variables: time 1.583e-05/0.006602, allocations: 80.31 kB / 36.34 MB, free: 5.84 MB / 18.57 MB Notification: Performance of sort global known variables: time 5e-08/0.006602, allocations: 0 / 36.34 MB, free: 5.84 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0001827/0.006785, allocations: 46.66 kB / 36.39 MB, free: 5.84 MB / 18.57 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.0007477/0.007532, allocations: 1.229 MB / 37.62 MB, free: 4.789 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 6.639e-05/0.007599, allocations: 9.984 kB / 37.63 MB, free: 4.789 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.0076, allocations: 0 / 37.63 MB, free: 4.789 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.007602, allocations: 2.484 kB / 37.63 MB, free: 4.789 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.007759, allocations: 459.5 kB / 38.08 MB, free: 4.344 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002403/0.008, allocations: 213.3 kB / 38.29 MB, free: 4.121 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.515e-05/0.008025, allocations: 56.42 kB / 38.34 MB, free: 4.051 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 1.928e-05/0.008044, allocations: 128 / 38.34 MB, free: 4.051 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.449e-05/0.008059, allocations: 9.875 kB / 38.35 MB, free: 4.039 MB / 18.57 MB Notification: Performance of SimCode: time 3.91e-07/0.008059, allocations: 4.156 kB / 38.36 MB, free: 4.035 MB / 18.57 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01638/0.02444, allocations: 3.213 MB / 41.57 MB, free: 1.172 MB / 18.57 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.641/8.665, allocations: 4.438 kB / 41.58 MB, free: 1.168 MB / 18.57 MB " [Timeout remaining time 651] (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: 9.174833981320262] Failed to read output from testmodel.py, exit status != 0: 8.74725919868797 8.760573962 8.754739743 Calling exit ...