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.01707/0.01707, allocations: 327.2 kB / 15.82 MB, free: 5.516 MB / 14.72 MB Notification: Performance of FrontEnd - loaded program: time 0.0003873/0.0003874, allocations: 7.984 kB / 22.74 MB, free: 56 kB / 14.72 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.00761/0.008019, allocations: 84.69 kB / 22.83 MB, free: 5.332 MB / 14.72 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.001878/0.009919, allocations: 377.4 kB / 23.19 MB, free: 5.238 MB / 14.72 MB Notification: Performance of NFInst.instExpressions: time 0.0008851/0.01083, allocations: 346.8 kB / 23.53 MB, free: 5.086 MB / 14.72 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.455e-05/0.01089, allocations: 0 / 23.53 MB, free: 5.086 MB / 14.72 MB Notification: Performance of NFTyping.typeComponents: time 1.958e-05/0.01096, allocations: 0 / 23.53 MB, free: 5.086 MB / 14.72 MB Notification: Performance of NFTyping.typeBindings: time 4.192e-05/0.01101, allocations: 1.312 kB / 23.53 MB, free: 5.086 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.0007278/0.01174, allocations: 112.7 kB / 23.64 MB, free: 5.039 MB / 14.72 MB Notification: Performance of NFFlatten.flatten: time 5.927e-05/0.01181, allocations: 1.594 kB / 23.65 MB, free: 5.039 MB / 14.72 MB Notification: Performance of NFFlatten.resolveConnections: time 7.338e-05/0.01189, allocations: 5.172 kB / 23.65 MB, free: 5.039 MB / 14.72 MB Notification: Performance of NFEvalConstants.evaluate: time 2.323e-05/0.01192, allocations: 0 / 23.65 MB, free: 5.039 MB / 14.72 MB Notification: Performance of NFSimplifyModel.simplify: time 2.31e-05/0.01195, allocations: 1.375 kB / 23.65 MB, free: 5.039 MB / 14.72 MB Notification: Performance of NFPackage.collectConstants: time 7.043e-06/0.01196, allocations: 4 kB / 23.66 MB, free: 5.035 MB / 14.72 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004028/0.01237, allocations: 136.3 kB / 23.79 MB, free: 5 MB / 14.72 MB Notification: Performance of NFScalarize.scalarize: time 1.105e-05/0.01239, allocations: 3.984 kB / 23.79 MB, free: 4.996 MB / 14.72 MB Notification: Performance of NFVerifyModel.verify: time 2.079e-05/0.01242, allocations: 0 / 23.79 MB, free: 4.996 MB / 14.72 MB Notification: Performance of NFConvertDAE.convert: time 0.0003062/0.01273, allocations: 118.9 kB / 23.91 MB, free: 4.953 MB / 14.72 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.01275, allocations: 3.938 kB / 23.91 MB, free: 4.949 MB / 14.72 MB Notification: Performance of FrontEnd: time 1.483e-06/0.01275, allocations: 0 / 23.91 MB, free: 4.949 MB / 14.72 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.01277, allocations: 0 / 23.91 MB, free: 4.949 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.0004011/0.01317, allocations: 382.8 kB / 24.29 MB, free: 4.531 MB / 14.72 MB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.01323, allocations: 10.89 kB / 24.3 MB, free: 4.527 MB / 14.72 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.75e-05/0.01329, allocations: 4.906 kB / 24.3 MB, free: 4.527 MB / 14.72 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.949e-05/0.01338, allocations: 162.5 kB / 24.46 MB, free: 4.332 MB / 14.72 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.0134, allocations: 4.359 kB / 24.47 MB, free: 4.328 MB / 14.72 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.01342, allocations: 384 / 24.47 MB, free: 4.328 MB / 14.72 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.01357, allocations: 34.67 kB / 24.5 MB, free: 4.293 MB / 14.72 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.01359, allocations: 192 / 24.5 MB, free: 4.293 MB / 14.72 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.01361, allocations: 3.938 kB / 24.5 MB, free: 4.289 MB / 14.72 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.01362, allocations: 0 / 24.5 MB, free: 4.289 MB / 14.72 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.117e-05/0.01366, allocations: 3.875 kB / 24.51 MB, free: 4.289 MB / 14.72 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003501/0.01401, allocations: 378.7 kB / 24.88 MB, free: 3.871 MB / 14.72 MB Notification: Performance of preOpt comSubExp (simulation): time 8.376e-05/0.01411, allocations: 177 kB / 25.05 MB, free: 3.691 MB / 14.72 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.842e-05/0.01414, allocations: 82.7 kB / 25.13 MB, free: 3.609 MB / 14.72 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.01417, allocations: 75.28 kB / 25.2 MB, free: 3.535 MB / 14.72 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.01421, allocations: 109.8 kB / 25.31 MB, free: 3.418 MB / 14.72 MB Notification: Performance of pre-optimization done (n=0): time 1.864e-06/0.01422, allocations: 2.016 kB / 25.31 MB, free: 3.418 MB / 14.72 MB Notification: Performance of matching and sorting (n=0): time 0.0001023/0.01432, allocations: 29.64 kB / 25.34 MB, free: 3.387 MB / 14.72 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.01438, allocations: 130.6 kB / 25.47 MB, free: 3.246 MB / 14.72 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.457e-05/0.01448, allocations: 92.52 kB / 25.56 MB, free: 3.148 MB / 14.72 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.0145, allocations: 25.7 kB / 25.59 MB, free: 3.117 MB / 14.72 MB Notification: Performance of collectInitialEqns (initialization): time 4.421e-05/0.01454, allocations: 81.98 kB / 25.67 MB, free: 3.035 MB / 14.72 MB Notification: Performance of collectInitialBindings (initialization): time 3.326e-06/0.01456, allocations: 7.969 kB / 25.67 MB, free: 3.031 MB / 14.72 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/0.01459, allocations: 14.8 kB / 25.69 MB, free: 3.012 MB / 14.72 MB Notification: Performance of setup shared object (initialization): time 6.982e-05/0.01467, allocations: 317.3 kB / 26 MB, free: 2.695 MB / 14.72 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.267e-05/0.01469, allocations: 4.094 kB / 26 MB, free: 2.691 MB / 14.72 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.123e-05/0.01472, allocations: 9.75 kB / 26.01 MB, free: 2.676 MB / 14.72 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.747e-05/0.01476, allocations: 12.86 kB / 26.02 MB, free: 2.66 MB / 14.72 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.01476, allocations: 4.094 kB / 26.03 MB, free: 2.656 MB / 14.72 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001118/0.01488, allocations: 37.02 kB / 26.06 MB, free: 2.617 MB / 14.72 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.0149, allocations: 4 kB / 26.07 MB, free: 2.613 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.01492, allocations: 3.984 kB / 26.07 MB, free: 2.609 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.01494, allocations: 0 / 26.07 MB, free: 2.609 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.123e-05/0.01501, allocations: 4 kB / 26.08 MB, free: 2.605 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.01503, allocations: 3.938 kB / 26.08 MB, free: 2.602 MB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.696e-05/0.01505, allocations: 3.062 kB / 26.08 MB, free: 2.602 MB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.01506, allocations: 0 / 26.08 MB, free: 2.602 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 8.845e-05/0.01515, allocations: 193.6 kB / 26.27 MB, free: 2.402 MB / 14.72 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.977e-05/0.01521, allocations: 101 kB / 26.37 MB, free: 2.297 MB / 14.72 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.621e-05/0.01525, allocations: 111.3 kB / 26.48 MB, free: 2.176 MB / 14.72 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.942e-05/0.01529, allocations: 184.2 kB / 26.66 MB, free: 1.988 MB / 14.72 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.267e-05/0.01534, allocations: 181.6 kB / 26.84 MB, free: 1.805 MB / 14.72 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.893e-05/0.01539, allocations: 184.2 kB / 27.02 MB, free: 1.617 MB / 14.72 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.01556, allocations: 404.7 kB / 27.41 MB, free: 1.168 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.101e-05/0.01559, allocations: 105 kB / 27.51 MB, free: 1.059 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.502e-05/0.01562, allocations: 104.9 kB / 27.62 MB, free: 0.9492 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-05/0.01566, allocations: 176.3 kB / 27.79 MB, free: 0.7695 MB / 14.72 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.501e-05/0.01571, allocations: 180.2 kB / 27.96 MB, free: 0.5859 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.415e-05/0.01577, allocations: 187.8 kB / 28.15 MB, free: 408 kB / 14.72 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.535e-05/0.01583, allocations: 184.2 kB / 28.33 MB, free: 216 kB / 14.72 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.016, allocations: 303.5 kB / 28.62 MB, free: 4.844 MB / 19.67 MB Notification: Performance of postOpt removeConstants (simulation): time 9.874e-05/0.0161, allocations: 182 kB / 28.8 MB, free: 4.641 MB / 19.67 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/0.01625, allocations: 192.3 kB / 28.99 MB, free: 4.445 MB / 19.67 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.737e-05/0.01635, allocations: 104.9 kB / 29.09 MB, free: 4.336 MB / 19.67 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.583e-05/0.01645, allocations: 184.2 kB / 29.27 MB, free: 4.148 MB / 19.67 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.251e-05/0.0165, allocations: 101.9 kB / 29.37 MB, free: 4.043 MB / 19.67 MB Notification: Performance of sorting global known variables: time 3.827e-05/0.01654, allocations: 78.41 kB / 29.45 MB, free: 3.969 MB / 19.67 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01655, allocations: 0 / 29.45 MB, free: 3.969 MB / 19.67 MB Notification: Performance of remove unused functions: time 0.0003738/0.01693, allocations: 42.98 kB / 29.49 MB, free: 3.934 MB / 19.67 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.001489/0.01842, allocations: 0.5672 MB / 30.06 MB, free: 3.371 MB / 19.67 MB Notification: Performance of simCode: created initialization part: time 0.0001082/0.01854, allocations: 4 kB / 30.06 MB, free: 3.367 MB / 19.67 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.01855, allocations: 0 / 30.06 MB, free: 3.367 MB / 19.67 MB Notification: Performance of simCode: created simulation system equations: time 1.844e-06/0.01856, allocations: 0 / 30.06 MB, free: 3.367 MB / 19.67 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.01899, allocations: 463.7 kB / 30.51 MB, free: 2.91 MB / 19.67 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002334/0.01923, allocations: 159.8 kB / 30.67 MB, free: 2.723 MB / 19.67 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.0195, allocations: 0.6731 MB / 31.34 MB, free: 2.023 MB / 19.67 MB Notification: Performance of simCode: alias equations: time 1.328e-05/0.01952, allocations: 0 / 31.34 MB, free: 2.023 MB / 19.67 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.486e-05/0.01954, allocations: 7.438 kB / 31.35 MB, free: 2.016 MB / 19.67 MB Notification: Performance of SimCode: time 5.01e-07/0.01954, allocations: 0 / 31.35 MB, free: 2.016 MB / 19.67 MB Notification: Performance of Templates: time 0.005184/0.02473, allocations: 1.669 MB / 33.02 MB, free: 360 kB / 19.67 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 -lv LOG_STATS > MessagePack_MessagePack.Examples.TestCreateAndReadFile.pipe 2>&1)