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.004196/0.004196, allocations: 328.8 kB / 16.2 MB, free: 5.805 MB / 14.72 MB Notification: Performance of FrontEnd - loaded program: time 0.0004323/0.0004325, allocations: 7.984 kB / 23.01 MB, free: 212 kB / 14.72 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0002986/0.0007557, allocations: 93.89 kB / 23.1 MB, free: 116 kB / 14.72 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.006235/0.007013, allocations: 434 kB / 23.52 MB, free: 5.781 MB / 14.72 MB Notification: Performance of NFInst.instExpressions: time 0.000617/0.007655, allocations: 336.4 kB / 23.85 MB, free: 5.645 MB / 14.72 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.054e-05/0.007693, allocations: 1.031 kB / 23.85 MB, free: 5.645 MB / 14.72 MB Notification: Performance of NFTyping.typeComponents: time 1.542e-05/0.007763, allocations: 0 / 23.85 MB, free: 5.645 MB / 14.72 MB Notification: Performance of NFTyping.typeBindings: time 2.633e-05/0.007797, allocations: 0 / 23.85 MB, free: 5.645 MB / 14.72 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004664/0.008269, allocations: 103.1 kB / 23.95 MB, free: 5.613 MB / 14.72 MB Notification: Performance of NFFlatten.flatten: time 3.771e-05/0.008318, allocations: 7.922 kB / 23.96 MB, free: 5.605 MB / 14.72 MB Notification: Performance of NFFlatten.resolveConnections: time 4.637e-05/0.008372, allocations: 8.094 kB / 23.97 MB, free: 5.602 MB / 14.72 MB Notification: Performance of NFEvalConstants.evaluate: time 1.395e-05/0.008392, allocations: 6.125 kB / 23.98 MB, free: 5.602 MB / 14.72 MB Notification: Performance of NFSimplifyModel.simplify: time 1.35e-05/0.008411, allocations: 1.5 kB / 23.98 MB, free: 5.602 MB / 14.72 MB Notification: Performance of NFPackage.collectConstants: time 4.739e-06/0.00842, allocations: 0 / 23.98 MB, free: 5.602 MB / 14.72 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002746/0.0087, allocations: 133 kB / 24.11 MB, free: 5.582 MB / 14.72 MB Notification: Performance of NFScalarize.scalarize: time 8.045e-06/0.008717, allocations: 0 / 24.11 MB, free: 5.582 MB / 14.72 MB Notification: Performance of NFVerifyModel.verify: time 1.727e-05/0.008738, allocations: 3.984 kB / 24.11 MB, free: 5.578 MB / 14.72 MB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.008926, allocations: 81.83 kB / 24.19 MB, free: 5.539 MB / 14.72 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.008937, allocations: 4 kB / 24.19 MB, free: 5.535 MB / 14.72 MB Notification: Performance of FrontEnd: time 1.552e-06/0.008944, allocations: 4 kB / 24.2 MB, free: 5.531 MB / 14.72 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.008954, allocations: 0 / 24.2 MB, free: 5.531 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.0002616/0.00922, allocations: 381.1 kB / 24.57 MB, free: 5.105 MB / 14.72 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.009265, allocations: 8.328 kB / 24.58 MB, free: 5.098 MB / 14.72 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.009307, allocations: 1.094 kB / 24.58 MB, free: 5.098 MB / 14.72 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.858e-05/0.00937, allocations: 166.5 kB / 24.74 MB, free: 4.898 MB / 14.72 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.009387, allocations: 384 / 24.74 MB, free: 4.898 MB / 14.72 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.009403, allocations: 4.375 kB / 24.75 MB, free: 4.895 MB / 14.72 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.229e-05/0.00949, allocations: 30.27 kB / 24.78 MB, free: 4.859 MB / 14.72 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.009506, allocations: 192 / 24.78 MB, free: 4.859 MB / 14.72 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.009522, allocations: 3.938 kB / 24.78 MB, free: 4.855 MB / 14.72 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.009531, allocations: 0 / 24.78 MB, free: 4.855 MB / 14.72 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.09e-05/0.009556, allocations: 7.25 kB / 24.79 MB, free: 4.852 MB / 14.72 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002222/0.009783, allocations: 375.3 kB / 25.15 MB, free: 4.438 MB / 14.72 MB Notification: Performance of preOpt comSubExp (simulation): time 5.142e-05/0.009843, allocations: 181 kB / 25.33 MB, free: 4.25 MB / 14.72 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.869e-05/0.009868, allocations: 87.73 kB / 25.42 MB, free: 4.164 MB / 14.72 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.009887, allocations: 75.28 kB / 25.49 MB, free: 4.09 MB / 14.72 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.009911, allocations: 105.8 kB / 25.59 MB, free: 3.977 MB / 14.72 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.009917, allocations: 0 / 25.59 MB, free: 3.977 MB / 14.72 MB Notification: Performance of matching and sorting (n=0): time 7.851e-05/0.01, allocations: 37.16 kB / 25.63 MB, free: 3.938 MB / 14.72 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.01003, allocations: 134.7 kB / 25.76 MB, free: 3.793 MB / 14.72 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.913e-05/0.01009, allocations: 90.02 kB / 25.85 MB, free: 3.695 MB / 14.72 MB Notification: Performance of collectPreVariables (initialization): time 6.762e-06/0.0101, allocations: 25.7 kB / 25.87 MB, free: 3.664 MB / 14.72 MB Notification: Performance of collectInitialEqns (initialization): time 2.518e-05/0.01013, allocations: 81.86 kB / 25.95 MB, free: 3.582 MB / 14.72 MB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/0.01014, allocations: 3.938 kB / 25.96 MB, free: 3.578 MB / 14.72 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.636e-05/0.01017, allocations: 18.31 kB / 25.98 MB, free: 3.559 MB / 14.72 MB Notification: Performance of setup shared object (initialization): time 4.473e-05/0.01022, allocations: 310.8 kB / 26.28 MB, free: 3.246 MB / 14.72 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.714e-06/0.01023, allocations: 0 / 26.28 MB, free: 3.246 MB / 14.72 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.963e-05/0.01025, allocations: 21.83 kB / 26.3 MB, free: 3.219 MB / 14.72 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.837e-05/0.01028, allocations: 4.859 kB / 26.31 MB, free: 3.211 MB / 14.72 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.01028, allocations: 0 / 26.31 MB, free: 3.211 MB / 14.72 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.864e-05/0.01038, allocations: 44.89 kB / 26.35 MB, free: 3.164 MB / 14.72 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.0104, allocations: 4 kB / 26.35 MB, free: 3.16 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.01041, allocations: 0 / 26.35 MB, free: 3.16 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.01043, allocations: 0 / 26.35 MB, free: 3.16 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.273e-05/0.01048, allocations: 4.125 kB / 26.36 MB, free: 3.156 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.01049, allocations: 4 kB / 26.36 MB, free: 3.152 MB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.381e-05/0.01051, allocations: 1.062 kB / 26.36 MB, free: 3.152 MB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.01052, allocations: 0 / 26.36 MB, free: 3.152 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.875e-05/0.01057, allocations: 193.9 kB / 26.55 MB, free: 2.953 MB / 14.72 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.966e-05/0.01062, allocations: 105 kB / 26.65 MB, free: 2.844 MB / 14.72 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.891e-05/0.01065, allocations: 108.4 kB / 26.76 MB, free: 2.723 MB / 14.72 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.363e-05/0.01068, allocations: 183.8 kB / 26.94 MB, free: 2.539 MB / 14.72 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.471e-05/0.01071, allocations: 184.2 kB / 27.12 MB, free: 2.352 MB / 14.72 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.121e-05/0.01074, allocations: 176.3 kB / 27.29 MB, free: 2.172 MB / 14.72 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.01087, allocations: 401.2 kB / 27.68 MB, free: 1.723 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-05/0.01089, allocations: 108.1 kB / 27.79 MB, free: 1.613 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.386e-05/0.01091, allocations: 107.9 kB / 27.89 MB, free: 1.504 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-05/0.01094, allocations: 188.2 kB / 28.08 MB, free: 1.312 MB / 14.72 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.968e-05/0.01097, allocations: 180.3 kB / 28.25 MB, free: 1.129 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.327e-05/0.011, allocations: 176.3 kB / 28.43 MB, free: 0.9492 MB / 14.72 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.581e-05/0.01103, allocations: 184.2 kB / 28.61 MB, free: 0.7617 MB / 14.72 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.077e-05/0.0111, allocations: 311.1 kB / 28.91 MB, free: 448 kB / 14.72 MB Notification: Performance of postOpt removeConstants (simulation): time 2.943e-05/0.01114, allocations: 185.3 kB / 29.09 MB, free: 240 kB / 14.72 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.01117, allocations: 176.3 kB / 29.26 MB, free: 56 kB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004973/0.01615, allocations: 102.8 kB / 29.36 MB, free: 4.785 MB / 14.72 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.0162, allocations: 181.4 kB / 29.54 MB, free: 4.605 MB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.01622, allocations: 104.4 kB / 29.64 MB, free: 4.5 MB / 14.72 MB Notification: Performance of sorting global known variables: time 2.945e-05/0.01626, allocations: 79.47 kB / 29.72 MB, free: 4.426 MB / 14.72 MB Notification: Performance of sort global known variables: time 6.81e-07/0.01626, allocations: 0 / 29.72 MB, free: 4.426 MB / 14.72 MB Notification: Performance of remove unused functions: time 0.0002952/0.01656, allocations: 47.41 kB / 29.77 MB, free: 4.426 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.001449/0.01802, allocations: 0.559 MB / 30.33 MB, free: 4.051 MB / 14.72 MB Notification: Performance of simCode: created initialization part: time 7.867e-05/0.01811, allocations: 2.656 kB / 30.33 MB, free: 4.051 MB / 14.72 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.01812, allocations: 0 / 30.33 MB, free: 4.051 MB / 14.72 MB Notification: Performance of simCode: created simulation system equations: time 2.595e-06/0.01813, allocations: 4.766 kB / 30.33 MB, free: 4.051 MB / 14.72 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.01843, allocations: 463.1 kB / 30.78 MB, free: 3.605 MB / 14.72 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001581/0.01859, allocations: 184 kB / 30.96 MB, free: 3.398 MB / 14.72 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.01872, allocations: 0.6733 MB / 31.64 MB, free: 2.703 MB / 14.72 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.25e-05/0.01874, allocations: 7.438 kB / 31.64 MB, free: 2.695 MB / 14.72 MB Notification: Performance of SimCode: time 3.31e-07/0.01874, allocations: 0 / 31.64 MB, free: 2.695 MB / 14.72 MB Notification: Performance of Templates: time 0.003097/0.02185, allocations: 1.802 MB / 33.45 MB, free: 1.215 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 -lv LOG_STATS > MessagePack_MessagePack.Examples.TestCreateAndReadFile.pipe 2>&1)