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.003008/0.003008, allocations: 341.2 kB / 19.16 MB, free: 2.711 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.000508/0.000508, allocations: 14.08 kB / 29.71 MB, free: 4.109 MB / 14.72 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0001472/0.0006552, allocations: 99.16 kB / 29.81 MB, free: 4.074 MB / 14.72 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.001203/0.001858, allocations: 374.4 kB / 30.17 MB, free: 3.906 MB / 14.72 MB Notification: Performance of NFInst.instExpressions: time 0.0006302/0.002488, allocations: 361 kB / 30.52 MB, free: 3.66 MB / 14.72 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.91e-05/0.002518, allocations: 0 / 30.52 MB, free: 3.66 MB / 14.72 MB Notification: Performance of NFTyping.typeComponents: time 1.467e-05/0.002532, allocations: 0 / 30.52 MB, free: 3.66 MB / 14.72 MB Notification: Performance of NFTyping.typeBindings: time 1.817e-05/0.00255, allocations: 0 / 30.52 MB, free: 3.66 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.0004482/0.002999, allocations: 108.8 kB / 30.63 MB, free: 3.59 MB / 14.72 MB Notification: Performance of NFFlatten.flatten: time 3.776e-05/0.003036, allocations: 7.938 kB / 30.64 MB, free: 3.582 MB / 14.72 MB Notification: Performance of NFFlatten.resolveConnections: time 4.622e-05/0.003083, allocations: 3.984 kB / 30.64 MB, free: 3.578 MB / 14.72 MB Notification: Performance of NFEvalConstants.evaluate: time 1.371e-05/0.003096, allocations: 3.984 kB / 30.65 MB, free: 3.574 MB / 14.72 MB Notification: Performance of NFSimplifyModel.simplify: time 1.948e-05/0.003116, allocations: 0 / 30.65 MB, free: 3.574 MB / 14.72 MB Notification: Performance of NFPackage.collectConstants: time 5.01e-06/0.003121, allocations: 0 / 30.65 MB, free: 3.574 MB / 14.72 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002371/0.003358, allocations: 141.2 kB / 30.78 MB, free: 3.457 MB / 14.72 MB Notification: Performance of NFScalarize.scalarize: time 7.975e-06/0.003366, allocations: 2.516 kB / 30.79 MB, free: 3.457 MB / 14.72 MB Notification: Performance of NFVerifyModel.verify: time 1.527e-05/0.003381, allocations: 0 / 30.79 MB, free: 3.457 MB / 14.72 MB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.003577, allocations: 123.7 kB / 30.91 MB, free: 3.336 MB / 14.72 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.003579, allocations: 0 / 30.91 MB, free: 3.336 MB / 14.72 MB Notification: Performance of FrontEnd: time 6.31e-07/0.00358, allocations: 3.938 kB / 30.91 MB, free: 3.332 MB / 14.72 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.00359, allocations: 0 / 30.91 MB, free: 3.332 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.0002696/0.00386, allocations: 311.8 kB / 31.22 MB, free: 2.984 MB / 14.72 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.003902, allocations: 8.391 kB / 31.22 MB, free: 2.977 MB / 14.72 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.441e-05/0.003927, allocations: 30.75 kB / 31.25 MB, free: 2.938 MB / 14.72 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.311e-05/0.00395, allocations: 9.109 kB / 31.26 MB, free: 2.93 MB / 14.72 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.383e-05/0.004004, allocations: 110.5 kB / 31.37 MB, free: 2.801 MB / 14.72 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.004016, allocations: 384 / 31.37 MB, free: 2.801 MB / 14.72 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.004027, allocations: 384 / 31.37 MB, free: 2.801 MB / 14.72 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.767e-05/0.004115, allocations: 31.95 kB / 31.4 MB, free: 2.766 MB / 14.72 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.004124, allocations: 3.938 kB / 31.41 MB, free: 2.762 MB / 14.72 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.183e-06/0.004131, allocations: 0 / 31.41 MB, free: 2.762 MB / 14.72 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.004135, allocations: 0 / 31.41 MB, free: 2.762 MB / 14.72 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.81e-05/0.004154, allocations: 7.938 kB / 31.41 MB, free: 2.754 MB / 14.72 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002527/0.004406, allocations: 355 kB / 31.76 MB, free: 2.363 MB / 14.72 MB Notification: Performance of preOpt comSubExp (simulation): time 5.24e-05/0.004459, allocations: 177.1 kB / 31.93 MB, free: 2.18 MB / 14.72 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.933e-05/0.004478, allocations: 84.17 kB / 32.02 MB, free: 2.094 MB / 14.72 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.004496, allocations: 75.28 kB / 32.09 MB, free: 2.02 MB / 14.72 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.004524, allocations: 109.8 kB / 32.2 MB, free: 1.902 MB / 14.72 MB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.004525, allocations: 0 / 32.2 MB, free: 1.902 MB / 14.72 MB Notification: Performance of matching and sorting (n=0): time 6.88e-05/0.004594, allocations: 29.81 kB / 32.23 MB, free: 1.867 MB / 14.72 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.00463, allocations: 126.7 kB / 32.35 MB, free: 1.73 MB / 14.72 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.993e-05/0.00469, allocations: 98.03 kB / 32.45 MB, free: 1.625 MB / 14.72 MB Notification: Performance of collectPreVariables (initialization): time 7.744e-06/0.004698, allocations: 25.7 kB / 32.47 MB, free: 1.594 MB / 14.72 MB Notification: Performance of collectInitialEqns (initialization): time 3.275e-05/0.004731, allocations: 86.02 kB / 32.55 MB, free: 1.508 MB / 14.72 MB Notification: Performance of collectInitialBindings (initialization): time 2.845e-06/0.004734, allocations: 4.125 kB / 32.56 MB, free: 1.504 MB / 14.72 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/0.00476, allocations: 13.89 kB / 32.57 MB, free: 1.484 MB / 14.72 MB Notification: Performance of setup shared object (initialization): time 4.831e-05/0.004809, allocations: 310.8 kB / 32.88 MB, free: 1.172 MB / 14.72 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.456e-06/0.004817, allocations: 0 / 32.88 MB, free: 1.172 MB / 14.72 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.931e-05/0.004836, allocations: 13.72 kB / 32.89 MB, free: 1.152 MB / 14.72 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.048e-05/0.004857, allocations: 12.8 kB / 32.9 MB, free: 1.137 MB / 14.72 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.004859, allocations: 3.938 kB / 32.91 MB, free: 1.133 MB / 14.72 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.745e-05/0.004946, allocations: 33.97 kB / 32.94 MB, free: 1.094 MB / 14.72 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.004961, allocations: 11.98 kB / 32.95 MB, free: 1.082 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.004966, allocations: 7.922 kB / 32.96 MB, free: 1.074 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.004981, allocations: 0 / 32.96 MB, free: 1.074 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.213e-05/0.005033, allocations: 3.125 kB / 32.96 MB, free: 1.074 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.005039, allocations: 4 kB / 32.96 MB, free: 1.07 MB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.434e-05/0.005053, allocations: 0.5156 kB / 32.97 MB, free: 1.07 MB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.005059, allocations: 0 / 32.97 MB, free: 1.07 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 6.827e-05/0.005127, allocations: 189.7 kB / 33.15 MB, free: 0.875 MB / 14.72 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.266e-05/0.00517, allocations: 108.9 kB / 33.26 MB, free: 0.7617 MB / 14.72 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.143e-05/0.005201, allocations: 112.3 kB / 33.37 MB, free: 0.6445 MB / 14.72 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.553e-05/0.005237, allocations: 176.3 kB / 33.54 MB, free: 476 kB / 14.72 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.688e-05/0.005273, allocations: 180.2 kB / 33.71 MB, free: 288 kB / 14.72 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-05/0.005308, allocations: 180.3 kB / 33.89 MB, free: 100 kB / 14.72 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003017/0.00561, allocations: 385.2 kB / 34.27 MB, free: 4.621 MB / 19.67 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-05/0.005663, allocations: 101 kB / 34.37 MB, free: 4.516 MB / 19.67 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.677e-05/0.00572, allocations: 101 kB / 34.46 MB, free: 4.41 MB / 19.67 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.942e-05/0.005819, allocations: 184.2 kB / 34.64 MB, free: 4.223 MB / 19.67 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.835e-05/0.005918, allocations: 176.3 kB / 34.82 MB, free: 4.043 MB / 19.67 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001223/0.00604, allocations: 184.2 kB / 35 MB, free: 3.855 MB / 19.67 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001001/0.00614, allocations: 180.3 kB / 35.17 MB, free: 3.672 MB / 19.67 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.006365, allocations: 315.9 kB / 35.48 MB, free: 3.34 MB / 19.67 MB Notification: Performance of postOpt removeConstants (simulation): time 6.944e-05/0.006435, allocations: 109 kB / 35.59 MB, free: 3.227 MB / 19.67 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.006549, allocations: 188.2 kB / 35.77 MB, free: 3.035 MB / 19.67 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.555e-05/0.006644, allocations: 108.9 kB / 35.88 MB, free: 2.922 MB / 19.67 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.735e-05/0.006742, allocations: 184.2 kB / 36.06 MB, free: 2.734 MB / 19.67 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.772e-05/0.0068, allocations: 101 kB / 36.16 MB, free: 2.629 MB / 19.67 MB Notification: Performance of sorting global known variables: time 4.793e-05/0.006847, allocations: 75.28 kB / 36.23 MB, free: 2.555 MB / 19.67 MB Notification: Performance of sort global known variables: time 6e-08/0.006848, allocations: 0 / 36.23 MB, free: 2.555 MB / 19.67 MB Notification: Performance of remove unused functions: time 0.0003543/0.007202, allocations: 43.86 kB / 36.27 MB, free: 2.512 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.002437/0.009639, allocations: 1.203 MB / 37.48 MB, free: 1.285 MB / 19.67 MB Notification: Performance of simCode: created initialization part: time 8.804e-05/0.009727, allocations: 12 kB / 37.49 MB, free: 1.273 MB / 19.67 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.00973, allocations: 0 / 37.49 MB, free: 1.273 MB / 19.67 MB Notification: Performance of simCode: created simulation system equations: time 2.265e-06/0.009733, allocations: 0 / 37.49 MB, free: 1.273 MB / 19.67 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/0.01016, allocations: 455.8 kB / 37.93 MB, free: 0.8242 MB / 19.67 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000441/0.0106, allocations: 201.9 kB / 38.13 MB, free: 0.5781 MB / 19.67 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006818/0.01742, allocations: 0.6731 MB / 38.8 MB, free: 7.281 MB / 19.67 MB Notification: Performance of simCode: alias equations: time 2.553e-05/0.01745, allocations: 0.875 kB / 38.8 MB, free: 7.281 MB / 19.67 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.235e-05/0.01747, allocations: 7.438 kB / 38.81 MB, free: 7.273 MB / 19.67 MB Notification: Performance of SimCode: time 1.032e-06/0.01747, allocations: 1.25 kB / 38.81 MB, free: 7.273 MB / 19.67 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02959/0.04706, allocations: 2.653 MB / 41.46 MB, free: 5.473 MB / 19.67 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.43, allocations: 8.156 kB / 41.47 MB, free: 5.469 MB / 19.67 MB " [Timeout remaining time 648] (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.970886692171916] Failed to read output from testmodel.py, exit status != 0: 11.538241221103817 11.570192129 11.562908367 Calling exit ...