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.001219/0.001219, 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.933e-06/1.933e-06, allocations: 0 / 29.92 MB, free: 4.758 MB / 18.57 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.934e-06/9.867e-06, allocations: 6.281 kB / 29.93 MB, free: 4.75 MB / 18.57 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.000763/0.0007728, allocations: 369.6 kB / 30.29 MB, free: 4.391 MB / 18.57 MB Notification: Performance of NFInst.instExpressions: time 0.0004044/0.001177, allocations: 332.7 kB / 30.62 MB, free: 4.066 MB / 18.57 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.871e-05/0.001196, allocations: 0 / 30.62 MB, free: 4.066 MB / 18.57 MB Notification: Performance of NFTyping.typeComponents: time 1.912e-05/0.001215, allocations: 7.938 kB / 30.62 MB, free: 4.059 MB / 18.57 MB Notification: Performance of NFTyping.typeBindings: time 2.574e-05/0.001241, allocations: 0 / 30.62 MB, free: 4.059 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.0003438/0.001585, allocations: 115.3 kB / 30.74 MB, free: 3.945 MB / 18.57 MB Notification: Performance of NFFlatten.flatten: time 3.533e-05/0.00162, allocations: 4.359 kB / 30.74 MB, free: 3.941 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 3.597e-05/0.001656, allocations: 128 / 30.74 MB, free: 3.941 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 2.234e-05/0.001678, allocations: 7.938 kB / 30.75 MB, free: 3.934 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 1.58e-05/0.001694, allocations: 0 / 30.75 MB, free: 3.934 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 5.781e-06/0.0017, allocations: 3.938 kB / 30.75 MB, free: 3.93 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001488/0.001849, allocations: 127.8 kB / 30.88 MB, free: 3.805 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 6.663e-06/0.001855, allocations: 0 / 30.88 MB, free: 3.805 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 1.148e-05/0.001867, allocations: 128 / 30.88 MB, free: 3.805 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.002002, allocations: 139.5 kB / 31.01 MB, free: 3.668 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.002003, allocations: 4 kB / 31.02 MB, free: 3.664 MB / 18.57 MB Notification: Performance of FrontEnd: time 8.11e-07/0.002004, allocations: 0 / 31.02 MB, free: 3.664 MB / 18.57 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.002008, allocations: 0 / 31.02 MB, free: 3.664 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.0001957/0.002204, allocations: 304 kB / 31.32 MB, free: 3.328 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.00224, allocations: 8.391 kB / 31.32 MB, free: 3.32 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.922e-05/0.002259, allocations: 34.73 kB / 31.36 MB, free: 3.277 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.129e-05/0.00228, allocations: 5.109 kB / 31.36 MB, free: 3.273 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.572e-05/0.002316, allocations: 105.7 kB / 31.47 MB, free: 3.145 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.826e-06/0.002325, allocations: 384 / 31.47 MB, free: 3.145 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.693e-06/0.002331, allocations: 384 / 31.47 MB, free: 3.145 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.94e-05/0.002401, allocations: 38.27 kB / 31.5 MB, free: 3.102 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.002408, allocations: 4.172 kB / 31.51 MB, free: 3.098 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.244e-06/0.002416, allocations: 384 / 31.51 MB, free: 3.098 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.00242, allocations: 4.125 kB / 31.51 MB, free: 3.094 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.521e-05/0.002436, allocations: 0 / 31.51 MB, free: 3.094 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002001/0.002636, allocations: 351.1 kB / 31.85 MB, free: 2.707 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 4.353e-05/0.002679, allocations: 177.1 kB / 32.03 MB, free: 2.523 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.469e-05/0.002694, allocations: 80.14 kB / 32.11 MB, free: 2.441 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.002707, allocations: 75.28 kB / 32.18 MB, free: 2.367 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.002727, allocations: 113.8 kB / 32.29 MB, free: 2.246 MB / 18.57 MB Notification: Performance of pre-optimization done (n=0): time 5.91e-07/0.002728, allocations: 4 kB / 32.29 MB, free: 2.242 MB / 18.57 MB Notification: Performance of matching and sorting (n=0): time 5.936e-05/0.002787, allocations: 29.91 kB / 32.32 MB, free: 2.207 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.002814, allocations: 130.6 kB / 32.45 MB, free: 2.066 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.857e-05/0.002872, allocations: 102.2 kB / 32.55 MB, free: 1.957 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 5.841e-06/0.002878, allocations: 25.7 kB / 32.58 MB, free: 1.926 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 2.608e-05/0.002904, allocations: 82.38 kB / 32.66 MB, free: 1.844 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 2.895e-06/0.002907, allocations: 0 / 32.66 MB, free: 1.844 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-05/0.002931, allocations: 13.72 kB / 32.67 MB, free: 1.824 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 3.336e-05/0.002964, allocations: 310.8 kB / 32.97 MB, free: 1.512 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.713e-06/0.002971, allocations: 0 / 32.97 MB, free: 1.512 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.313e-05/0.002994, allocations: 43.55 kB / 33.02 MB, free: 1.457 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.751e-05/0.003012, allocations: 8.859 kB / 33.02 MB, free: 1.445 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.003013, allocations: 0 / 33.02 MB, free: 1.445 MB / 18.57 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.761e-05/0.003091, allocations: 45.56 kB / 33.07 MB, free: 1.395 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.003103, allocations: 7.938 kB / 33.08 MB, free: 1.387 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.003108, allocations: 0 / 33.08 MB, free: 1.387 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.003121, allocations: 0 / 33.08 MB, free: 1.387 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.385e-05/0.003164, allocations: 7.938 kB / 33.08 MB, free: 1.379 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.003169, allocations: 0 / 33.08 MB, free: 1.379 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.656e-06/0.003178, allocations: 8.078 kB / 33.09 MB, free: 1.371 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.003183, allocations: 0 / 33.09 MB, free: 1.371 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.985e-05/0.003223, allocations: 185.7 kB / 33.27 MB, free: 1.18 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.926e-05/0.003242, allocations: 104.9 kB / 33.38 MB, free: 1.07 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.906e-05/0.003261, allocations: 117.2 kB / 33.49 MB, free: 0.9492 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.003276, allocations: 180.3 kB / 33.67 MB, free: 0.7656 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.901e-05/0.003295, allocations: 176.3 kB / 33.84 MB, free: 0.5859 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-05/0.003311, allocations: 180.2 kB / 34.02 MB, free: 412 kB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003252/0.006562, allocations: 376.3 kB / 34.38 MB, free: 7.965 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/0.006572, allocations: 102.5 kB / 34.48 MB, free: 7.859 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.633e-06/0.006579, allocations: 107.2 kB / 34.59 MB, free: 7.754 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.269e-05/0.006592, allocations: 181.5 kB / 34.76 MB, free: 7.574 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.006606, allocations: 184.4 kB / 34.94 MB, free: 7.395 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.165e-05/0.006618, allocations: 178.5 kB / 35.12 MB, free: 7.215 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.175e-05/0.00663, allocations: 178.1 kB / 35.29 MB, free: 7.035 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.108e-05/0.006671, allocations: 312.9 kB / 35.6 MB, free: 6.727 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 1.622e-05/0.006687, allocations: 108.7 kB / 35.7 MB, free: 6.621 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.006707, allocations: 185 kB / 35.89 MB, free: 6.441 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.822e-05/0.006736, allocations: 102.5 kB / 35.99 MB, free: 6.336 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.762e-05/0.006753, allocations: 180.5 kB / 36.16 MB, free: 6.156 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.006762, allocations: 111.4 kB / 36.27 MB, free: 6.051 MB / 18.57 MB Notification: Performance of sorting global known variables: time 1.479e-05/0.006777, allocations: 76.28 kB / 36.35 MB, free: 5.977 MB / 18.57 MB Notification: Performance of sort global known variables: time 5e-08/0.006777, allocations: 0 / 36.35 MB, free: 5.977 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0001924/0.006969, allocations: 43.95 kB / 36.39 MB, free: 5.977 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.004403/0.01137, allocations: 1.236 MB / 37.62 MB, free: 4.926 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 7.335e-05/0.01144, allocations: 6.594 kB / 37.63 MB, free: 4.922 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01145, allocations: 1.25 kB / 37.63 MB, free: 4.922 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.01145, allocations: 0 / 37.63 MB, free: 4.922 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.01162, allocations: 458.1 kB / 38.08 MB, free: 4.477 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002361/0.01186, allocations: 213 kB / 38.29 MB, free: 4.254 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.573e-05/0.01188, allocations: 54.56 kB / 38.34 MB, free: 4.184 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 1.526e-05/0.0119, allocations: 128 / 38.34 MB, free: 4.184 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.479e-05/0.01191, allocations: 13.22 kB / 38.35 MB, free: 4.172 MB / 18.57 MB Notification: Performance of SimCode: time 5.21e-07/0.01191, allocations: 0 / 38.35 MB, free: 4.172 MB / 18.57 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01744/0.02935, allocations: 3.215 MB / 41.57 MB, free: 1.285 MB / 18.57 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.274/8.304, allocations: 4.438 kB / 41.57 MB, free: 1.281 MB / 18.57 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 & /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: 8.721917253918946] Failed to read output from testmodel.py, exit status != 0: 8.387880373746157 8.401370139 8.398091335 Calling exit ...