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.007363/0.007363, allocations: 329.4 kB / 15.96 MB, free: 6.441 MB / 14.72 MB Notification: Performance of FrontEnd - loaded program: time 0.0003047/0.0003048, allocations: 15.77 kB / 23.48 MB, free: 5.473 MB / 14.72 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0001477/0.0004748, allocations: 85.95 kB / 23.56 MB, free: 5.469 MB / 14.72 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.001122/0.001606, allocations: 379.6 kB / 23.93 MB, free: 5.406 MB / 14.72 MB Notification: Performance of NFInst.instExpressions: time 0.0005771/0.002197, allocations: 351.5 kB / 24.28 MB, free: 5.16 MB / 14.72 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.96e-05/0.002229, allocations: 0 / 24.28 MB, free: 5.16 MB / 14.72 MB Notification: Performance of NFTyping.typeComponents: time 1.099e-05/0.002261, allocations: 0 / 24.28 MB, free: 5.16 MB / 14.72 MB Notification: Performance of NFTyping.typeBindings: time 2.452e-05/0.002291, allocations: 0 / 24.28 MB, free: 5.16 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.000366/0.002661, allocations: 110.3 kB / 24.38 MB, free: 5.074 MB / 14.72 MB Notification: Performance of NFFlatten.flatten: time 3.398e-05/0.002704, allocations: 11.88 kB / 24.4 MB, free: 5.062 MB / 14.72 MB Notification: Performance of NFFlatten.resolveConnections: time 3.57e-05/0.002745, allocations: 0 / 24.4 MB, free: 5.062 MB / 14.72 MB Notification: Performance of NFEvalConstants.evaluate: time 1.088e-05/0.002761, allocations: 0 / 24.4 MB, free: 5.062 MB / 14.72 MB Notification: Performance of NFSimplifyModel.simplify: time 1.293e-05/0.002778, allocations: 0 / 24.4 MB, free: 5.062 MB / 14.72 MB Notification: Performance of NFPackage.collectConstants: time 4.228e-06/0.002786, allocations: 0 / 24.4 MB, free: 5.062 MB / 14.72 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001892/0.002981, allocations: 139.7 kB / 24.53 MB, free: 4.957 MB / 14.72 MB Notification: Performance of NFScalarize.scalarize: time 6.402e-06/0.002995, allocations: 0 / 24.53 MB, free: 4.957 MB / 14.72 MB Notification: Performance of NFVerifyModel.verify: time 1.398e-05/0.003014, allocations: 4 kB / 24.54 MB, free: 4.953 MB / 14.72 MB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.00318, allocations: 119.3 kB / 24.65 MB, free: 4.859 MB / 14.72 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.003191, allocations: 0 / 24.65 MB, free: 4.859 MB / 14.72 MB Notification: Performance of FrontEnd: time 9.42e-07/0.003197, allocations: 3.938 kB / 24.66 MB, free: 4.855 MB / 14.72 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.003206, allocations: 0 / 24.66 MB, free: 4.855 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.0002123/0.003422, allocations: 380.7 kB / 25.03 MB, free: 4.434 MB / 14.72 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.003461, allocations: 8.328 kB / 25.04 MB, free: 4.426 MB / 14.72 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.021e-05/0.003486, allocations: 34.73 kB / 25.07 MB, free: 4.383 MB / 14.72 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.9e-05/0.003511, allocations: 9.094 kB / 25.08 MB, free: 4.375 MB / 14.72 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.339e-05/0.003559, allocations: 164.1 kB / 25.24 MB, free: 4.18 MB / 14.72 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.003574, allocations: 384 / 25.24 MB, free: 4.18 MB / 14.72 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.092e-06/0.003585, allocations: 1 kB / 25.24 MB, free: 4.18 MB / 14.72 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.248e-05/0.003671, allocations: 30.89 kB / 25.27 MB, free: 4.145 MB / 14.72 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.003687, allocations: 3.938 kB / 25.27 MB, free: 4.141 MB / 14.72 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-06/0.003698, allocations: 0 / 25.27 MB, free: 4.141 MB / 14.72 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.003706, allocations: 0 / 25.27 MB, free: 4.141 MB / 14.72 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.663e-05/0.003727, allocations: 3.938 kB / 25.28 MB, free: 4.137 MB / 14.72 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002001/0.003932, allocations: 383.7 kB / 25.65 MB, free: 3.715 MB / 14.72 MB Notification: Performance of preOpt comSubExp (simulation): time 4.391e-05/0.003986, allocations: 170.1 kB / 25.82 MB, free: 3.539 MB / 14.72 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.447e-05/0.004006, allocations: 84.58 kB / 25.9 MB, free: 3.453 MB / 14.72 MB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.004023, allocations: 75.28 kB / 25.98 MB, free: 3.379 MB / 14.72 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.004048, allocations: 114.9 kB / 26.09 MB, free: 3.258 MB / 14.72 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.004054, allocations: 0 / 26.09 MB, free: 3.258 MB / 14.72 MB Notification: Performance of matching and sorting (n=0): time 6.127e-05/0.004119, allocations: 34.33 kB / 26.12 MB, free: 3.219 MB / 14.72 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.004153, allocations: 127.2 kB / 26.25 MB, free: 3.082 MB / 14.72 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.335e-05/0.004202, allocations: 95 kB / 26.34 MB, free: 2.98 MB / 14.72 MB Notification: Performance of collectPreVariables (initialization): time 5.76e-06/0.004214, allocations: 29.7 kB / 26.37 MB, free: 2.945 MB / 14.72 MB Notification: Performance of collectInitialEqns (initialization): time 2.424e-05/0.004243, allocations: 83.27 kB / 26.45 MB, free: 2.863 MB / 14.72 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.00425, allocations: 4 kB / 26.45 MB, free: 2.859 MB / 14.72 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.406e-05/0.004278, allocations: 14.03 kB / 26.47 MB, free: 2.844 MB / 14.72 MB Notification: Performance of setup shared object (initialization): time 3.347e-05/0.004316, allocations: 314.8 kB / 26.77 MB, free: 2.527 MB / 14.72 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.675e-06/0.00433, allocations: 0 / 26.77 MB, free: 2.527 MB / 14.72 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.473e-05/0.004348, allocations: 9.719 kB / 26.78 MB, free: 2.512 MB / 14.72 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.815e-05/0.004371, allocations: 12.8 kB / 26.8 MB, free: 2.496 MB / 14.72 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.004378, allocations: 8.031 kB / 26.8 MB, free: 2.488 MB / 14.72 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.367e-05/0.004457, allocations: 40.94 kB / 26.84 MB, free: 2.445 MB / 14.72 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.004475, allocations: 4 kB / 26.85 MB, free: 2.441 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.004484, allocations: 4 kB / 26.85 MB, free: 2.438 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.004499, allocations: 0 / 26.85 MB, free: 2.438 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.914e-05/0.004542, allocations: 0 / 26.85 MB, free: 2.438 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.004551, allocations: 2.266 kB / 26.85 MB, free: 2.438 MB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.245e-05/0.004568, allocations: 0 / 26.85 MB, free: 2.438 MB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.004577, allocations: 4 kB / 26.86 MB, free: 2.434 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 4.437e-05/0.004625, allocations: 189.6 kB / 27.04 MB, free: 2.238 MB / 14.72 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.503e-05/0.004666, allocations: 108.9 kB / 27.15 MB, free: 2.125 MB / 14.72 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.06e-05/0.004692, allocations: 104.5 kB / 27.25 MB, free: 2.012 MB / 14.72 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.925e-05/0.004716, allocations: 187.5 kB / 27.43 MB, free: 1.824 MB / 14.72 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.17e-05/0.004742, allocations: 180.2 kB / 27.61 MB, free: 1.641 MB / 14.72 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.83e-05/0.004765, allocations: 176.3 kB / 27.78 MB, free: 1.461 MB / 14.72 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.004884, allocations: 416.3 kB / 28.19 MB, free: 1 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/0.004902, allocations: 101 kB / 28.29 MB, free: 0.8945 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.184e-05/0.004919, allocations: 101 kB / 28.39 MB, free: 0.7891 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.042e-05/0.004943, allocations: 180.2 kB / 28.56 MB, free: 0.6055 MB / 14.72 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.004971, allocations: 184.4 kB / 28.74 MB, free: 428 kB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-05/0.004998, allocations: 188.2 kB / 28.93 MB, free: 232 kB / 14.72 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.268e-05/0.005026, allocations: 183.4 kB / 29.1 MB, free: 44 kB / 14.72 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004716/0.009747, allocations: 307.1 kB / 29.4 MB, free: 3.762 MB / 14.72 MB Notification: Performance of postOpt removeConstants (simulation): time 2.751e-05/0.009792, allocations: 188.7 kB / 29.59 MB, free: 3.562 MB / 14.72 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.009826, allocations: 179.8 kB / 29.76 MB, free: 3.383 MB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.662e-05/0.009878, allocations: 103.4 kB / 29.87 MB, free: 3.277 MB / 14.72 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.452e-05/0.009909, allocations: 185.3 kB / 30.05 MB, free: 3.098 MB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.009925, allocations: 103.8 kB / 30.15 MB, free: 2.992 MB / 14.72 MB Notification: Performance of sorting global known variables: time 2.425e-05/0.009954, allocations: 78.5 kB / 30.22 MB, free: 2.918 MB / 14.72 MB Notification: Performance of sort global known variables: time 1.41e-07/0.009959, allocations: 0.75 kB / 30.23 MB, free: 2.918 MB / 14.72 MB Notification: Performance of remove unused functions: time 0.0002968/0.01026, allocations: 39.62 kB / 30.26 MB, free: 2.918 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.002002/0.01227, allocations: 1.198 MB / 31.46 MB, free: 1.898 MB / 14.72 MB Notification: Performance of simCode: created initialization part: time 7.168e-05/0.01236, allocations: 9.578 kB / 31.47 MB, free: 1.895 MB / 14.72 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01236, allocations: 0 / 31.47 MB, free: 1.895 MB / 14.72 MB Notification: Performance of simCode: created simulation system equations: time 2.184e-06/0.01237, allocations: 0 / 31.47 MB, free: 1.895 MB / 14.72 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.01266, allocations: 458.8 kB / 31.92 MB, free: 1.449 MB / 14.72 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003194/0.01299, allocations: 200.8 kB / 32.12 MB, free: 1.238 MB / 14.72 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.194e-05/0.01307, allocations: 0.6729 MB / 32.79 MB, free: 0.543 MB / 14.72 MB Notification: Performance of simCode: alias equations: time 1.465e-05/0.01309, allocations: 7.125 kB / 32.8 MB, free: 0.5391 MB / 14.72 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.074e-05/0.01311, allocations: 7.438 kB / 32.8 MB, free: 0.5312 MB / 14.72 MB Notification: Performance of SimCode: time 4.21e-07/0.01311, allocations: 0 / 32.8 MB, free: 0.5312 MB / 14.72 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01919/0.03231, allocations: 2.534 MB / 35.34 MB, free: 3.309 MB / 19.63 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.932/7.964, allocations: 5.75 kB / 35.34 MB, free: 3.305 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)