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: translateModel(MessagePack.Examples.TestCreateAndReadFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="MessagePack_MessagePack.Examples.TestCreateAndReadFile") translateModel(MessagePack.Examples.TestCreateAndReadFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="MessagePack_MessagePack.Examples.TestCreateAndReadFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.1.1-master/package.mo): time 0.00266/0.00266, allocations: 344 kB / 16.59 MB, free: 5.898 MB / 14.72 MB Notification: Performance of FrontEnd - loaded program: time 0.0003251/0.0003252, allocations: 17.39 kB / 24.15 MB, free: 5.477 MB / 14.72 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.000167/0.0005067, allocations: 91.7 kB / 24.24 MB, free: 5.422 MB / 14.72 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.001211/0.001725, allocations: 365.5 kB / 24.6 MB, free: 5.184 MB / 14.72 MB Notification: Performance of NFInst.instExpressions: time 0.0005732/0.002311, allocations: 356.3 kB / 24.95 MB, free: 4.898 MB / 14.72 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.43e-05/0.002346, allocations: 0 / 24.95 MB, free: 4.898 MB / 14.72 MB Notification: Performance of NFTyping.typeComponents: time 1.457e-05/0.002387, allocations: 0 / 24.95 MB, free: 4.898 MB / 14.72 MB Notification: Performance of NFTyping.typeBindings: time 2.673e-05/0.002419, allocations: 0 / 24.95 MB, free: 4.898 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.0004103/0.002833, allocations: 107.4 kB / 25.05 MB, free: 4.812 MB / 14.72 MB Notification: Performance of NFFlatten.flatten: time 3.32e-05/0.002874, allocations: 7.938 kB / 25.06 MB, free: 4.805 MB / 14.72 MB Notification: Performance of NFFlatten.resolveConnections: time 4.217e-05/0.002921, allocations: 7.172 kB / 25.07 MB, free: 4.801 MB / 14.72 MB Notification: Performance of NFEvalConstants.evaluate: time 1.263e-05/0.002939, allocations: 3.984 kB / 25.07 MB, free: 4.797 MB / 14.72 MB Notification: Performance of NFSimplifyModel.simplify: time 1.281e-05/0.002956, allocations: 2.406 kB / 25.07 MB, free: 4.797 MB / 14.72 MB Notification: Performance of NFPackage.collectConstants: time 4.339e-06/0.002965, allocations: 0 / 25.07 MB, free: 4.797 MB / 14.72 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001913/0.003161, allocations: 135.7 kB / 25.2 MB, free: 4.695 MB / 14.72 MB Notification: Performance of NFScalarize.scalarize: time 6.101e-06/0.003175, allocations: 4 kB / 25.21 MB, free: 4.691 MB / 14.72 MB Notification: Performance of NFVerifyModel.verify: time 1.245e-05/0.003192, allocations: 0 / 25.21 MB, free: 4.691 MB / 14.72 MB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.00337, allocations: 124 kB / 25.33 MB, free: 4.594 MB / 14.72 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.003381, allocations: 0 / 25.33 MB, free: 4.594 MB / 14.72 MB Notification: Performance of FrontEnd: time 5.61e-07/0.003386, allocations: 3.938 kB / 25.33 MB, free: 4.59 MB / 14.72 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.003395, allocations: 0 / 25.33 MB, free: 4.59 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.0002284/0.003628, allocations: 384.9 kB / 25.71 MB, free: 4.156 MB / 14.72 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.003666, allocations: 8.328 kB / 25.72 MB, free: 4.148 MB / 14.72 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.697e-05/0.003698, allocations: 1.094 kB / 25.72 MB, free: 4.148 MB / 14.72 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.499e-05/0.003748, allocations: 164.4 kB / 25.88 MB, free: 3.949 MB / 14.72 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.003763, allocations: 8.375 kB / 25.89 MB, free: 3.941 MB / 14.72 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.906e-06/0.003776, allocations: 384 / 25.89 MB, free: 3.941 MB / 14.72 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.059e-05/0.003851, allocations: 26.27 kB / 25.91 MB, free: 3.91 MB / 14.72 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.003863, allocations: 192 / 25.91 MB, free: 3.91 MB / 14.72 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.003875, allocations: 3.938 kB / 25.92 MB, free: 3.906 MB / 14.72 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-06/0.003884, allocations: 4 kB / 25.92 MB, free: 3.902 MB / 14.72 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.638e-05/0.003905, allocations: 0 / 25.92 MB, free: 3.902 MB / 14.72 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002017/0.004111, allocations: 393.4 kB / 26.31 MB, free: 3.477 MB / 14.72 MB Notification: Performance of preOpt comSubExp (simulation): time 4.309e-05/0.004163, allocations: 169.1 kB / 26.47 MB, free: 3.301 MB / 14.72 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.598e-05/0.004184, allocations: 80.14 kB / 26.55 MB, free: 3.219 MB / 14.72 MB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.004202, allocations: 75.28 kB / 26.62 MB, free: 3.145 MB / 14.72 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.004225, allocations: 105.8 kB / 26.73 MB, free: 3.031 MB / 14.72 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.004231, allocations: 4 kB / 26.73 MB, free: 3.027 MB / 14.72 MB Notification: Performance of matching and sorting (n=0): time 6.521e-05/0.004301, allocations: 33.8 kB / 26.76 MB, free: 2.988 MB / 14.72 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.00433, allocations: 130.1 kB / 26.89 MB, free: 2.852 MB / 14.72 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.938e-05/0.004385, allocations: 90.02 kB / 26.98 MB, free: 2.754 MB / 14.72 MB Notification: Performance of collectPreVariables (initialization): time 5.79e-06/0.004396, allocations: 25.7 kB / 27 MB, free: 2.723 MB / 14.72 MB Notification: Performance of collectInitialEqns (initialization): time 2.213e-05/0.004423, allocations: 85.84 kB / 27.09 MB, free: 2.637 MB / 14.72 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/0.00443, allocations: 4 kB / 27.09 MB, free: 2.633 MB / 14.72 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.328e-05/0.004458, allocations: 10.94 kB / 27.1 MB, free: 2.617 MB / 14.72 MB Notification: Performance of setup shared object (initialization): time 3.656e-05/0.0045, allocations: 318.2 kB / 27.41 MB, free: 2.301 MB / 14.72 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.115e-06/0.004513, allocations: 8 kB / 27.42 MB, free: 2.293 MB / 14.72 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.53e-05/0.004532, allocations: 9.719 kB / 27.43 MB, free: 2.277 MB / 14.72 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.692e-05/0.004554, allocations: 8.859 kB / 27.44 MB, free: 2.266 MB / 14.72 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.00456, allocations: 0 / 27.44 MB, free: 2.266 MB / 14.72 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.642e-05/0.004641, allocations: 37.58 kB / 27.47 MB, free: 2.223 MB / 14.72 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.00466, allocations: 16.05 kB / 27.49 MB, free: 2.207 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.004669, allocations: 0 / 27.49 MB, free: 2.207 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.004684, allocations: 0 / 27.49 MB, free: 2.207 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.127e-05/0.00473, allocations: 4 kB / 27.49 MB, free: 2.203 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.004739, allocations: 0 / 27.49 MB, free: 2.203 MB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.16e-05/0.004755, allocations: 3.25 kB / 27.5 MB, free: 2.203 MB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-06/0.004763, allocations: 0 / 27.5 MB, free: 2.203 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.425e-05/0.004811, allocations: 189.6 kB / 27.68 MB, free: 2.008 MB / 14.72 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.456e-05/0.004851, allocations: 112.9 kB / 27.79 MB, free: 1.891 MB / 14.72 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.945e-05/0.004875, allocations: 104.5 kB / 27.89 MB, free: 1.777 MB / 14.72 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.94e-05/0.004899, allocations: 180.2 kB / 28.07 MB, free: 1.594 MB / 14.72 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.249e-05/0.004927, allocations: 187.6 kB / 28.25 MB, free: 1.406 MB / 14.72 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.022e-05/0.004952, allocations: 176.3 kB / 28.43 MB, free: 1.227 MB / 14.72 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.005073, allocations: 405.1 kB / 28.82 MB, free: 0.7734 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/0.005093, allocations: 109 kB / 28.93 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.54e-05/0.005113, allocations: 108.4 kB / 29.03 MB, free: 0.5508 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.152e-05/0.005139, allocations: 180.2 kB / 29.21 MB, free: 376 kB / 14.72 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.005169, allocations: 176.8 kB / 29.38 MB, free: 192 kB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.068e-05/0.005194, allocations: 184.2 kB / 29.56 MB, free: 0 / 14.72 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004219/0.009418, allocations: 178.8 kB / 29.74 MB, free: 4.758 MB / 14.72 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.528e-05/0.009483, allocations: 307.8 kB / 30.04 MB, free: 4.449 MB / 14.72 MB Notification: Performance of postOpt removeConstants (simulation): time 2.603e-05/0.009515, allocations: 189.7 kB / 30.22 MB, free: 4.25 MB / 14.72 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/0.009548, allocations: 182.2 kB / 30.4 MB, free: 4.07 MB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.964e-05/0.009603, allocations: 106.3 kB / 30.5 MB, free: 3.965 MB / 14.72 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.177e-05/0.00963, allocations: 180.8 kB / 30.68 MB, free: 3.785 MB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.009647, allocations: 107.4 kB / 30.79 MB, free: 3.68 MB / 14.72 MB Notification: Performance of sorting global known variables: time 1.713e-05/0.009669, allocations: 80.39 kB / 30.86 MB, free: 3.605 MB / 14.72 MB Notification: Performance of sort global known variables: time 1.11e-07/0.009674, allocations: 1.5 kB / 30.87 MB, free: 3.605 MB / 14.72 MB Notification: Performance of remove unused functions: time 0.0003216/0.01, allocations: 42.64 kB / 30.91 MB, free: 3.605 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.0008455/0.01085, allocations: 0.5574 MB / 31.47 MB, free: 3.227 MB / 14.72 MB Notification: Performance of simCode: created initialization part: time 6.032e-05/0.01092, allocations: 2.656 kB / 31.47 MB, free: 3.227 MB / 14.72 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01093, allocations: 0 / 31.47 MB, free: 3.227 MB / 14.72 MB Notification: Performance of simCode: created simulation system equations: time 2.245e-06/0.01094, allocations: 2.125 kB / 31.47 MB, free: 3.227 MB / 14.72 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.01119, allocations: 465.2 kB / 31.92 MB, free: 2.781 MB / 14.72 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001245/0.01132, allocations: 157.4 kB / 32.08 MB, free: 2.609 MB / 14.72 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.6e-05/0.0114, allocations: 0.6731 MB / 32.75 MB, free: 1.91 MB / 14.72 MB Notification: Performance of simCode: alias equations: time 1.47e-05/0.01142, allocations: 0 / 32.75 MB, free: 1.91 MB / 14.72 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.797e-06/0.01144, allocations: 7.438 kB / 32.76 MB, free: 1.902 MB / 14.72 MB Notification: Performance of SimCode: time 2.3e-07/0.01144, allocations: 0 / 32.76 MB, free: 1.902 MB / 14.72 MB Notification: Performance of Templates: time 0.00364/0.01509, allocations: 1.66 MB / 34.42 MB, free: 0.7422 MB / 14.72 MB make -j1 -f MessagePack_MessagePack.Examples.TestCreateAndReadFile.makefile (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 & ./MessagePack_MessagePack.Examples.TestCreateAndReadFile -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > MessagePack_MessagePack.Examples.TestCreateAndReadFile.pipe 2>&1)