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.01043/0.01043, allocations: 321.8 kB / 15.29 MB, free: 0.8711 MB / 14.72 MB Notification: Performance of FrontEnd - loaded program: time 1.396e-05/1.409e-05, allocations: 0 / 21.9 MB, free: 1.734 MB / 14.72 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.000188/0.0002209, allocations: 96.88 kB / 22 MB, free: 1.648 MB / 14.72 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.0004067/0.0006366, allocations: 102.8 kB / 22.1 MB, free: 1.566 MB / 14.72 MB Notification: Performance of NFInst.instExpressions: time 0.0005913/0.001239, allocations: 310.5 kB / 22.4 MB, free: 1.266 MB / 14.72 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.941e-05/0.001271, allocations: 0 / 22.4 MB, free: 1.266 MB / 14.72 MB Notification: Performance of NFTyping.typeComponents: time 1.016e-05/0.001286, allocations: 0 / 22.4 MB, free: 1.266 MB / 14.72 MB Notification: Performance of NFTyping.typeBindings: time 3.154e-05/0.001324, allocations: 2.844 kB / 22.4 MB, free: 1.266 MB / 14.72 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004107/0.00174, allocations: 103.8 kB / 22.51 MB, free: 1.164 MB / 14.72 MB Notification: Performance of NFFlatten.flatten: time 3.046e-05/0.00178, allocations: 0 / 22.51 MB, free: 1.164 MB / 14.72 MB Notification: Performance of NFFlatten.resolveConnections: time 4.55e-05/0.001831, allocations: 0 / 22.51 MB, free: 1.164 MB / 14.72 MB Notification: Performance of NFEvalConstants.evaluate: time 1.531e-05/0.001851, allocations: 0 / 22.51 MB, free: 1.164 MB / 14.72 MB Notification: Performance of NFSimplifyModel.simplify: time 1.426e-05/0.00187, allocations: 0 / 22.51 MB, free: 1.164 MB / 14.72 MB Notification: Performance of NFPackage.collectConstants: time 4.689e-06/0.00188, allocations: 0 / 22.51 MB, free: 1.164 MB / 14.72 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002463/0.002131, allocations: 131.8 kB / 22.63 MB, free: 1.035 MB / 14.72 MB Notification: Performance of NFScalarize.scalarize: time 4.769e-06/0.002144, allocations: 0 / 22.63 MB, free: 1.035 MB / 14.72 MB Notification: Performance of NFVerifyModel.verify: time 1.775e-05/0.002167, allocations: 25.7 kB / 22.66 MB, free: 1.004 MB / 14.72 MB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.002332, allocations: 83.83 kB / 22.74 MB, free: 0.9219 MB / 14.72 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.002341, allocations: 0 / 22.74 MB, free: 0.9219 MB / 14.72 MB Notification: Performance of FrontEnd: time 7.02e-07/0.002347, allocations: 0 / 22.74 MB, free: 0.9219 MB / 14.72 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.002355, allocations: 0 / 22.74 MB, free: 0.9219 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.000228/0.002587, allocations: 377.4 kB / 23.11 MB, free: 0.4961 MB / 14.72 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.002645, allocations: 8.297 kB / 23.12 MB, free: 500 kB / 14.72 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.002684, allocations: 1.016 kB / 23.12 MB, free: 500 kB / 14.72 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.611e-05/0.002746, allocations: 168.3 kB / 23.28 MB, free: 292 kB / 14.72 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.002761, allocations: 352 / 23.28 MB, free: 292 kB / 14.72 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.002777, allocations: 352 / 23.28 MB, free: 292 kB / 14.72 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.31e-05/0.002855, allocations: 30.22 kB / 23.31 MB, free: 256 kB / 14.72 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.002869, allocations: 4.109 kB / 23.32 MB, free: 252 kB / 14.72 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.002883, allocations: 352 / 23.32 MB, free: 252 kB / 14.72 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.002892, allocations: 3.953 kB / 23.32 MB, free: 248 kB / 14.72 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.597e-05/0.002912, allocations: 0.9844 kB / 23.32 MB, free: 248 kB / 14.72 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006208/0.009125, allocations: 379.7 kB / 23.69 MB, free: 5.375 MB / 14.72 MB Notification: Performance of preOpt comSubExp (simulation): time 5.009e-05/0.009197, allocations: 165.8 kB / 23.85 MB, free: 5.203 MB / 14.72 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.834e-05/0.009223, allocations: 82.22 kB / 23.94 MB, free: 5.121 MB / 14.72 MB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.009241, allocations: 80.72 kB / 24.01 MB, free: 5.047 MB / 14.72 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.00927, allocations: 112.1 kB / 24.12 MB, free: 4.934 MB / 14.72 MB Notification: Performance of pre-optimization done (n=0): time 1.353e-06/0.009277, allocations: 0 / 24.12 MB, free: 4.934 MB / 14.72 MB Notification: Performance of matching and sorting (n=0): time 6.886e-05/0.009351, allocations: 32.55 kB / 24.16 MB, free: 4.902 MB / 14.72 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.009392, allocations: 131 kB / 24.28 MB, free: 4.766 MB / 14.72 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.976e-05/0.009458, allocations: 96.72 kB / 24.38 MB, free: 4.668 MB / 14.72 MB Notification: Performance of collectPreVariables (initialization): time 7.925e-06/0.009472, allocations: 26.8 kB / 24.4 MB, free: 4.637 MB / 14.72 MB Notification: Performance of collectInitialEqns (initialization): time 2.832e-05/0.009505, allocations: 86.19 kB / 24.49 MB, free: 4.555 MB / 14.72 MB Notification: Performance of collectInitialBindings (initialization): time 2.635e-06/0.009514, allocations: 2.75 kB / 24.49 MB, free: 4.555 MB / 14.72 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.043e-06/0.00952, allocations: 0 / 24.49 MB, free: 4.555 MB / 14.72 MB Notification: Performance of setup shared object (initialization): time 4.356e-05/0.009568, allocations: 313.7 kB / 24.8 MB, free: 4.242 MB / 14.72 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.645e-06/0.009581, allocations: 0.875 kB / 24.8 MB, free: 4.242 MB / 14.72 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.037e-05/0.009606, allocations: 16 kB / 24.81 MB, free: 4.227 MB / 14.72 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.038e-05/0.009631, allocations: 2.219 kB / 24.82 MB, free: 4.227 MB / 14.72 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.009638, allocations: 2.953 kB / 24.82 MB, free: 4.227 MB / 14.72 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.688e-05/0.00973, allocations: 37.59 kB / 24.86 MB, free: 4.195 MB / 14.72 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.009752, allocations: 5.219 kB / 24.86 MB, free: 4.195 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.009763, allocations: 3.812 kB / 24.86 MB, free: 4.195 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.009781, allocations: 5.031 kB / 24.87 MB, free: 4.195 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.106e-05/0.009836, allocations: 14.34 kB / 24.88 MB, free: 4.191 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.009848, allocations: 0 / 24.88 MB, free: 4.191 MB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.228e-05/0.009865, allocations: 1.469 kB / 24.88 MB, free: 4.191 MB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.009874, allocations: 0 / 24.88 MB, free: 4.191 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.635e-05/0.009935, allocations: 185.5 kB / 25.07 MB, free: 4.004 MB / 14.72 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.565e-05/0.009976, allocations: 107.8 kB / 25.17 MB, free: 3.898 MB / 14.72 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.484e-05/0.01001, allocations: 112.5 kB / 25.28 MB, free: 3.781 MB / 14.72 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.472e-05/0.01004, allocations: 179.3 kB / 25.46 MB, free: 3.602 MB / 14.72 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.814e-05/0.01007, allocations: 187.1 kB / 25.64 MB, free: 3.418 MB / 14.72 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-05/0.0101, allocations: 179.9 kB / 25.81 MB, free: 3.238 MB / 14.72 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.01023, allocations: 398.2 kB / 26.2 MB, free: 2.797 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.56e-05/0.01025, allocations: 105.8 kB / 26.31 MB, free: 2.691 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.493e-05/0.01027, allocations: 109.2 kB / 26.41 MB, free: 2.582 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.563e-05/0.0103, allocations: 179.8 kB / 26.59 MB, free: 2.402 MB / 14.72 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.848e-05/0.01034, allocations: 182.8 kB / 26.77 MB, free: 2.219 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.591e-05/0.01037, allocations: 180.2 kB / 26.94 MB, free: 2.039 MB / 14.72 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-05/0.0104, allocations: 184.2 kB / 27.12 MB, free: 1.852 MB / 14.72 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.245e-05/0.01047, allocations: 309 kB / 27.42 MB, free: 1.535 MB / 14.72 MB Notification: Performance of postOpt removeConstants (simulation): time 3.785e-05/0.01052, allocations: 184.5 kB / 27.6 MB, free: 1.332 MB / 14.72 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.551e-05/0.01056, allocations: 179.1 kB / 27.78 MB, free: 1.152 MB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.58e-05/0.01063, allocations: 107 kB / 27.88 MB, free: 1.043 MB / 14.72 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/0.01067, allocations: 184.6 kB / 28.06 MB, free: 0.8594 MB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.01069, allocations: 104 kB / 28.17 MB, free: 0.7539 MB / 14.72 MB Notification: Performance of sorting global known variables: time 1.837e-05/0.01071, allocations: 76.81 kB / 28.24 MB, free: 0.6797 MB / 14.72 MB Notification: Performance of sort global known variables: time 9e-08/0.01072, allocations: 0 / 28.24 MB, free: 0.6797 MB / 14.72 MB Notification: Performance of remove unused functions: time 0.0003408/0.01106, allocations: 52.77 kB / 28.29 MB, free: 0.6758 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009215/0.01199, allocations: 0.5661 MB / 28.86 MB, free: 248 kB / 14.72 MB Notification: Performance of simCode: created initialization part: time 7.402e-05/0.01208, allocations: 8.469 kB / 28.87 MB, free: 244 kB / 14.72 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.01209, allocations: 0 / 28.87 MB, free: 244 kB / 14.72 MB Notification: Performance of simCode: created simulation system equations: time 2.284e-06/0.01209, allocations: 4.75 kB / 28.87 MB, free: 240 kB / 14.72 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.0124, allocations: 0.5155 MB / 29.39 MB, free: 4.664 MB / 19.67 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001747/0.01258, allocations: 150.4 kB / 29.53 MB, free: 4.492 MB / 19.67 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002104/0.01281, allocations: 0.6794 MB / 30.21 MB, free: 3.793 MB / 19.67 MB Notification: Performance of simCode: alias equations: time 1.463e-05/0.01283, allocations: 3.875 kB / 30.22 MB, free: 3.793 MB / 19.67 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.101e-05/0.01284, allocations: 7.438 kB / 30.22 MB, free: 3.785 MB / 19.67 MB Notification: Performance of SimCode: time 3e-07/0.01285, allocations: 0 / 30.22 MB, free: 3.785 MB / 19.67 MB Notification: Performance of Templates: time 0.004221/0.01707, allocations: 1.631 MB / 31.86 MB, free: 2.594 MB / 19.67 MB make -j1 -f MessagePack_MessagePack.Examples.TestCreateAndReadFile.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: