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.02871/0.02871, allocations: 332.6 kB / 15.96 MB, free: 6 MB / 14.72 MB Notification: Performance of FrontEnd - loaded program: time 0.0007679/0.0007681, allocations: 10.98 kB / 23.47 MB, free: 5.18 MB / 14.72 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.000348/0.001164, allocations: 95.33 kB / 23.56 MB, free: 5.176 MB / 14.72 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.002699/0.003893, allocations: 375.3 kB / 23.93 MB, free: 5.121 MB / 14.72 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.005204, allocations: 349.2 kB / 24.27 MB, free: 4.891 MB / 14.72 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.053e-05/0.005271, allocations: 0 / 24.27 MB, free: 4.891 MB / 14.72 MB Notification: Performance of NFTyping.typeComponents: time 1.863e-05/0.005348, allocations: 0 / 24.27 MB, free: 4.891 MB / 14.72 MB Notification: Performance of NFTyping.typeBindings: time 5.353e-05/0.005413, allocations: 0 / 24.27 MB, free: 4.891 MB / 14.72 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.1.1-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 0.1.1-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 0.1.1-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.0006753/0.0061, allocations: 121.5 kB / 24.39 MB, free: 4.797 MB / 14.72 MB Notification: Performance of NFFlatten.flatten: time 4.769e-05/0.006162, allocations: 0 / 24.39 MB, free: 4.797 MB / 14.72 MB Notification: Performance of NFFlatten.resolveConnections: time 5.325e-05/0.006229, allocations: 3.375 kB / 24.39 MB, free: 4.797 MB / 14.72 MB Notification: Performance of NFEvalConstants.evaluate: time 1.643e-05/0.006259, allocations: 3.938 kB / 24.4 MB, free: 4.793 MB / 14.72 MB Notification: Performance of NFSimplifyModel.simplify: time 2.412e-05/0.006295, allocations: 4 kB / 24.4 MB, free: 4.789 MB / 14.72 MB Notification: Performance of NFPackage.collectConstants: time 7.704e-06/0.006316, allocations: 4 kB / 24.4 MB, free: 4.785 MB / 14.72 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003586/0.006685, allocations: 137.6 kB / 24.54 MB, free: 4.68 MB / 14.72 MB Notification: Performance of NFScalarize.scalarize: time 9.447e-06/0.006712, allocations: 0 / 24.54 MB, free: 4.68 MB / 14.72 MB Notification: Performance of NFVerifyModel.verify: time 2.88e-05/0.006751, allocations: 3.375 kB / 24.54 MB, free: 4.68 MB / 14.72 MB Notification: Performance of NFConvertDAE.convert: time 0.0002962/0.00706, allocations: 124.2 kB / 24.66 MB, free: 4.582 MB / 14.72 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.007082, allocations: 0 / 24.66 MB, free: 4.582 MB / 14.72 MB Notification: Performance of FrontEnd: time 2.074e-06/0.007094, allocations: 0 / 24.66 MB, free: 4.582 MB / 14.72 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.007108, allocations: 0 / 24.66 MB, free: 4.582 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.0003684/0.007486, allocations: 387.5 kB / 25.04 MB, free: 4.152 MB / 14.72 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.007549, allocations: 12.33 kB / 25.05 MB, free: 4.141 MB / 14.72 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.732e-05/0.00759, allocations: 34.75 kB / 25.09 MB, free: 4.098 MB / 14.72 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.612e-05/0.007638, allocations: 1.109 kB / 25.09 MB, free: 4.098 MB / 14.72 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.291e-05/0.007733, allocations: 160.4 kB / 25.24 MB, free: 3.902 MB / 14.72 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.007765, allocations: 384 / 25.24 MB, free: 3.902 MB / 14.72 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.007794, allocations: 4.375 kB / 25.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.007919, allocations: 28.75 kB / 25.28 MB, free: 3.867 MB / 14.72 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.007947, allocations: 3.938 kB / 25.28 MB, free: 3.863 MB / 14.72 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.007971, allocations: 0 / 25.28 MB, free: 3.863 MB / 14.72 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.007987, allocations: 0.5469 kB / 25.28 MB, free: 3.863 MB / 14.72 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.39e-05/0.00802, allocations: 3.938 kB / 25.29 MB, free: 3.859 MB / 14.72 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003594/0.008393, allocations: 383.4 kB / 25.66 MB, free: 3.438 MB / 14.72 MB Notification: Performance of preOpt comSubExp (simulation): time 9.798e-05/0.008507, allocations: 172.5 kB / 25.83 MB, free: 3.262 MB / 14.72 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.09e-05/0.008564, allocations: 84.17 kB / 25.91 MB, free: 3.176 MB / 14.72 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.008603, allocations: 79.22 kB / 25.99 MB, free: 3.098 MB / 14.72 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.008642, allocations: 113.8 kB / 26.1 MB, free: 2.977 MB / 14.72 MB Notification: Performance of pre-optimization done (n=0): time 2.134e-06/0.008656, allocations: 0 / 26.1 MB, free: 2.977 MB / 14.72 MB Notification: Performance of matching and sorting (n=0): time 0.0001159/0.00878, allocations: 33.89 kB / 26.13 MB, free: 2.938 MB / 14.72 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.008842, allocations: 126.7 kB / 26.26 MB, free: 2.801 MB / 14.72 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.008962, allocations: 97.47 kB / 26.35 MB, free: 2.699 MB / 14.72 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.008991, allocations: 25.7 kB / 26.38 MB, free: 2.668 MB / 14.72 MB Notification: Performance of collectInitialEqns (initialization): time 5.577e-05/0.009061, allocations: 86.16 kB / 26.46 MB, free: 2.582 MB / 14.72 MB Notification: Performance of collectInitialBindings (initialization): time 5.36e-06/0.009079, allocations: 0 / 26.46 MB, free: 2.582 MB / 14.72 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.042e-05/0.009139, allocations: 13.89 kB / 26.47 MB, free: 2.562 MB / 14.72 MB Notification: Performance of setup shared object (initialization): time 8.334e-05/0.009234, allocations: 310.8 kB / 26.78 MB, free: 2.25 MB / 14.72 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.73e-05/0.009264, allocations: 0 / 26.78 MB, free: 2.25 MB / 14.72 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.592e-05/0.009311, allocations: 21.08 kB / 26.8 MB, free: 2.227 MB / 14.72 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.528e-05/0.00936, allocations: 8.797 kB / 26.81 MB, free: 2.215 MB / 14.72 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.009378, allocations: 8.031 kB / 26.81 MB, free: 2.207 MB / 14.72 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001457/0.009532, allocations: 33.88 kB / 26.85 MB, free: 2.168 MB / 14.72 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.009567, allocations: 4 kB / 26.85 MB, free: 2.164 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.009585, allocations: 3.938 kB / 26.85 MB, free: 2.16 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.009615, allocations: 0 / 26.85 MB, free: 2.16 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.305e-05/0.009698, allocations: 0 / 26.85 MB, free: 2.16 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.009723, allocations: 4 kB / 26.86 MB, free: 2.156 MB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.35e-05/0.009756, allocations: 352 / 26.86 MB, free: 2.156 MB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.009775, allocations: 0 / 26.86 MB, free: 2.156 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 0.0001058/0.00989, allocations: 196.9 kB / 27.05 MB, free: 1.957 MB / 14.72 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.513e-05/0.009967, allocations: 109.1 kB / 27.16 MB, free: 1.844 MB / 14.72 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.052e-05/0.01002, allocations: 104.5 kB / 27.26 MB, free: 1.73 MB / 14.72 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-05/0.01008, allocations: 180.2 kB / 27.44 MB, free: 1.547 MB / 14.72 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.19e-05/0.01014, allocations: 180.3 kB / 27.61 MB, free: 1.363 MB / 14.72 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.451e-05/0.01019, allocations: 187.6 kB / 27.8 MB, free: 1.176 MB / 14.72 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.01041, allocations: 405.1 kB / 28.19 MB, free: 0.7227 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.496e-05/0.01045, allocations: 101 kB / 28.29 MB, free: 0.6172 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.017e-05/0.01053, allocations: 104.9 kB / 28.39 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.151e-05/0.01058, allocations: 190.6 kB / 28.58 MB, free: 328 kB / 14.72 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.254e-05/0.01064, allocations: 176.4 kB / 28.75 MB, free: 144 kB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009287/0.01994, allocations: 185.8 kB / 28.93 MB, free: 4.422 MB / 14.72 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.585e-05/0.02003, allocations: 178.6 kB / 29.11 MB, free: 4.242 MB / 14.72 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.02017, allocations: 310.4 kB / 29.41 MB, free: 3.934 MB / 14.72 MB Notification: Performance of postOpt removeConstants (simulation): time 4.578e-05/0.02023, allocations: 187.8 kB / 29.59 MB, free: 3.734 MB / 14.72 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.221e-05/0.02029, allocations: 186.3 kB / 29.77 MB, free: 3.555 MB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.395e-05/0.0204, allocations: 102.4 kB / 29.87 MB, free: 3.449 MB / 14.72 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.02045, allocations: 181.5 kB / 30.05 MB, free: 3.27 MB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.02048, allocations: 107.4 kB / 30.16 MB, free: 3.164 MB / 14.72 MB Notification: Performance of sorting global known variables: time 5.073e-05/0.02054, allocations: 76.75 kB / 30.23 MB, free: 3.09 MB / 14.72 MB Notification: Performance of sort global known variables: time 2.7e-07/0.02056, allocations: 0 / 30.23 MB, free: 3.09 MB / 14.72 MB Notification: Performance of remove unused functions: time 0.0005306/0.0211, allocations: 42.09 kB / 30.27 MB, free: 3.09 MB / 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.002747/0.02386, allocations: 1.202 MB / 31.48 MB, free: 2.066 MB / 14.72 MB Notification: Performance of simCode: created initialization part: time 0.0001177/0.024, allocations: 8.156 kB / 31.48 MB, free: 2.066 MB / 14.72 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.02402, allocations: 1.156 kB / 31.48 MB, free: 2.066 MB / 14.72 MB Notification: Performance of simCode: created simulation system equations: time 3.797e-06/0.02404, allocations: 0 / 31.48 MB, free: 2.066 MB / 14.72 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004056/0.02446, allocations: 461.7 kB / 31.94 MB, free: 1.621 MB / 14.72 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004809/0.02496, allocations: 204.3 kB / 32.13 MB, free: 1.398 MB / 14.72 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.02511, allocations: 0.6714 MB / 32.81 MB, free: 0.7031 MB / 14.72 MB Notification: Performance of simCode: alias equations: time 2.279e-05/0.02515, allocations: 0 / 32.81 MB, free: 0.7031 MB / 14.72 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.94e-05/0.02518, allocations: 10.09 kB / 32.82 MB, free: 0.6953 MB / 14.72 MB Notification: Performance of SimCode: time 6.11e-07/0.0252, allocations: 3.938 kB / 32.82 MB, free: 0.6953 MB / 14.72 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03015/0.05536, allocations: 2.534 MB / 35.35 MB, free: 3.465 MB / 19.63 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.1/8.155, allocations: 9.734 kB / 35.36 MB, free: 3.457 MB / 19.63 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)