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 0.1.1-master/package.mo", uses=false) Using package MessagePack with version 0.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.1.1-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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.1.1-master/package.mo): time 0.1204/0.1204, allocations: 318.8 kB / 15.58 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of FrontEnd - loaded program: time 1.813e-05/1.816e-05, allocations: 3.938 kB / 22.46 MB, free: 1.086 MB / 14.72 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0002421/0.0002797, allocations: 100.1 kB / 22.56 MB, free: 0.9883 MB / 14.72 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.0004428/0.0007348, allocations: 102.7 kB / 22.66 MB, free: 0.8906 MB / 14.72 MB Notification: Performance of NFInst.instExpressions: time 0.0007562/0.001506, allocations: 329.9 kB / 22.98 MB, free: 0.5703 MB / 14.72 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.477e-05/0.001534, allocations: 0 / 22.98 MB, free: 0.5703 MB / 14.72 MB Notification: Performance of NFTyping.typeComponents: time 1.486e-05/0.00156, allocations: 0 / 22.98 MB, free: 0.5703 MB / 14.72 MB Notification: Performance of NFTyping.typeBindings: time 1.94e-05/0.001586, allocations: 0 / 22.98 MB, free: 0.5703 MB / 14.72 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003661/0.00196, allocations: 108.6 kB / 23.09 MB, free: 476 kB / 14.72 MB Notification: Performance of NFFlatten.flatten: time 3.063e-05/0.002004, allocations: 0 / 23.09 MB, free: 476 kB / 14.72 MB Notification: Performance of NFFlatten.resolveConnections: time 5.362e-05/0.002068, allocations: 8 kB / 23.1 MB, free: 468 kB / 14.72 MB Notification: Performance of NFEvalConstants.evaluate: time 1.7e-05/0.002095, allocations: 3.938 kB / 23.1 MB, free: 464 kB / 14.72 MB Notification: Performance of NFSimplifyModel.simplify: time 1.504e-05/0.002118, allocations: 0 / 23.1 MB, free: 464 kB / 14.72 MB Notification: Performance of NFPackage.collectConstants: time 5.711e-06/0.002131, allocations: 0 / 23.1 MB, free: 464 kB / 14.72 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002335/0.002371, allocations: 131.8 kB / 23.23 MB, free: 332 kB / 14.72 MB Notification: Performance of NFScalarize.scalarize: time 7.794e-06/0.00239, allocations: 0 / 23.23 MB, free: 332 kB / 14.72 MB Notification: Performance of NFVerifyModel.verify: time 2.7e-05/0.002425, allocations: 29.69 kB / 23.26 MB, free: 296 kB / 14.72 MB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.002635, allocations: 111.8 kB / 23.37 MB, free: 184 kB / 14.72 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.002648, allocations: 0 / 23.37 MB, free: 184 kB / 14.72 MB Notification: Performance of FrontEnd: time 9.42e-07/0.002656, allocations: 0 / 23.37 MB, free: 184 kB / 14.72 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.002668, allocations: 4 kB / 23.37 MB, free: 180 kB / 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.008687/0.01136, allocations: 381.4 kB / 23.74 MB, free: 5.465 MB / 14.72 MB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/0.01144, allocations: 9.781 kB / 23.75 MB, free: 5.465 MB / 14.72 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.644e-05/0.01148, allocations: 30.75 kB / 23.78 MB, free: 5.426 MB / 14.72 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/0.01152, allocations: 1.844 kB / 23.78 MB, free: 5.426 MB / 14.72 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.552e-05/0.01159, allocations: 161.8 kB / 23.94 MB, free: 5.23 MB / 14.72 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.01162, allocations: 384 / 23.94 MB, free: 5.23 MB / 14.72 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.01163, allocations: 2.125 kB / 23.94 MB, free: 5.23 MB / 14.72 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.347e-05/0.01173, allocations: 31.53 kB / 23.98 MB, free: 5.199 MB / 14.72 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.01175, allocations: 7.094 kB / 23.98 MB, free: 5.195 MB / 14.72 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.01177, allocations: 3.266 kB / 23.99 MB, free: 5.195 MB / 14.72 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.01178, allocations: 0 / 23.99 MB, free: 5.195 MB / 14.72 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.933e-05/0.01181, allocations: 5.156 kB / 23.99 MB, free: 5.195 MB / 14.72 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000257/0.01207, allocations: 377.1 kB / 24.36 MB, free: 4.785 MB / 14.72 MB Notification: Performance of preOpt comSubExp (simulation): time 4.958e-05/0.01213, allocations: 172.3 kB / 24.53 MB, free: 4.609 MB / 14.72 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.967e-05/0.01216, allocations: 81.52 kB / 24.61 MB, free: 4.527 MB / 14.72 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.01219, allocations: 77.42 kB / 24.68 MB, free: 4.453 MB / 14.72 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.01222, allocations: 114.5 kB / 24.79 MB, free: 4.34 MB / 14.72 MB Notification: Performance of pre-optimization done (n=0): time 1.302e-06/0.01223, allocations: 0 / 24.79 MB, free: 4.34 MB / 14.72 MB Notification: Performance of matching and sorting (n=0): time 7.206e-05/0.01231, allocations: 28.89 kB / 24.82 MB, free: 4.309 MB / 14.72 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.01234, allocations: 127.5 kB / 24.95 MB, free: 4.172 MB / 14.72 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.255e-05/0.01241, allocations: 98.05 kB / 25.04 MB, free: 4.074 MB / 14.72 MB Notification: Performance of collectPreVariables (initialization): time 9.498e-06/0.01243, allocations: 25.7 kB / 25.07 MB, free: 4.043 MB / 14.72 MB Notification: Performance of collectInitialEqns (initialization): time 2.873e-05/0.01247, allocations: 88.86 kB / 25.15 MB, free: 3.961 MB / 14.72 MB Notification: Performance of collectInitialBindings (initialization): time 3.306e-06/0.01248, allocations: 0.9375 kB / 25.16 MB, free: 3.961 MB / 14.72 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.281e-05/0.01251, allocations: 10.81 kB / 25.17 MB, free: 3.945 MB / 14.72 MB Notification: Performance of setup shared object (initialization): time 4.852e-05/0.01257, allocations: 312.5 kB / 25.47 MB, free: 3.633 MB / 14.72 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.287e-06/0.01258, allocations: 3.812 kB / 25.48 MB, free: 3.633 MB / 14.72 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.465e-05/0.01262, allocations: 17.12 kB / 25.49 MB, free: 3.613 MB / 14.72 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.592e-05/0.01265, allocations: 7.859 kB / 25.5 MB, free: 3.605 MB / 14.72 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.01266, allocations: 3.938 kB / 25.5 MB, free: 3.602 MB / 14.72 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001061/0.01277, allocations: 34.62 kB / 25.54 MB, free: 3.57 MB / 14.72 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.0128, allocations: 5.219 kB / 25.54 MB, free: 3.57 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.01281, allocations: 1.406 kB / 25.54 MB, free: 3.57 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.01284, allocations: 3.375 kB / 25.55 MB, free: 3.57 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.956e-05/0.01289, allocations: 1.688 kB / 25.55 MB, free: 3.57 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.01291, allocations: 2.125 kB / 25.55 MB, free: 3.57 MB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.681e-05/0.01293, allocations: 4.125 kB / 25.55 MB, free: 3.566 MB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.01295, allocations: 2.156 kB / 25.56 MB, free: 3.566 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.469e-05/0.01302, allocations: 191.5 kB / 25.74 MB, free: 3.375 MB / 14.72 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.624e-05/0.01307, allocations: 107.2 kB / 25.85 MB, free: 3.27 MB / 14.72 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.759e-05/0.01311, allocations: 108.6 kB / 25.95 MB, free: 3.156 MB / 14.72 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.249e-05/0.01315, allocations: 181.2 kB / 26.13 MB, free: 2.973 MB / 14.72 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.793e-05/0.01319, allocations: 187.9 kB / 26.31 MB, free: 2.789 MB / 14.72 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.911e-05/0.01322, allocations: 182.4 kB / 26.49 MB, free: 2.605 MB / 14.72 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.01338, allocations: 403.6 kB / 26.89 MB, free: 2.16 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.528e-05/0.01341, allocations: 101 kB / 26.99 MB, free: 2.055 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.66e-05/0.01343, allocations: 109 kB / 27.09 MB, free: 1.945 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.059e-05/0.01347, allocations: 178.3 kB / 27.27 MB, free: 1.766 MB / 14.72 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.483e-05/0.01352, allocations: 185 kB / 27.45 MB, free: 1.578 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.632e-05/0.01356, allocations: 184.8 kB / 27.63 MB, free: 1.395 MB / 14.72 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.441e-05/0.0136, allocations: 181 kB / 27.8 MB, free: 1.211 MB / 14.72 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.769e-05/0.0137, allocations: 304 kB / 28.1 MB, free: 0.8984 MB / 14.72 MB Notification: Performance of postOpt removeConstants (simulation): time 4.447e-05/0.01375, allocations: 189.7 kB / 28.29 MB, free: 0.6914 MB / 14.72 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.857e-05/0.01381, allocations: 178.3 kB / 28.46 MB, free: 0.5117 MB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.27e-05/0.01389, allocations: 108.2 kB / 28.57 MB, free: 412 kB / 14.72 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.076e-05/0.01395, allocations: 183.5 kB / 28.75 MB, free: 228 kB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.512e-05/0.01398, allocations: 107.8 kB / 28.85 MB, free: 120 kB / 14.72 MB Notification: Performance of sorting global known variables: time 2.529e-05/0.01401, allocations: 79.28 kB / 28.93 MB, free: 40 kB / 14.72 MB Notification: Performance of sort global known variables: time 1.91e-07/0.01402, allocations: 3.938 kB / 28.93 MB, free: 36 kB / 14.72 MB Notification: Performance of remove unused functions: time 0.0004265/0.01446, allocations: 46.58 kB / 28.98 MB, free: 36 kB / 14.72 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.05024/0.06471, allocations: 1.201 MB / 30.18 MB, free: 3.902 MB / 19.67 MB Notification: Performance of simCode: created initialization part: time 0.0001707/0.06495, allocations: 6.438 kB / 30.18 MB, free: 3.898 MB / 19.67 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.06496, allocations: 0 / 30.18 MB, free: 3.898 MB / 19.67 MB Notification: Performance of simCode: created simulation system equations: time 7.333e-06/0.06498, allocations: 1.828 kB / 30.19 MB, free: 3.898 MB / 19.67 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005418/0.06553, allocations: 0.5263 MB / 30.71 MB, free: 3.371 MB / 19.67 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006143/0.06615, allocations: 207.6 kB / 30.92 MB, free: 3.156 MB / 19.67 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.06651, allocations: 0.6763 MB / 31.59 MB, free: 2.457 MB / 19.67 MB Notification: Performance of simCode: alias equations: time 2.379e-05/0.06655, allocations: 0 / 31.59 MB, free: 2.457 MB / 19.67 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.729e-05/0.06658, allocations: 8.812 kB / 31.6 MB, free: 2.449 MB / 19.67 MB Notification: Performance of SimCode: time 4.91e-07/0.06659, allocations: 0 / 31.6 MB, free: 2.449 MB / 19.67 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1693/0.2359, allocations: 2.3 MB / 33.9 MB, free: 0.5664 MB / 19.67 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003128/0.2362, allocations: 233.2 kB / 34.13 MB, free: 316 kB / 19.67 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.385/3.621, allocations: 0 / 34.13 MB, free: 316 kB / 19.67 MB (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 --timeout=50 --tolerance=1e-06 MessagePack_MessagePack_Examples_TestCreateAndReadFile.fmu > MessagePack_MessagePack.Examples.TestCreateAndReadFile.pipe 2>&1)