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.00403/0.00403, allocations: 340.4 kB / 19.96 MB, free: 1.996 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(MessagePack.Examples.TestCreateAndReadFile,fileNamePrefix="MessagePack_MessagePack_Examples_TestCreateAndReadFile",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0004716/0.0004716, allocations: 14.84 kB / 30.5 MB, free: 3.242 MB / 14.72 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0001294/0.000601, allocations: 93.36 kB / 30.59 MB, free: 3.199 MB / 14.72 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.001211/0.001812, allocations: 383.2 kB / 30.96 MB, free: 3.004 MB / 14.72 MB Notification: Performance of NFInst.instExpressions: time 0.000616/0.002428, allocations: 359.4 kB / 31.31 MB, free: 2.75 MB / 14.72 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.998e-05/0.002448, allocations: 0 / 31.31 MB, free: 2.75 MB / 14.72 MB Notification: Performance of NFTyping.typeComponents: time 1.073e-05/0.002459, allocations: 0 / 31.31 MB, free: 2.75 MB / 14.72 MB Notification: Performance of NFTyping.typeBindings: time 2.475e-05/0.002484, allocations: 3.938 kB / 31.32 MB, free: 2.746 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.0004211/0.002905, allocations: 119.2 kB / 31.43 MB, free: 2.648 MB / 14.72 MB Notification: Performance of NFFlatten.flatten: time 3.753e-05/0.002942, allocations: 0 / 31.43 MB, free: 2.648 MB / 14.72 MB Notification: Performance of NFFlatten.resolveConnections: time 3.887e-05/0.002981, allocations: 4 kB / 31.44 MB, free: 2.645 MB / 14.72 MB Notification: Performance of NFEvalConstants.evaluate: time 1.51e-05/0.002996, allocations: 0 / 31.44 MB, free: 2.645 MB / 14.72 MB Notification: Performance of NFSimplifyModel.simplify: time 1.473e-05/0.003011, allocations: 0 / 31.44 MB, free: 2.645 MB / 14.72 MB Notification: Performance of NFPackage.collectConstants: time 4.358e-06/0.003015, allocations: 4 kB / 31.44 MB, free: 2.641 MB / 14.72 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002112/0.003227, allocations: 145.1 kB / 31.58 MB, free: 2.531 MB / 14.72 MB Notification: Performance of NFScalarize.scalarize: time 6.562e-06/0.003233, allocations: 0 / 31.58 MB, free: 2.531 MB / 14.72 MB Notification: Performance of NFVerifyModel.verify: time 1.457e-05/0.003248, allocations: 0 / 31.58 MB, free: 2.531 MB / 14.72 MB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.003418, allocations: 119.4 kB / 31.7 MB, free: 2.434 MB / 14.72 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.003419, allocations: 0 / 31.7 MB, free: 2.434 MB / 14.72 MB Notification: Performance of FrontEnd: time 6.31e-07/0.00342, allocations: 0 / 31.7 MB, free: 2.434 MB / 14.72 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.003424, allocations: 0 / 31.7 MB, free: 2.434 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.0002196/0.003644, allocations: 314.9 kB / 32.01 MB, free: 2.086 MB / 14.72 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.00368, allocations: 12.39 kB / 32.02 MB, free: 2.074 MB / 14.72 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.742e-05/0.003697, allocations: 192 / 32.02 MB, free: 2.074 MB / 14.72 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.336e-05/0.00371, allocations: 30.75 kB / 32.05 MB, free: 2.035 MB / 14.72 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.099e-05/0.003731, allocations: 1.109 kB / 32.05 MB, free: 2.035 MB / 14.72 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.052e-05/0.003772, allocations: 105.3 kB / 32.15 MB, free: 1.91 MB / 14.72 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.00378, allocations: 4.375 kB / 32.16 MB, free: 1.906 MB / 14.72 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.482e-06/0.003787, allocations: 384 / 32.16 MB, free: 1.906 MB / 14.72 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.766e-05/0.003855, allocations: 37.95 kB / 32.19 MB, free: 1.863 MB / 14.72 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.003861, allocations: 0 / 32.19 MB, free: 1.863 MB / 14.72 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.003868, allocations: 6.297 kB / 32.2 MB, free: 1.859 MB / 14.72 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.003872, allocations: 4 kB / 32.2 MB, free: 1.855 MB / 14.72 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.544e-05/0.003888, allocations: 0 / 32.2 MB, free: 1.855 MB / 14.72 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001947/0.004082, allocations: 358.4 kB / 32.55 MB, free: 1.465 MB / 14.72 MB Notification: Performance of preOpt comSubExp (simulation): time 4.134e-05/0.004124, allocations: 180.4 kB / 32.73 MB, free: 1.281 MB / 14.72 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.402e-05/0.004138, allocations: 80.14 kB / 32.81 MB, free: 1.199 MB / 14.72 MB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.00415, allocations: 75.28 kB / 32.88 MB, free: 1.125 MB / 14.72 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.00417, allocations: 109.8 kB / 32.99 MB, free: 1.008 MB / 14.72 MB Notification: Performance of pre-optimization done (n=0): time 7.42e-07/0.004171, allocations: 0 / 32.99 MB, free: 1.008 MB / 14.72 MB Notification: Performance of matching and sorting (n=0): time 5.907e-05/0.00423, allocations: 33.89 kB / 33.02 MB, free: 0.9688 MB / 14.72 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.00426, allocations: 130.7 kB / 33.15 MB, free: 0.8281 MB / 14.72 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.791e-05/0.004308, allocations: 92.97 kB / 33.24 MB, free: 0.7305 MB / 14.72 MB Notification: Performance of collectPreVariables (initialization): time 5.621e-06/0.004314, allocations: 25.7 kB / 33.27 MB, free: 0.6992 MB / 14.72 MB Notification: Performance of collectInitialEqns (initialization): time 2.325e-05/0.004337, allocations: 86.03 kB / 33.35 MB, free: 0.6133 MB / 14.72 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.004339, allocations: 0 / 33.35 MB, free: 0.6133 MB / 14.72 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.249e-05/0.004362, allocations: 9.891 kB / 33.36 MB, free: 0.5977 MB / 14.72 MB Notification: Performance of setup shared object (initialization): time 3.759e-05/0.004399, allocations: 318.1 kB / 33.67 MB, free: 288 kB / 14.72 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.883e-06/0.004406, allocations: 4 kB / 33.67 MB, free: 284 kB / 14.72 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.67e-05/0.004423, allocations: 17.83 kB / 33.69 MB, free: 260 kB / 14.72 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.754e-05/0.00444, allocations: 12.8 kB / 33.7 MB, free: 244 kB / 14.72 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.004442, allocations: 0 / 33.7 MB, free: 244 kB / 14.72 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.707e-05/0.004519, allocations: 32.69 kB / 33.74 MB, free: 208 kB / 14.72 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.00453, allocations: 4 kB / 33.74 MB, free: 204 kB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.004534, allocations: 0 / 33.74 MB, free: 204 kB / 14.72 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.004546, allocations: 4 kB / 33.74 MB, free: 200 kB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.927e-05/0.004585, allocations: 4.125 kB / 33.75 MB, free: 196 kB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.004589, allocations: 3.938 kB / 33.75 MB, free: 192 kB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.165e-05/0.0046, allocations: 0.5156 kB / 33.75 MB, free: 192 kB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-06/0.004604, allocations: 0 / 33.75 MB, free: 192 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 7.155e-05/0.004675, allocations: 193.6 kB / 33.94 MB, free: 4.926 MB / 19.66 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.044e-05/0.004736, allocations: 101 kB / 34.04 MB, free: 4.82 MB / 19.66 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.456e-05/0.00479, allocations: 107 kB / 34.14 MB, free: 4.711 MB / 19.66 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.816e-05/0.004868, allocations: 188.2 kB / 34.33 MB, free: 4.52 MB / 19.66 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.609e-05/0.004945, allocations: 180.3 kB / 34.5 MB, free: 4.336 MB / 19.66 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.732e-05/0.005022, allocations: 184.2 kB / 34.68 MB, free: 4.148 MB / 19.66 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002555/0.005277, allocations: 375.4 kB / 35.05 MB, free: 3.734 MB / 19.66 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.536e-05/0.005323, allocations: 101 kB / 35.15 MB, free: 3.629 MB / 19.66 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.368e-05/0.005366, allocations: 104.9 kB / 35.25 MB, free: 3.52 MB / 19.66 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.346e-05/0.00544, allocations: 184.2 kB / 35.43 MB, free: 3.332 MB / 19.66 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.801e-05/0.005518, allocations: 186.8 kB / 35.61 MB, free: 3.145 MB / 19.66 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.146e-05/0.005589, allocations: 176.3 kB / 35.79 MB, free: 2.965 MB / 19.66 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.67e-05/0.005666, allocations: 184.2 kB / 35.97 MB, free: 2.777 MB / 19.66 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.00583, allocations: 318.5 kB / 36.28 MB, free: 2.445 MB / 19.66 MB Notification: Performance of postOpt removeConstants (simulation): time 4.697e-05/0.005877, allocations: 108.9 kB / 36.38 MB, free: 2.332 MB / 19.66 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/0.006017, allocations: 182.5 kB / 36.56 MB, free: 2.148 MB / 19.66 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.96e-05/0.006096, allocations: 108.9 kB / 36.67 MB, free: 2.035 MB / 19.66 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.0062, allocations: 176.3 kB / 36.84 MB, free: 1.855 MB / 19.66 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.475e-05/0.006245, allocations: 105 kB / 36.94 MB, free: 1.746 MB / 19.66 MB Notification: Performance of sorting global known variables: time 3.971e-05/0.006285, allocations: 86.47 kB / 37.03 MB, free: 1.664 MB / 19.66 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006285, allocations: 0 / 37.03 MB, free: 1.664 MB / 19.66 MB Notification: Performance of remove unused functions: time 0.0002876/0.006573, allocations: 38.3 kB / 37.06 MB, free: 1.633 MB / 19.66 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.002292/0.008864, allocations: 1.206 MB / 38.27 MB, free: 416 kB / 19.66 MB Notification: Performance of simCode: created initialization part: time 6.581e-05/0.00893, allocations: 0 / 38.27 MB, free: 416 kB / 19.66 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.008932, allocations: 0 / 38.27 MB, free: 416 kB / 19.66 MB Notification: Performance of simCode: created simulation system equations: time 2.044e-06/0.008934, allocations: 3.938 kB / 38.27 MB, free: 412 kB / 19.66 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005569/0.0145, allocations: 459.6 kB / 38.72 MB, free: 7.883 MB / 19.66 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003182/0.01482, allocations: 202.1 kB / 38.92 MB, free: 7.672 MB / 19.66 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.91e-05/0.01491, allocations: 0.6726 MB / 39.59 MB, free: 6.977 MB / 19.66 MB Notification: Performance of simCode: alias equations: time 1.525e-05/0.01493, allocations: 0 / 39.59 MB, free: 6.977 MB / 19.66 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.363e-05/0.01494, allocations: 8.812 kB / 39.6 MB, free: 6.969 MB / 19.66 MB Notification: Performance of SimCode: time 5.1e-07/0.01494, allocations: 0 / 39.6 MB, free: 6.969 MB / 19.66 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02275/0.03769, allocations: 2.691 MB / 42.29 MB, free: 5.211 MB / 19.66 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/10.79, allocations: 4.406 kB / 42.3 MB, free: 5.207 MB / 19.66 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MessagePack_MessagePack_Examples_TestCreateAndReadFile_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 MessagePack_MessagePack_Examples_TestCreateAndReadFile.fmu > MessagePack_MessagePack.Examples.TestCreateAndReadFile.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.374354756087996] Failed to read output from testmodel.py, exit status != 0: 10.948312132968567 10.971217752 10.964848809 Calling exit ...